update method creates or updates a Chargeback. object. This method is rarely used, because Vindicia usually creates and updates chargebacks by retrieving them directly from your payment processor, and updating their status during the dispute process.
You may also call Chargeback.report() to create one or more chargebacks in the Vindicia database. To create or update a single chargeback and immediately discover if the call succeeds or fails, call update(). The report() method processes data asynchronously, which means that even if you successfully submit a chargeback with a batch report() call but an error occurs during processing, you are not immediately aware of the error.
To create a Chargeback object, initialize the object and set the values for its data members, as appropriate, and then call update() to store the changes. When creating a new Chargeback object, do not set a value for VID because Subscribe automatically generates that when you call update(). When updating an existing Chargeback object, identify it with its VID.
Input
srd: sparse response description, a SOAP string (which must be a JSON object), in which you specify the elements you want returned.This parameter enables the calling system to constrain amethod call to return only components you specify. This gives you greater control over returned content, and improves response time within the Vindicia platform by reducing the processing needed for the call.
Some fields are required, either practically or in the WSDL, and will be returned regardless of the srd. A null srd returns the complete response.
chargeback: the Chargeback object to create or update. To update an object, identify it with its VID.
Output
return: an object of typeReturn that indicates the success or failure of the call.
chargeback: the Chargeback object that was created or updated.
created: a Boolean flag that, if set to true, indicates that this method has created a new Chargeback object. A false setting indicates that update has updated an existing Chargeback object.

