Documentation ¶
Index ¶
Constants ¶
View Source
const ( TRANSACTION_STATUS_SCHEDULED = "scheduled" TRANSACTION_STATUS_ERROR_SCHEDULED = "error_scheduled" TRANSACTION_STATUS_INSUFFICIENT_FUNDS = "insufficient_funds" TRANSACTION_STATUS_PAYER_PAYEE_SAME = "payer_payee_same" TRANSACTION_STATUS_DONE = "done" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transaction ¶
func NewTransactionScheduled ¶
func NewTransactionScheduled(Payer Payer, Payee Payee, Amount uint) Transaction
func (*Transaction) SetStatusDone ¶
func (t *Transaction) SetStatusDone()
func (*Transaction) SetStatusErrorScheduled ¶
func (t *Transaction) SetStatusErrorScheduled()
func (*Transaction) SetStatusInsufficientFunds ¶
func (t *Transaction) SetStatusInsufficientFunds()
func (*Transaction) SetStatusPayerPayeeSame ¶
func (t *Transaction) SetStatusPayerPayeeSame()
Click to show internal directories.
Click to hide internal directories.