Documentation ¶
Overview ¶
Package mock_reputation is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetReputationSummary(ctx context.Context, paymentID uuid.UUID) (reputation.RepSummaryResponse, error)
- func (m *MockClient) IsDrainReputable(ctx context.Context, id, promotionID uuid.UUID, withdrawAmount decimal.Decimal) (bool, []int, error)
- func (m *MockClient) IsLinkingReputable(ctx context.Context, id uuid.UUID, country string) (bool, []int, error)
- func (m *MockClient) IsWalletAdsReputable(ctx context.Context, id uuid.UUID, platform string) (bool, error)
- func (m *MockClient) IsWalletOnPlatform(ctx context.Context, id uuid.UUID, platform string) (bool, error)
- func (m *MockClient) IsWalletReputable(ctx context.Context, id uuid.UUID, platform string) (bool, error)
- func (m *MockClient) UpdateReputationSummary(ctx context.Context, paymentID string, verifiedWallet bool) error
- func (m *MockClient) UpsertReputationSummary(ctx context.Context, paymentID, geoCountry string) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) GetReputationSummary(ctx, paymentID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IsDrainReputable(ctx, id, promotionID, withdrawAmount interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IsLinkingReputable(ctx, id, country interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IsWalletAdsReputable(ctx, id, platform interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IsWalletOnPlatform(ctx, id, platform interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IsWalletReputable(ctx, id, platform interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateReputationSummary(ctx, paymentID, verifiedWallet interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpsertReputationSummary(ctx, paymentID, geoCountry interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetReputationSummary ¶
func (m *MockClient) GetReputationSummary(ctx context.Context, paymentID uuid.UUID) (reputation.RepSummaryResponse, error)
GetReputationSummary mocks base method.
func (*MockClient) IsDrainReputable ¶
func (m *MockClient) IsDrainReputable(ctx context.Context, id, promotionID uuid.UUID, withdrawAmount decimal.Decimal) (bool, []int, error)
IsDrainReputable mocks base method.
func (*MockClient) IsLinkingReputable ¶
func (m *MockClient) IsLinkingReputable(ctx context.Context, id uuid.UUID, country string) (bool, []int, error)
IsLinkingReputable mocks base method.
func (*MockClient) IsWalletAdsReputable ¶
func (m *MockClient) IsWalletAdsReputable(ctx context.Context, id uuid.UUID, platform string) (bool, error)
IsWalletAdsReputable mocks base method.
func (*MockClient) IsWalletOnPlatform ¶
func (m *MockClient) IsWalletOnPlatform(ctx context.Context, id uuid.UUID, platform string) (bool, error)
IsWalletOnPlatform mocks base method.
func (*MockClient) IsWalletReputable ¶
func (m *MockClient) IsWalletReputable(ctx context.Context, id uuid.UUID, platform string) (bool, error)
IsWalletReputable mocks base method.
func (*MockClient) UpdateReputationSummary ¶
func (m *MockClient) UpdateReputationSummary(ctx context.Context, paymentID string, verifiedWallet bool) error
UpdateReputationSummary mocks base method.
func (*MockClient) UpsertReputationSummary ¶
func (m *MockClient) UpsertReputationSummary(ctx context.Context, paymentID, geoCountry string) error
UpsertReputationSummary mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) GetReputationSummary ¶
func (mr *MockClientMockRecorder) GetReputationSummary(ctx, paymentID interface{}) *gomock.Call
GetReputationSummary indicates an expected call of GetReputationSummary.
func (*MockClientMockRecorder) IsDrainReputable ¶
func (mr *MockClientMockRecorder) IsDrainReputable(ctx, id, promotionID, withdrawAmount interface{}) *gomock.Call
IsDrainReputable indicates an expected call of IsDrainReputable.
func (*MockClientMockRecorder) IsLinkingReputable ¶
func (mr *MockClientMockRecorder) IsLinkingReputable(ctx, id, country interface{}) *gomock.Call
IsLinkingReputable indicates an expected call of IsLinkingReputable.
func (*MockClientMockRecorder) IsWalletAdsReputable ¶
func (mr *MockClientMockRecorder) IsWalletAdsReputable(ctx, id, platform interface{}) *gomock.Call
IsWalletAdsReputable indicates an expected call of IsWalletAdsReputable.
func (*MockClientMockRecorder) IsWalletOnPlatform ¶
func (mr *MockClientMockRecorder) IsWalletOnPlatform(ctx, id, platform interface{}) *gomock.Call
IsWalletOnPlatform indicates an expected call of IsWalletOnPlatform.
func (*MockClientMockRecorder) IsWalletReputable ¶
func (mr *MockClientMockRecorder) IsWalletReputable(ctx, id, platform interface{}) *gomock.Call
IsWalletReputable indicates an expected call of IsWalletReputable.
func (*MockClientMockRecorder) UpdateReputationSummary ¶
func (mr *MockClientMockRecorder) UpdateReputationSummary(ctx, paymentID, verifiedWallet interface{}) *gomock.Call
UpdateReputationSummary indicates an expected call of UpdateReputationSummary.
func (*MockClientMockRecorder) UpsertReputationSummary ¶
func (mr *MockClientMockRecorder) UpsertReputationSummary(ctx, paymentID, geoCountry interface{}) *gomock.Call
UpsertReputationSummary indicates an expected call of UpsertReputationSummary.