mocks

package
v0.74.0-preview.11 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

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

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.

Jump to

Keyboard shortcuts

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