CreateAndSend Method
Creates an invoice and sends it to the payer.
Syntax
[VB.NET] Public Sub CreateAndSend()
[C#] public void CreateAndSend();
Remarks
This method is used to create an invoice and send it to the payer.
InvoiceInfo is used to specify the details (such as amounts, dates, and terms) of the invoice. InvoiceItems is used to specify items that are to be included on invoice. MerchantInfo, BillingInfo, and ShippingInfo are used to describe the contact information about the parties involved in the transaction that the invoice pertains to.
After calling this method, the Ack property will indicate success or failure.
NOTE: This method has a corresponding asynchronous version (CreateAndSendAsync) for use in the WinRT environment.