Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Onboard ¶
type Onboard struct { Dao repository.PartnerPersister CiamWatcher adaptor.CiamWatcher Cacher storage.Cacher Logger *zap.Logger AuthTTL time.Duration }
func (*Onboard) Authenticate ¶
func (o *Onboard) Authenticate(inp *model.ClientAuthenticationRequest) (*model.ClientAuthenticationResponse, *model.BusinessError)
type OnboardProvider ¶
type OnboardProvider interface {
Authenticate(inp *model.ClientAuthenticationRequest) (*model.ClientAuthenticationResponse, *model.BusinessError)
}
func NewOnboard ¶
func NewOnboard(o Onboard) OnboardProvider
type Transaction ¶
type Transaction struct { TransactionDao repository.TransactionPersister CashbackDao repository.CashbackPersister TierDao repository.TierPersister workflow.TierProvider workflow.CashbackProvider h2h.Factory SqsAdapter adaptor.SQSAdapter Cacher storage.Cacher QueueNotificationEmailInvoice *string Logger *zap.Logger }
func (*Transaction) Add ¶
func (t *Transaction) Add(inp *model.TransactionRequest) (*model.TransactionResponse, *model.BusinessError)
func (*Transaction) Tier ¶
func (t *Transaction) Tier(inp *model.SessionRequest) (*model.TransactionTierResponse, *model.BusinessError)
type TransactionProvider ¶
type TransactionProvider interface { Add(inp *model.TransactionRequest) (*model.TransactionResponse, *model.BusinessError) Tier(inp *model.SessionRequest) (*model.TransactionTierResponse, *model.BusinessError) }
func NewTransaction ¶
func NewTransaction(t Transaction) TransactionProvider
Click to show internal directories.
Click to hide internal directories.