Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockReferralDiscountRewardService
- func (m *MockReferralDiscountRewardService) EXPECT() *MockReferralDiscountRewardServiceMockRecorder
- func (m *MockReferralDiscountRewardService) GetReferrer(arg0 types.PartyID) (types.PartyID, error)
- func (m *MockReferralDiscountRewardService) ReferralDiscountFactorsForParty(arg0 types.PartyID) types.Factors
- func (m *MockReferralDiscountRewardService) RewardsFactorsMultiplierAppliedForParty(arg0 types.PartyID) types.Factors
- type MockReferralDiscountRewardServiceMockRecorder
- func (mr *MockReferralDiscountRewardServiceMockRecorder) GetReferrer(arg0 interface{}) *gomock.Call
- func (mr *MockReferralDiscountRewardServiceMockRecorder) ReferralDiscountFactorsForParty(arg0 interface{}) *gomock.Call
- func (mr *MockReferralDiscountRewardServiceMockRecorder) RewardsFactorsMultiplierAppliedForParty(arg0 interface{}) *gomock.Call
- type MockVolumeDiscountService
- type MockVolumeDiscountServiceMockRecorder
- type MockVolumeRebateService
- type MockVolumeRebateServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockReferralDiscountRewardService ¶
type MockReferralDiscountRewardService struct {
// contains filtered or unexported fields
}
MockReferralDiscountRewardService is a mock of ReferralDiscountRewardService interface.
func NewMockReferralDiscountRewardService ¶
func NewMockReferralDiscountRewardService(ctrl *gomock.Controller) *MockReferralDiscountRewardService
NewMockReferralDiscountRewardService creates a new mock instance.
func (*MockReferralDiscountRewardService) EXPECT ¶
func (m *MockReferralDiscountRewardService) EXPECT() *MockReferralDiscountRewardServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReferralDiscountRewardService) GetReferrer ¶
GetReferrer mocks base method.
func (*MockReferralDiscountRewardService) ReferralDiscountFactorsForParty ¶ added in v0.77.8
func (m *MockReferralDiscountRewardService) ReferralDiscountFactorsForParty(arg0 types.PartyID) types.Factors
ReferralDiscountFactorsForParty mocks base method.
func (*MockReferralDiscountRewardService) RewardsFactorsMultiplierAppliedForParty ¶ added in v0.77.8
func (m *MockReferralDiscountRewardService) RewardsFactorsMultiplierAppliedForParty(arg0 types.PartyID) types.Factors
RewardsFactorsMultiplierAppliedForParty mocks base method.
type MockReferralDiscountRewardServiceMockRecorder ¶
type MockReferralDiscountRewardServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockReferralDiscountRewardServiceMockRecorder is the mock recorder for MockReferralDiscountRewardService.
func (*MockReferralDiscountRewardServiceMockRecorder) GetReferrer ¶
func (mr *MockReferralDiscountRewardServiceMockRecorder) GetReferrer(arg0 interface{}) *gomock.Call
GetReferrer indicates an expected call of GetReferrer.
func (*MockReferralDiscountRewardServiceMockRecorder) ReferralDiscountFactorsForParty ¶ added in v0.77.8
func (mr *MockReferralDiscountRewardServiceMockRecorder) ReferralDiscountFactorsForParty(arg0 interface{}) *gomock.Call
ReferralDiscountFactorsForParty indicates an expected call of ReferralDiscountFactorsForParty.
func (*MockReferralDiscountRewardServiceMockRecorder) RewardsFactorsMultiplierAppliedForParty ¶ added in v0.77.8
func (mr *MockReferralDiscountRewardServiceMockRecorder) RewardsFactorsMultiplierAppliedForParty(arg0 interface{}) *gomock.Call
RewardsFactorsMultiplierAppliedForParty indicates an expected call of RewardsFactorsMultiplierAppliedForParty.
type MockVolumeDiscountService ¶
type MockVolumeDiscountService struct {
// contains filtered or unexported fields
}
MockVolumeDiscountService is a mock of VolumeDiscountService interface.
func NewMockVolumeDiscountService ¶
func NewMockVolumeDiscountService(ctrl *gomock.Controller) *MockVolumeDiscountService
NewMockVolumeDiscountService creates a new mock instance.
func (*MockVolumeDiscountService) EXPECT ¶
func (m *MockVolumeDiscountService) EXPECT() *MockVolumeDiscountServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVolumeDiscountService) VolumeDiscountFactorForParty ¶
func (m *MockVolumeDiscountService) VolumeDiscountFactorForParty(arg0 types.PartyID) types.Factors
VolumeDiscountFactorForParty mocks base method.
type MockVolumeDiscountServiceMockRecorder ¶
type MockVolumeDiscountServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockVolumeDiscountServiceMockRecorder is the mock recorder for MockVolumeDiscountService.
func (*MockVolumeDiscountServiceMockRecorder) VolumeDiscountFactorForParty ¶
func (mr *MockVolumeDiscountServiceMockRecorder) VolumeDiscountFactorForParty(arg0 interface{}) *gomock.Call
VolumeDiscountFactorForParty indicates an expected call of VolumeDiscountFactorForParty.
type MockVolumeRebateService ¶ added in v0.77.8
type MockVolumeRebateService struct {
// contains filtered or unexported fields
}
MockVolumeRebateService is a mock of VolumeRebateService interface.
func NewMockVolumeRebateService ¶ added in v0.77.8
func NewMockVolumeRebateService(ctrl *gomock.Controller) *MockVolumeRebateService
NewMockVolumeRebateService creates a new mock instance.
func (*MockVolumeRebateService) EXPECT ¶ added in v0.77.8
func (m *MockVolumeRebateService) EXPECT() *MockVolumeRebateServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVolumeRebateService) VolumeRebateFactorForParty ¶ added in v0.77.8
func (m *MockVolumeRebateService) VolumeRebateFactorForParty(arg0 types.PartyID) decimal.Decimal
VolumeRebateFactorForParty mocks base method.
type MockVolumeRebateServiceMockRecorder ¶ added in v0.77.8
type MockVolumeRebateServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockVolumeRebateServiceMockRecorder is the mock recorder for MockVolumeRebateService.
func (*MockVolumeRebateServiceMockRecorder) VolumeRebateFactorForParty ¶ added in v0.77.8
func (mr *MockVolumeRebateServiceMockRecorder) VolumeRebateFactorForParty(arg0 interface{}) *gomock.Call
VolumeRebateFactorForParty indicates an expected call of VolumeRebateFactorForParty.