Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface {
CreateTransaction(ctx context.Context, transaction Transaction) (interface{}, error)
}
type Service ¶
type Service interface {
CreateTransaction(ctx context.Context, transaction Transaction) (string, error)
}
type Transaction ¶
type Transaction struct { Id string `ion:"Id"` TrackingId string `ion:"TrackingId"` Notes string `ion:"Notes"` TransactionValue Value `ion:"TransactionValue"` SourceAccountId string `ion:"SourceAccountId"` BallastAccountId string `ion:"BallastAccountId"` MetadataId string `ion:"MetadataId"` TransactionType string `ion:"TransactionType"` DestinationHolder string `ion:"DestinationHolder"` CreationDateTime time.Time `ion:"CreationDateTime" type:"timestamp"` }
Click to show internal directories.
Click to hide internal directories.