init(posID : String, location: Location?, capabilities: [PeripheralCapability ], invoice: Invoice?)
Initialize a TransactionBuilder with the specified POS ID and available peripheral capabilities. Optionally, an
Invoice
can be attached to the resulting Transaction
When the Invoice is provided here, the invoice reference is used to set the Transaction.reference
and the total gross amount is used to set the Transaction.amount