Methods
create() → {Promise}
Create a transaction with this creator.
- Source:
Returns:
a promise, which will be fulfilled with a Transaction or rejected with a PMError.
- Type
- Promise
withClient(client) → {TransactionService.Creator}
Add a client
Parameters:
Name | Type | Description |
---|---|---|
client |
string | Client |
- Source:
Returns:
the same creator
withDescription(description) → {TransactionService.Creator}
Add a description
Parameters:
Name | Type | Description |
---|---|---|
description |
string |
- Source:
Returns:
the same creator
withFeeAmount(fee_amount) → {TransactionService.Creator}
Add a fee amount
Parameters:
Name | Type | Description |
---|---|---|
fee_amount |
string | Client |
- Source:
Returns:
the same creator
withFeeCurrency(fee_currency) → {TransactionService.Creator}
Add a fee currency
Parameters:
Name | Type | Description |
---|---|---|
fee_currency |
string |
- Source:
Returns:
the same creator
withFeePayment(client) → {TransactionService.Creator}
Add a fee payment
Parameters:
Name | Type | Description |
---|---|---|
client |
string | Client |
- Source:
Returns:
the same creator
withMandateReference(mandate_reference) → {TransactionService.Creator}
Add a mandate reference
Parameters:
Name | Type | Description |
---|---|---|
mandate_reference |
string |
- Source:
Returns:
the same creator