mocks

package
v0.0.0-...-838a961 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CurrencyRatesService

type CurrencyRatesService struct {
	mock.Mock
}

CurrencyRatesService is an autogenerated mock type for the CurrencyRatesService type

func NewCurrencyRatesService

func NewCurrencyRatesService(t mockConstructorTestingTNewCurrencyRatesService) *CurrencyRatesService

NewCurrencyRatesService creates a new instance of CurrencyRatesService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*CurrencyRatesService) AddCommonRateCorrectionRule

AddCommonRateCorrectionRule provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) AddMerchantRateCorrectionRule

func (_m *CurrencyRatesService) AddMerchantRateCorrectionRule(ctx context.Context, in *currenciespb.CorrectionRule, opts ...client.CallOption) (*currenciespb.EmptyResponse, error)

AddMerchantRateCorrectionRule provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) ExchangeCurrencyByDateCommon

ExchangeCurrencyByDateCommon provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) ExchangeCurrencyByDateForMerchant

ExchangeCurrencyByDateForMerchant provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) ExchangeCurrencyCurrentCommon

ExchangeCurrencyCurrentCommon provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) ExchangeCurrencyCurrentForMerchant

ExchangeCurrencyCurrentForMerchant provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) GetAccountingCurrencies

GetAccountingCurrencies provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) GetCommonRateCorrectionRule

GetCommonRateCorrectionRule provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) GetCurrenciesPrecision

GetCurrenciesPrecision provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) GetMerchantRateCorrectionRule

GetMerchantRateCorrectionRule provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) GetPriceCurrencies

GetPriceCurrencies provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) GetRateByDateCommon

GetRateByDateCommon provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) GetRateByDateForMerchant

GetRateByDateForMerchant provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) GetRateCurrentCommon

GetRateCurrentCommon provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) GetRateCurrentForMerchant

GetRateCurrentForMerchant provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) GetSettlementCurrencies

GetSettlementCurrencies provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) GetSupportedCurrencies

GetSupportedCurrencies provides a mock function with given fields: ctx, in, opts

func (*CurrencyRatesService) GetVatCurrencies

GetVatCurrencies provides a mock function with given fields: ctx, in, opts

type CurrencyRatesServiceHandler

type CurrencyRatesServiceHandler struct {
	mock.Mock
}

CurrencyRatesServiceHandler is an autogenerated mock type for the CurrencyRatesServiceHandler type

func NewCurrencyRatesServiceHandler

func NewCurrencyRatesServiceHandler(t mockConstructorTestingTNewCurrencyRatesServiceHandler) *CurrencyRatesServiceHandler

NewCurrencyRatesServiceHandler creates a new instance of CurrencyRatesServiceHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*CurrencyRatesServiceHandler) AddCommonRateCorrectionRule

AddCommonRateCorrectionRule provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) AddMerchantRateCorrectionRule

func (_m *CurrencyRatesServiceHandler) AddMerchantRateCorrectionRule(_a0 context.Context, _a1 *currenciespb.CorrectionRule, _a2 *currenciespb.EmptyResponse) error

AddMerchantRateCorrectionRule provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) ExchangeCurrencyByDateCommon

ExchangeCurrencyByDateCommon provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) ExchangeCurrencyByDateForMerchant

ExchangeCurrencyByDateForMerchant provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) ExchangeCurrencyCurrentCommon

ExchangeCurrencyCurrentCommon provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) ExchangeCurrencyCurrentForMerchant

ExchangeCurrencyCurrentForMerchant provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) GetAccountingCurrencies

GetAccountingCurrencies provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) GetCommonRateCorrectionRule

GetCommonRateCorrectionRule provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) GetCurrenciesPrecision

GetCurrenciesPrecision provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) GetMerchantRateCorrectionRule

GetMerchantRateCorrectionRule provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) GetPriceCurrencies

GetPriceCurrencies provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) GetRateByDateCommon

GetRateByDateCommon provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) GetRateByDateForMerchant

GetRateByDateForMerchant provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) GetRateCurrentCommon

GetRateCurrentCommon provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) GetRateCurrentForMerchant

GetRateCurrentForMerchant provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) GetSettlementCurrencies

GetSettlementCurrencies provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) GetSupportedCurrencies

GetSupportedCurrencies provides a mock function with given fields: _a0, _a1, _a2

func (*CurrencyRatesServiceHandler) GetVatCurrencies

GetVatCurrencies provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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