Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cashback ¶
type Cashback struct { Dao repository.WorkflowPersister Logger *zap.Logger }
func (*Cashback) FindCashbackAmount ¶
func (c *Cashback) FindCashbackAmount(inp *model.FindCashbackRequest) (*model.FindCashbackResponse, *model.BusinessError)
type CashbackProvider ¶
type CashbackProvider interface {
FindCashbackAmount(inp *model.FindCashbackRequest) (*model.FindCashbackResponse, *model.BusinessError)
}
func NewCashback ¶
func NewCashback(c Cashback) CashbackProvider
type Tier ¶
type Tier struct { Dao repository.TierPersister Cacher storage.Cacher ExpiryDuration time.Duration Logger *zap.Logger }
func (Tier) Save ¶
func (t Tier) Save(inp *model.TierRequest) (*model.WfRewardTierProjection, *model.TechnicalError)
type TierProvider ¶
type TierProvider interface {
Save(inp *model.TierRequest) (*model.WfRewardTierProjection, *model.TechnicalError)
}
func NewTier ¶
func NewTier(t Tier) TierProvider
Click to show internal directories.
Click to hide internal directories.