Documentation ¶
Index ¶
- type CurrencyRatesService
- func (_m *CurrencyRatesService) AddCommonRateCorrectionRule(ctx context.Context, in *currenciespb.CommonCorrectionRule, ...) (*currenciespb.EmptyResponse, error)
- func (_m *CurrencyRatesService) AddMerchantRateCorrectionRule(ctx context.Context, in *currenciespb.CorrectionRule, ...) (*currenciespb.EmptyResponse, error)
- func (_m *CurrencyRatesService) ExchangeCurrencyByDateCommon(ctx context.Context, in *currenciespb.ExchangeCurrencyByDateCommonRequest, ...) (*currenciespb.ExchangeCurrencyResponse, error)
- func (_m *CurrencyRatesService) ExchangeCurrencyByDateForMerchant(ctx context.Context, in *currenciespb.ExchangeCurrencyByDateForMerchantRequest, ...) (*currenciespb.ExchangeCurrencyResponse, error)
- func (_m *CurrencyRatesService) ExchangeCurrencyCurrentCommon(ctx context.Context, in *currenciespb.ExchangeCurrencyCurrentCommonRequest, ...) (*currenciespb.ExchangeCurrencyResponse, error)
- func (_m *CurrencyRatesService) ExchangeCurrencyCurrentForMerchant(ctx context.Context, ...) (*currenciespb.ExchangeCurrencyResponse, error)
- func (_m *CurrencyRatesService) GetAccountingCurrencies(ctx context.Context, in *currenciespb.EmptyRequest, opts ...client.CallOption) (*currenciespb.CurrenciesList, error)
- func (_m *CurrencyRatesService) GetCommonRateCorrectionRule(ctx context.Context, in *currenciespb.CommonCorrectionRuleRequest, ...) (*currenciespb.CorrectionRule, error)
- func (_m *CurrencyRatesService) GetCurrenciesPrecision(ctx context.Context, in *currenciespb.EmptyRequest, opts ...client.CallOption) (*currenciespb.CurrenciesPrecisionResponse, error)
- func (_m *CurrencyRatesService) GetMerchantRateCorrectionRule(ctx context.Context, in *currenciespb.MerchantCorrectionRuleRequest, ...) (*currenciespb.CorrectionRule, error)
- func (_m *CurrencyRatesService) GetPriceCurrencies(ctx context.Context, in *currenciespb.EmptyRequest, opts ...client.CallOption) (*currenciespb.CurrenciesList, error)
- func (_m *CurrencyRatesService) GetRateByDateCommon(ctx context.Context, in *currenciespb.GetRateByDateCommonRequest, ...) (*currenciespb.RateData, error)
- func (_m *CurrencyRatesService) GetRateByDateForMerchant(ctx context.Context, in *currenciespb.GetRateByDateForMerchantRequest, ...) (*currenciespb.RateData, error)
- func (_m *CurrencyRatesService) GetRateCurrentCommon(ctx context.Context, in *currenciespb.GetRateCurrentCommonRequest, ...) (*currenciespb.RateData, error)
- func (_m *CurrencyRatesService) GetRateCurrentForMerchant(ctx context.Context, in *currenciespb.GetRateCurrentForMerchantRequest, ...) (*currenciespb.RateData, error)
- func (_m *CurrencyRatesService) GetSettlementCurrencies(ctx context.Context, in *currenciespb.EmptyRequest, opts ...client.CallOption) (*currenciespb.CurrenciesList, error)
- func (_m *CurrencyRatesService) GetSupportedCurrencies(ctx context.Context, in *currenciespb.EmptyRequest, opts ...client.CallOption) (*currenciespb.CurrenciesList, error)
- func (_m *CurrencyRatesService) GetVatCurrencies(ctx context.Context, in *currenciespb.EmptyRequest, opts ...client.CallOption) (*currenciespb.CurrenciesList, error)
- type CurrencyRatesServiceHandler
- func (_m *CurrencyRatesServiceHandler) AddCommonRateCorrectionRule(_a0 context.Context, _a1 *currenciespb.CommonCorrectionRule, ...) error
- func (_m *CurrencyRatesServiceHandler) AddMerchantRateCorrectionRule(_a0 context.Context, _a1 *currenciespb.CorrectionRule, ...) error
- func (_m *CurrencyRatesServiceHandler) ExchangeCurrencyByDateCommon(_a0 context.Context, _a1 *currenciespb.ExchangeCurrencyByDateCommonRequest, ...) error
- func (_m *CurrencyRatesServiceHandler) ExchangeCurrencyByDateForMerchant(_a0 context.Context, ...) error
- func (_m *CurrencyRatesServiceHandler) ExchangeCurrencyCurrentCommon(_a0 context.Context, _a1 *currenciespb.ExchangeCurrencyCurrentCommonRequest, ...) error
- func (_m *CurrencyRatesServiceHandler) ExchangeCurrencyCurrentForMerchant(_a0 context.Context, ...) error
- func (_m *CurrencyRatesServiceHandler) GetAccountingCurrencies(_a0 context.Context, _a1 *currenciespb.EmptyRequest, ...) error
- func (_m *CurrencyRatesServiceHandler) GetCommonRateCorrectionRule(_a0 context.Context, _a1 *currenciespb.CommonCorrectionRuleRequest, ...) error
- func (_m *CurrencyRatesServiceHandler) GetCurrenciesPrecision(_a0 context.Context, _a1 *currenciespb.EmptyRequest, ...) error
- func (_m *CurrencyRatesServiceHandler) GetMerchantRateCorrectionRule(_a0 context.Context, _a1 *currenciespb.MerchantCorrectionRuleRequest, ...) error
- func (_m *CurrencyRatesServiceHandler) GetPriceCurrencies(_a0 context.Context, _a1 *currenciespb.EmptyRequest, ...) error
- func (_m *CurrencyRatesServiceHandler) GetRateByDateCommon(_a0 context.Context, _a1 *currenciespb.GetRateByDateCommonRequest, ...) error
- func (_m *CurrencyRatesServiceHandler) GetRateByDateForMerchant(_a0 context.Context, _a1 *currenciespb.GetRateByDateForMerchantRequest, ...) error
- func (_m *CurrencyRatesServiceHandler) GetRateCurrentCommon(_a0 context.Context, _a1 *currenciespb.GetRateCurrentCommonRequest, ...) error
- func (_m *CurrencyRatesServiceHandler) GetRateCurrentForMerchant(_a0 context.Context, _a1 *currenciespb.GetRateCurrentForMerchantRequest, ...) error
- func (_m *CurrencyRatesServiceHandler) GetSettlementCurrencies(_a0 context.Context, _a1 *currenciespb.EmptyRequest, ...) error
- func (_m *CurrencyRatesServiceHandler) GetSupportedCurrencies(_a0 context.Context, _a1 *currenciespb.EmptyRequest, ...) error
- func (_m *CurrencyRatesServiceHandler) GetVatCurrencies(_a0 context.Context, _a1 *currenciespb.EmptyRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrencyRatesService ¶
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 ¶
func (_m *CurrencyRatesService) AddCommonRateCorrectionRule(ctx context.Context, in *currenciespb.CommonCorrectionRule, opts ...client.CallOption) (*currenciespb.EmptyResponse, error)
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 ¶
func (_m *CurrencyRatesService) ExchangeCurrencyByDateCommon(ctx context.Context, in *currenciespb.ExchangeCurrencyByDateCommonRequest, opts ...client.CallOption) (*currenciespb.ExchangeCurrencyResponse, error)
ExchangeCurrencyByDateCommon provides a mock function with given fields: ctx, in, opts
func (*CurrencyRatesService) ExchangeCurrencyByDateForMerchant ¶
func (_m *CurrencyRatesService) ExchangeCurrencyByDateForMerchant(ctx context.Context, in *currenciespb.ExchangeCurrencyByDateForMerchantRequest, opts ...client.CallOption) (*currenciespb.ExchangeCurrencyResponse, error)
ExchangeCurrencyByDateForMerchant provides a mock function with given fields: ctx, in, opts
func (*CurrencyRatesService) ExchangeCurrencyCurrentCommon ¶
func (_m *CurrencyRatesService) ExchangeCurrencyCurrentCommon(ctx context.Context, in *currenciespb.ExchangeCurrencyCurrentCommonRequest, opts ...client.CallOption) (*currenciespb.ExchangeCurrencyResponse, error)
ExchangeCurrencyCurrentCommon provides a mock function with given fields: ctx, in, opts
func (*CurrencyRatesService) ExchangeCurrencyCurrentForMerchant ¶
func (_m *CurrencyRatesService) ExchangeCurrencyCurrentForMerchant(ctx context.Context, in *currenciespb.ExchangeCurrencyCurrentForMerchantRequest, opts ...client.CallOption) (*currenciespb.ExchangeCurrencyResponse, error)
ExchangeCurrencyCurrentForMerchant provides a mock function with given fields: ctx, in, opts
func (*CurrencyRatesService) GetAccountingCurrencies ¶
func (_m *CurrencyRatesService) GetAccountingCurrencies(ctx context.Context, in *currenciespb.EmptyRequest, opts ...client.CallOption) (*currenciespb.CurrenciesList, error)
GetAccountingCurrencies provides a mock function with given fields: ctx, in, opts
func (*CurrencyRatesService) GetCommonRateCorrectionRule ¶
func (_m *CurrencyRatesService) GetCommonRateCorrectionRule(ctx context.Context, in *currenciespb.CommonCorrectionRuleRequest, opts ...client.CallOption) (*currenciespb.CorrectionRule, error)
GetCommonRateCorrectionRule provides a mock function with given fields: ctx, in, opts
func (*CurrencyRatesService) GetCurrenciesPrecision ¶
func (_m *CurrencyRatesService) GetCurrenciesPrecision(ctx context.Context, in *currenciespb.EmptyRequest, opts ...client.CallOption) (*currenciespb.CurrenciesPrecisionResponse, error)
GetCurrenciesPrecision provides a mock function with given fields: ctx, in, opts
func (*CurrencyRatesService) GetMerchantRateCorrectionRule ¶
func (_m *CurrencyRatesService) GetMerchantRateCorrectionRule(ctx context.Context, in *currenciespb.MerchantCorrectionRuleRequest, opts ...client.CallOption) (*currenciespb.CorrectionRule, error)
GetMerchantRateCorrectionRule provides a mock function with given fields: ctx, in, opts
func (*CurrencyRatesService) GetPriceCurrencies ¶
func (_m *CurrencyRatesService) GetPriceCurrencies(ctx context.Context, in *currenciespb.EmptyRequest, opts ...client.CallOption) (*currenciespb.CurrenciesList, error)
GetPriceCurrencies provides a mock function with given fields: ctx, in, opts
func (*CurrencyRatesService) GetRateByDateCommon ¶
func (_m *CurrencyRatesService) GetRateByDateCommon(ctx context.Context, in *currenciespb.GetRateByDateCommonRequest, opts ...client.CallOption) (*currenciespb.RateData, error)
GetRateByDateCommon provides a mock function with given fields: ctx, in, opts
func (*CurrencyRatesService) GetRateByDateForMerchant ¶
func (_m *CurrencyRatesService) GetRateByDateForMerchant(ctx context.Context, in *currenciespb.GetRateByDateForMerchantRequest, opts ...client.CallOption) (*currenciespb.RateData, error)
GetRateByDateForMerchant provides a mock function with given fields: ctx, in, opts
func (*CurrencyRatesService) GetRateCurrentCommon ¶
func (_m *CurrencyRatesService) GetRateCurrentCommon(ctx context.Context, in *currenciespb.GetRateCurrentCommonRequest, opts ...client.CallOption) (*currenciespb.RateData, error)
GetRateCurrentCommon provides a mock function with given fields: ctx, in, opts
func (*CurrencyRatesService) GetRateCurrentForMerchant ¶
func (_m *CurrencyRatesService) GetRateCurrentForMerchant(ctx context.Context, in *currenciespb.GetRateCurrentForMerchantRequest, opts ...client.CallOption) (*currenciespb.RateData, error)
GetRateCurrentForMerchant provides a mock function with given fields: ctx, in, opts
func (*CurrencyRatesService) GetSettlementCurrencies ¶
func (_m *CurrencyRatesService) GetSettlementCurrencies(ctx context.Context, in *currenciespb.EmptyRequest, opts ...client.CallOption) (*currenciespb.CurrenciesList, error)
GetSettlementCurrencies provides a mock function with given fields: ctx, in, opts
func (*CurrencyRatesService) GetSupportedCurrencies ¶
func (_m *CurrencyRatesService) GetSupportedCurrencies(ctx context.Context, in *currenciespb.EmptyRequest, opts ...client.CallOption) (*currenciespb.CurrenciesList, error)
GetSupportedCurrencies provides a mock function with given fields: ctx, in, opts
func (*CurrencyRatesService) GetVatCurrencies ¶
func (_m *CurrencyRatesService) GetVatCurrencies(ctx context.Context, in *currenciespb.EmptyRequest, opts ...client.CallOption) (*currenciespb.CurrenciesList, error)
GetVatCurrencies provides a mock function with given fields: ctx, in, opts
type CurrencyRatesServiceHandler ¶
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 ¶
func (_m *CurrencyRatesServiceHandler) AddCommonRateCorrectionRule(_a0 context.Context, _a1 *currenciespb.CommonCorrectionRule, _a2 *currenciespb.EmptyResponse) error
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 ¶
func (_m *CurrencyRatesServiceHandler) ExchangeCurrencyByDateCommon(_a0 context.Context, _a1 *currenciespb.ExchangeCurrencyByDateCommonRequest, _a2 *currenciespb.ExchangeCurrencyResponse) error
ExchangeCurrencyByDateCommon provides a mock function with given fields: _a0, _a1, _a2
func (*CurrencyRatesServiceHandler) ExchangeCurrencyByDateForMerchant ¶
func (_m *CurrencyRatesServiceHandler) ExchangeCurrencyByDateForMerchant(_a0 context.Context, _a1 *currenciespb.ExchangeCurrencyByDateForMerchantRequest, _a2 *currenciespb.ExchangeCurrencyResponse) error
ExchangeCurrencyByDateForMerchant provides a mock function with given fields: _a0, _a1, _a2
func (*CurrencyRatesServiceHandler) ExchangeCurrencyCurrentCommon ¶
func (_m *CurrencyRatesServiceHandler) ExchangeCurrencyCurrentCommon(_a0 context.Context, _a1 *currenciespb.ExchangeCurrencyCurrentCommonRequest, _a2 *currenciespb.ExchangeCurrencyResponse) error
ExchangeCurrencyCurrentCommon provides a mock function with given fields: _a0, _a1, _a2
func (*CurrencyRatesServiceHandler) ExchangeCurrencyCurrentForMerchant ¶
func (_m *CurrencyRatesServiceHandler) ExchangeCurrencyCurrentForMerchant(_a0 context.Context, _a1 *currenciespb.ExchangeCurrencyCurrentForMerchantRequest, _a2 *currenciespb.ExchangeCurrencyResponse) error
ExchangeCurrencyCurrentForMerchant provides a mock function with given fields: _a0, _a1, _a2
func (*CurrencyRatesServiceHandler) GetAccountingCurrencies ¶
func (_m *CurrencyRatesServiceHandler) GetAccountingCurrencies(_a0 context.Context, _a1 *currenciespb.EmptyRequest, _a2 *currenciespb.CurrenciesList) error
GetAccountingCurrencies provides a mock function with given fields: _a0, _a1, _a2
func (*CurrencyRatesServiceHandler) GetCommonRateCorrectionRule ¶
func (_m *CurrencyRatesServiceHandler) GetCommonRateCorrectionRule(_a0 context.Context, _a1 *currenciespb.CommonCorrectionRuleRequest, _a2 *currenciespb.CorrectionRule) error
GetCommonRateCorrectionRule provides a mock function with given fields: _a0, _a1, _a2
func (*CurrencyRatesServiceHandler) GetCurrenciesPrecision ¶
func (_m *CurrencyRatesServiceHandler) GetCurrenciesPrecision(_a0 context.Context, _a1 *currenciespb.EmptyRequest, _a2 *currenciespb.CurrenciesPrecisionResponse) error
GetCurrenciesPrecision provides a mock function with given fields: _a0, _a1, _a2
func (*CurrencyRatesServiceHandler) GetMerchantRateCorrectionRule ¶
func (_m *CurrencyRatesServiceHandler) GetMerchantRateCorrectionRule(_a0 context.Context, _a1 *currenciespb.MerchantCorrectionRuleRequest, _a2 *currenciespb.CorrectionRule) error
GetMerchantRateCorrectionRule provides a mock function with given fields: _a0, _a1, _a2
func (*CurrencyRatesServiceHandler) GetPriceCurrencies ¶
func (_m *CurrencyRatesServiceHandler) GetPriceCurrencies(_a0 context.Context, _a1 *currenciespb.EmptyRequest, _a2 *currenciespb.CurrenciesList) error
GetPriceCurrencies provides a mock function with given fields: _a0, _a1, _a2
func (*CurrencyRatesServiceHandler) GetRateByDateCommon ¶
func (_m *CurrencyRatesServiceHandler) GetRateByDateCommon(_a0 context.Context, _a1 *currenciespb.GetRateByDateCommonRequest, _a2 *currenciespb.RateData) error
GetRateByDateCommon provides a mock function with given fields: _a0, _a1, _a2
func (*CurrencyRatesServiceHandler) GetRateByDateForMerchant ¶
func (_m *CurrencyRatesServiceHandler) GetRateByDateForMerchant(_a0 context.Context, _a1 *currenciespb.GetRateByDateForMerchantRequest, _a2 *currenciespb.RateData) error
GetRateByDateForMerchant provides a mock function with given fields: _a0, _a1, _a2
func (*CurrencyRatesServiceHandler) GetRateCurrentCommon ¶
func (_m *CurrencyRatesServiceHandler) GetRateCurrentCommon(_a0 context.Context, _a1 *currenciespb.GetRateCurrentCommonRequest, _a2 *currenciespb.RateData) error
GetRateCurrentCommon provides a mock function with given fields: _a0, _a1, _a2
func (*CurrencyRatesServiceHandler) GetRateCurrentForMerchant ¶
func (_m *CurrencyRatesServiceHandler) GetRateCurrentForMerchant(_a0 context.Context, _a1 *currenciespb.GetRateCurrentForMerchantRequest, _a2 *currenciespb.RateData) error
GetRateCurrentForMerchant provides a mock function with given fields: _a0, _a1, _a2
func (*CurrencyRatesServiceHandler) GetSettlementCurrencies ¶
func (_m *CurrencyRatesServiceHandler) GetSettlementCurrencies(_a0 context.Context, _a1 *currenciespb.EmptyRequest, _a2 *currenciespb.CurrenciesList) error
GetSettlementCurrencies provides a mock function with given fields: _a0, _a1, _a2
func (*CurrencyRatesServiceHandler) GetSupportedCurrencies ¶
func (_m *CurrencyRatesServiceHandler) GetSupportedCurrencies(_a0 context.Context, _a1 *currenciespb.EmptyRequest, _a2 *currenciespb.CurrenciesList) error
GetSupportedCurrencies provides a mock function with given fields: _a0, _a1, _a2
func (*CurrencyRatesServiceHandler) GetVatCurrencies ¶
func (_m *CurrencyRatesServiceHandler) GetVatCurrencies(_a0 context.Context, _a1 *currenciespb.EmptyRequest, _a2 *currenciespb.CurrenciesList) error
GetVatCurrencies provides a mock function with given fields: _a0, _a1, _a2