Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
func NewFactory ¶
func (Factory) SendCashback ¶
func (f Factory) SendCashback(inp *model.H2HSendCashbackRequest) (*model.H2HTransactionResponse, *model.BusinessError)
type FactoryProvider ¶
type FactoryProvider interface {
SendCashback(inp *model.H2HSendCashbackRequest) (*model.TransactionResponse, *model.BusinessError)
}
func NewGopaid ¶
func NewGopaid(gopaid Gopaid) FactoryProvider
func NewJosvo ¶
func NewJosvo(josvo Josvo) FactoryProvider
func NewLinksaja ¶
func NewLinksaja(linksaja Linksaja) FactoryProvider
func NewMiddletrans ¶
func NewMiddletrans(middletrans Middletrans) FactoryProvider
func NewXenit ¶
func NewXenit(xenit Xenit) FactoryProvider
type Gopaid ¶
type Gopaid struct {
adaptor.GopaidAdapter
}
func (*Gopaid) SendCashback ¶
func (g *Gopaid) SendCashback(inp *model.H2HSendCashbackRequest) (*model.TransactionResponse, *model.BusinessError)
type Josvo ¶
type Josvo struct {
adaptor.JosvoAdapter
}
func (*Josvo) SendCashback ¶
func (j *Josvo) SendCashback(inp *model.H2HSendCashbackRequest) (*model.TransactionResponse, *model.BusinessError)
type Linksaja ¶
func (*Linksaja) SendCashback ¶
func (l *Linksaja) SendCashback(inp *model.H2HSendCashbackRequest) (*model.TransactionResponse, *model.BusinessError)
type Middletrans ¶
type Middletrans struct {
adaptor.MiddletransAdapter
}
func (*Middletrans) SendCashback ¶
func (m *Middletrans) SendCashback(inp *model.H2HSendCashbackRequest) (*model.TransactionResponse, *model.BusinessError)
type Xenit ¶
type Xenit struct {
adaptor.XenitAdapter
}
func (*Xenit) SendCashback ¶
func (x *Xenit) SendCashback(inp *model.H2HSendCashbackRequest) (*model.TransactionResponse, *model.BusinessError)
Click to show internal directories.
Click to hide internal directories.