Documentation ¶
Index ¶
- type PixUseCase
- type TransactionUseCase
- func (t *TransactionUseCase) Complete(transactionId string) (*model.Transaction, error)
- func (t *TransactionUseCase) Confirm(transactionId string) (*model.Transaction, error)
- func (t *TransactionUseCase) Error(transactionId string, reason string) (*model.Transaction, error)
- func (t *TransactionUseCase) Register(accountId string, amount float64, pixKeyTo string, pixKeyKindTo string, ...) (*model.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PixUseCase ¶
type PixUseCase struct {
PixKeyRepository model.PixKeyRepositoryInterface
}
func (*PixUseCase) RegisterKey ¶
type TransactionUseCase ¶
type TransactionUseCase struct { TransactionRepository model.TransactionRepositoryInterface PixRepository model.PixKeyRepositoryInterface }
func (*TransactionUseCase) Complete ¶
func (t *TransactionUseCase) Complete(transactionId string) (*model.Transaction, error)
func (*TransactionUseCase) Confirm ¶
func (t *TransactionUseCase) Confirm(transactionId string) (*model.Transaction, error)
func (*TransactionUseCase) Error ¶
func (t *TransactionUseCase) Error(transactionId string, reason string) (*model.Transaction, error)
Click to show internal directories.
Click to hide internal directories.