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) ReferralDiscountFactorForParty(arg0 types.PartyID) decimal.Decimal
- func (m *MockReferralDiscountRewardService) RewardsFactorMultiplierAppliedForParty(arg0 types.PartyID) decimal.Decimal
- type MockReferralDiscountRewardServiceMockRecorder
- func (mr *MockReferralDiscountRewardServiceMockRecorder) GetReferrer(arg0 interface{}) *gomock.Call
- func (mr *MockReferralDiscountRewardServiceMockRecorder) ReferralDiscountFactorForParty(arg0 interface{}) *gomock.Call
- func (mr *MockReferralDiscountRewardServiceMockRecorder) RewardsFactorMultiplierAppliedForParty(arg0 interface{}) *gomock.Call
- type MockVolumeDiscountService
- type MockVolumeDiscountServiceMockRecorder
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) ReferralDiscountFactorForParty ¶
func (m *MockReferralDiscountRewardService) ReferralDiscountFactorForParty(arg0 types.PartyID) decimal.Decimal
ReferralDiscountFactorForParty mocks base method.
func (*MockReferralDiscountRewardService) RewardsFactorMultiplierAppliedForParty ¶
func (m *MockReferralDiscountRewardService) RewardsFactorMultiplierAppliedForParty(arg0 types.PartyID) decimal.Decimal
RewardsFactorMultiplierAppliedForParty 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) ReferralDiscountFactorForParty ¶
func (mr *MockReferralDiscountRewardServiceMockRecorder) ReferralDiscountFactorForParty(arg0 interface{}) *gomock.Call
ReferralDiscountFactorForParty indicates an expected call of ReferralDiscountFactorForParty.
func (*MockReferralDiscountRewardServiceMockRecorder) RewardsFactorMultiplierAppliedForParty ¶
func (mr *MockReferralDiscountRewardServiceMockRecorder) RewardsFactorMultiplierAppliedForParty(arg0 interface{}) *gomock.Call
RewardsFactorMultiplierAppliedForParty indicates an expected call of RewardsFactorMultiplierAppliedForParty.
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) decimal.Decimal
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.