SecureWallet.createInvoice

Create a new invoice which can be send to a payee

struct SecureWallet(Net : SecureNet)
static pure
createInvoice
(
string label
,
TagionCurrency amount
,)

Parameters

label string

Name of the invoice

amount TagionCurrency

Amount

info Document

Invoice information

Return Value

Type: Invoice

The created invoice