repository

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: 5 Imported by: 0

Documentation

Overview

Package mock_repository is a generated GoMock package.

Package mock_repository is a generated GoMock package.

Package mock_repository is a generated GoMock package.

Package mock_repository is a generated GoMock package.

Package mock_repository is a generated GoMock package.

Package mock_repository is a generated GoMock package.

Package mock_repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCashbackPersister

type MockCashbackPersister struct {
	// contains filtered or unexported fields
}

MockCashbackPersister is a mock of CashbackPersister interface.

func NewMockCashbackPersister

func NewMockCashbackPersister(ctrl *gomock.Controller) *MockCashbackPersister

NewMockCashbackPersister creates a new mock instance.

func (*MockCashbackPersister) Add

Add mocks base method.

func (*MockCashbackPersister) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockCashbackPersisterMockRecorder

type MockCashbackPersisterMockRecorder struct {
	// contains filtered or unexported fields
}

MockCashbackPersisterMockRecorder is the mock recorder for MockCashbackPersister.

func (*MockCashbackPersisterMockRecorder) Add

func (mr *MockCashbackPersisterMockRecorder) Add(cashback interface{}) *gomock.Call

Add indicates an expected call of Add.

type MockH2HPersister

type MockH2HPersister struct {
	// contains filtered or unexported fields
}

MockH2HPersister is a mock of H2HPersister interface.

func NewMockH2HPersister

func NewMockH2HPersister(ctrl *gomock.Controller) *MockH2HPersister

NewMockH2HPersister creates a new mock instance.

func (*MockH2HPersister) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockH2HPersister) Pricelists

Pricelists mocks base method.

func (*MockH2HPersister) Providers

func (m *MockH2HPersister) Providers() ([]model.H2HProvider, *model.TechnicalError)

Providers mocks base method.

type MockH2HPersisterMockRecorder

type MockH2HPersisterMockRecorder struct {
	// contains filtered or unexported fields
}

MockH2HPersisterMockRecorder is the mock recorder for MockH2HPersister.

func (*MockH2HPersisterMockRecorder) Pricelists

func (mr *MockH2HPersisterMockRecorder) Pricelists() *gomock.Call

Pricelists indicates an expected call of Pricelists.

func (*MockH2HPersisterMockRecorder) Providers

func (mr *MockH2HPersisterMockRecorder) Providers() *gomock.Call

Providers indicates an expected call of Providers.

type MockParamPersister

type MockParamPersister struct {
	// contains filtered or unexported fields
}

MockParamPersister is a mock of ParamPersister interface.

func NewMockParamPersister

func NewMockParamPersister(ctrl *gomock.Controller) *MockParamPersister

NewMockParamPersister creates a new mock instance.

func (*MockParamPersister) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockParamPersister) FindByParamGroup

func (m *MockParamPersister) FindByParamGroup(g string) ([]*model.Parameter, *model.TechnicalError)

FindByParamGroup mocks base method.

type MockParamPersisterMockRecorder

type MockParamPersisterMockRecorder struct {
	// contains filtered or unexported fields
}

MockParamPersisterMockRecorder is the mock recorder for MockParamPersister.

func (*MockParamPersisterMockRecorder) FindByParamGroup

func (mr *MockParamPersisterMockRecorder) FindByParamGroup(g interface{}) *gomock.Call

FindByParamGroup indicates an expected call of FindByParamGroup.

type MockPartnerPersister

type MockPartnerPersister struct {
	// contains filtered or unexported fields
}

MockPartnerPersister is a mock of PartnerPersister interface.

func NewMockPartnerPersister

func NewMockPartnerPersister(ctrl *gomock.Controller) *MockPartnerPersister

NewMockPartnerPersister creates a new mock instance.

func (*MockPartnerPersister) Add

Add mocks base method.

func (*MockPartnerPersister) CountByIdentifier

func (m_2 *MockPartnerPersister) CountByIdentifier(m model.Partner) (*int, *model.TechnicalError)

CountByIdentifier mocks base method.

func (*MockPartnerPersister) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPartnerPersister) FindActiveByCodeAndApiKey

func (m *MockPartnerPersister) FindActiveByCodeAndApiKey(code, key string) (*model.Partner, *model.TechnicalError)

FindActiveByCodeAndApiKey mocks base method.

func (*MockPartnerPersister) FindActiveByEmail

func (m *MockPartnerPersister) FindActiveByEmail(email string) (*model.Partner, *model.TechnicalError)

FindActiveByEmail mocks base method.

type MockPartnerPersisterMockRecorder

type MockPartnerPersisterMockRecorder struct {
	// contains filtered or unexported fields
}

MockPartnerPersisterMockRecorder is the mock recorder for MockPartnerPersister.

func (*MockPartnerPersisterMockRecorder) Add

func (mr *MockPartnerPersisterMockRecorder) Add(m interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockPartnerPersisterMockRecorder) CountByIdentifier

func (mr *MockPartnerPersisterMockRecorder) CountByIdentifier(m interface{}) *gomock.Call

CountByIdentifier indicates an expected call of CountByIdentifier.

func (*MockPartnerPersisterMockRecorder) FindActiveByCodeAndApiKey

func (mr *MockPartnerPersisterMockRecorder) FindActiveByCodeAndApiKey(code, key interface{}) *gomock.Call

FindActiveByCodeAndApiKey indicates an expected call of FindActiveByCodeAndApiKey.

func (*MockPartnerPersisterMockRecorder) FindActiveByEmail

func (mr *MockPartnerPersisterMockRecorder) FindActiveByEmail(email interface{}) *gomock.Call

FindActiveByEmail indicates an expected call of FindActiveByEmail.

type MockTierPersister

type MockTierPersister struct {
	// contains filtered or unexported fields
}

MockTierPersister is a mock of TierPersister interface.

func NewMockTierPersister

func NewMockTierPersister(ctrl *gomock.Controller) *MockTierPersister

NewMockTierPersister creates a new mock instance.

func (*MockTierPersister) Add

Add mocks base method.

func (*MockTierPersister) CountExpire

func (m *MockTierPersister) CountExpire() (*int, *model.TechnicalError)

CountExpire mocks base method.

func (*MockTierPersister) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTierPersister) Expire

func (m *MockTierPersister) Expire(expired time.Time) *model.TechnicalError

Expire mocks base method.

func (*MockTierPersister) FindByPartnerMsisdn

func (m *MockTierPersister) FindByPartnerMsisdn(pid int64, msisdn string) (*model.Tier, *model.TechnicalError)

FindByPartnerMsisdn mocks base method.

func (*MockTierPersister) Update

func (m *MockTierPersister) Update(tier model.Tier) *model.TechnicalError

Update mocks base method.

type MockTierPersisterMockRecorder

type MockTierPersisterMockRecorder struct {
	// contains filtered or unexported fields
}

MockTierPersisterMockRecorder is the mock recorder for MockTierPersister.

func (*MockTierPersisterMockRecorder) Add

func (mr *MockTierPersisterMockRecorder) Add(tier interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockTierPersisterMockRecorder) CountExpire

func (mr *MockTierPersisterMockRecorder) CountExpire() *gomock.Call

CountExpire indicates an expected call of CountExpire.

func (*MockTierPersisterMockRecorder) Expire

func (mr *MockTierPersisterMockRecorder) Expire(expired interface{}) *gomock.Call

Expire indicates an expected call of Expire.

func (*MockTierPersisterMockRecorder) FindByPartnerMsisdn

func (mr *MockTierPersisterMockRecorder) FindByPartnerMsisdn(pid, msisdn interface{}) *gomock.Call

FindByPartnerMsisdn indicates an expected call of FindByPartnerMsisdn.

func (*MockTierPersisterMockRecorder) Update

func (mr *MockTierPersisterMockRecorder) Update(tier interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockTransactionPersister

type MockTransactionPersister struct {
	// contains filtered or unexported fields
}

MockTransactionPersister is a mock of TransactionPersister interface.

func NewMockTransactionPersister

func NewMockTransactionPersister(ctrl *gomock.Controller) *MockTransactionPersister

NewMockTransactionPersister creates a new mock instance.

func (*MockTransactionPersister) Add

Add mocks base method.

func (*MockTransactionPersister) CountByPartner

func (m *MockTransactionPersister) CountByPartner(inp *model.SearchRequest) (*int, *model.TechnicalError)

CountByPartner mocks base method.

func (*MockTransactionPersister) DetailByPartner

DetailByPartner mocks base method.

func (*MockTransactionPersister) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTransactionPersister) SearchByPartner

SearchByPartner mocks base method.

type MockTransactionPersisterMockRecorder

type MockTransactionPersisterMockRecorder struct {
	// contains filtered or unexported fields
}

MockTransactionPersisterMockRecorder is the mock recorder for MockTransactionPersister.

func (*MockTransactionPersisterMockRecorder) Add

func (mr *MockTransactionPersisterMockRecorder) Add(trx interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockTransactionPersisterMockRecorder) CountByPartner

func (mr *MockTransactionPersisterMockRecorder) CountByPartner(inp interface{}) *gomock.Call

CountByPartner indicates an expected call of CountByPartner.

func (*MockTransactionPersisterMockRecorder) DetailByPartner

func (mr *MockTransactionPersisterMockRecorder) DetailByPartner(inp interface{}) *gomock.Call

DetailByPartner indicates an expected call of DetailByPartner.

func (*MockTransactionPersisterMockRecorder) SearchByPartner

func (mr *MockTransactionPersisterMockRecorder) SearchByPartner(inp interface{}) *gomock.Call

SearchByPartner indicates an expected call of SearchByPartner.

type MockWorkflowPersister

type MockWorkflowPersister struct {
	// contains filtered or unexported fields
}

MockWorkflowPersister is a mock of WorkflowPersister interface.

func NewMockWorkflowPersister

func NewMockWorkflowPersister(ctrl *gomock.Controller) *MockWorkflowPersister

NewMockWorkflowPersister creates a new mock instance.

func (*MockWorkflowPersister) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWorkflowPersister) FindCashbackByTransaction

func (m *MockWorkflowPersister) FindCashbackByTransaction(qty int, trx decimal.Decimal) (*decimal.Decimal, *model.TechnicalError)

FindCashbackByTransaction mocks base method.

func (*MockWorkflowPersister) FindRewardTiers

FindRewardTiers mocks base method.

type MockWorkflowPersisterMockRecorder

type MockWorkflowPersisterMockRecorder struct {
	// contains filtered or unexported fields
}

MockWorkflowPersisterMockRecorder is the mock recorder for MockWorkflowPersister.

func (*MockWorkflowPersisterMockRecorder) FindCashbackByTransaction

func (mr *MockWorkflowPersisterMockRecorder) FindCashbackByTransaction(qty, trx interface{}) *gomock.Call

FindCashbackByTransaction indicates an expected call of FindCashbackByTransaction.

func (*MockWorkflowPersisterMockRecorder) FindRewardTiers

func (mr *MockWorkflowPersisterMockRecorder) FindRewardTiers() *gomock.Call

FindRewardTiers indicates an expected call of FindRewardTiers.

Jump to

Keyboard shortcuts

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