RecordPayment() public method

Marks the status of a specified invoice, by ID, as paid. Include a payment detail object that defines the payment method and other details in the JSON request body.
public RecordPayment ( APIContext apiContext, PaymentDetail paymentDetail ) : void
apiContext APIContext APIContext used for the API call.
paymentDetail PaymentDetail PaymentDetail
return void
示例#1
0
 /// <summary>
 /// Marks the status of a specified invoice, by ID, as paid. Include a payment detail object that defines the payment method and other details in the JSON request body.
 /// </summary>
 /// <param name="apiContext">APIContext used for the API call.</param>
 /// <param name="paymentDetail">PaymentDetail</param>
 public void RecordPayment(APIContext apiContext, PaymentDetail paymentDetail)
 {
     Invoice.RecordPayment(apiContext, this.id, paymentDetail);
 }