Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Schedule ¶ added in v1.4.0
type Schedule interface { // Returns Schedule. Returns nil if not found Get(txId string) (*entity.Schedule, error) Create(entity *entity.Schedule) error UpdateStatusCompleted(txId string) error UpdateStatusFailed(txId string) error GetReceiverTransferByTransactionID(id string) (*entity.Schedule, error) GetAllSubmittedIds() ([]*entity.Schedule, error) }
type Transfer ¶
type Transfer interface { // Returns Transfer. Returns nil if not found GetByTransactionId(txId string) (*entity.Transfer, error) // Returns Transfer with preloaded Fee table. Returns nil if not found GetWithFee(txId string) (*entity.Transfer, error) GetWithPreloads(txId string) (*entity.Transfer, error) UpdateFee(txId string, fee string) error Create(ct *payload.Transfer) (*entity.Transfer, error) UpdateStatusCompleted(txId string) error UpdateStatusFailed(txId string) error Paged(req *transfer.PagedRequest) ([]*entity.Transfer, int64, error) }
Click to show internal directories.
Click to hide internal directories.