Versions in this module Expand all Collapse all v1 v1.0.0 Jan 8, 2023 Changes in this version + type Factory struct + func NewFactory(f Factory) Factory + func (f Factory) SendCashback(inp *model.H2HSendCashbackRequest) (*model.H2HTransactionResponse, *model.BusinessError) + type FactoryProvider interface + SendCashback func(inp *model.H2HSendCashbackRequest) (*model.TransactionResponse, *model.BusinessError) + func NewGopaid(gopaid Gopaid) FactoryProvider + func NewJosvo(josvo Josvo) FactoryProvider + func NewLinksaja(linksaja Linksaja) FactoryProvider + func NewMiddletrans(middletrans Middletrans) FactoryProvider + func NewXenit(xenit Xenit) FactoryProvider + type Gopaid struct + func (g *Gopaid) SendCashback(inp *model.H2HSendCashbackRequest) (*model.TransactionResponse, *model.BusinessError) + type Josvo struct + func (j *Josvo) SendCashback(inp *model.H2HSendCashbackRequest) (*model.TransactionResponse, *model.BusinessError) + type Linksaja struct + TokenTTL time.Duration + func (l *Linksaja) SendCashback(inp *model.H2HSendCashbackRequest) (*model.TransactionResponse, *model.BusinessError) + type Middletrans struct + func (m *Middletrans) SendCashback(inp *model.H2HSendCashbackRequest) (*model.TransactionResponse, *model.BusinessError) + type Xenit struct + func (x *Xenit) SendCashback(inp *model.H2HSendCashbackRequest) (*model.TransactionResponse, *model.BusinessError)