PayPal.Api.Invoice.Send C# (CSharp) Method

Send() public method

Sends an invoice, by ID, to a customer.
Note: After you send an invoice, you cannot resend it.

Optionally, set the `notify_merchant` query parameter to also send the merchant an invoice update notification. Default is `true`.
public Send ( APIContext apiContext, bool notifyMerchant = true ) : void
apiContext APIContext APIContext used for the API call.
notifyMerchant bool Indicates whether to send the invoice update notification to the merchant. Default is `true`.
return void
        public void Send(APIContext apiContext, bool notifyMerchant = true)
        {
            Invoice.Send(apiContext, this.id, notifyMerchant);
        }

Same methods

Invoice::Send ( APIContext apiContext, string invoiceId, bool notifyMerchant = true ) : void

Usage Example

コード例 #1
0
 /// <summary>
 /// Sends an invoice, by ID, to a customer.<blockquote><strong>Note:</strong> After you send an invoice, you cannot resend it.</blockquote><br/>Optionally, set the `notify_merchant` query parameter to also send the merchant an invoice update notification. Default is `true`.
 /// </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>
 public void Send(APIContext apiContext, bool notifyMerchant = true)
 {
     Invoice.Send(apiContext, this.id, notifyMerchant);
 }
All Usage Examples Of PayPal.Api.Invoice::Send