Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transaction ¶
type Transaction struct { ID string AccountID string Amount float64 Status string ErrorMessage string }
func NewTransaction ¶
func NewTransaction() *Transaction
func (*Transaction) IsValid ¶
func (t *Transaction) IsValid() error
Click to show internal directories.
Click to hide internal directories.