public static Update ( |
||
apiContext | APIContext used for the API call. | |
invoice | Invoice object to update. | |
notifyMerchant | bool | Specifies if the invoice update notification is needed for merchant |
return |
/// <summary> /// Fully updates an invoice, by ID. In the JSON request body, include a complete `invoice` object. This call does not support partial updates. /// </summary> /// <param name="apiContext">APIContext used for the API call.</param> /// <param name="notifyMerchant">Indicates whether to send the invoice update notification to the merchant. Default is `true`.</param> /// <returns>Invoice</returns> public Invoice Update(APIContext apiContext, bool notifyMerchant = true) { return(Invoice.Update(apiContext, this, notifyMerchant)); }