Update() public method

Partially updates a payment, by ID. You can update the amount, shipping address, invoice ID, and custom data. You cannot use patch after execute has been called.
public Update ( APIContext apiContext, PatchRequest patchRequest ) : void
apiContext APIContext APIContext used for the API call.
patchRequest PatchRequest PatchRequest
return void
Example #1
0
 /// <summary>
 /// Partially update the Payment resource for the given identifier
 /// </summary>
 /// <param name="apiContext">APIContext used for the API call.</param>
 /// <param name="patchRequest">PatchRequest</param>
 public void Update(APIContext apiContext, PatchRequest patchRequest)
 {
     Payment.Update(apiContext, this.id, patchRequest);
 }