client

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2023 License: GPL-2.0 Imports: 15 Imported by: 0

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
}

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 (*Transaction) Tier

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL