Facades: pos, merchant
Overview
Create an invoice.
Parameters
| Parameter | Description |
|---|---|
| Invoice | BitPay generated Invoice object. |
Example
NoteIn this example, we assume that a Client has already been initialized and assigned to the
bitpayvariable.
Invoice invoice = new Invoice(100.0, Currency.USD);
invoice = bitpay.createInvoice(invoice);Invoice invoice = new Invoice(100.0, Currency.USD);
invoice = bitpay.createInvoice(invoice, Facade.POS, false);