Class: Worldline::Acquiring::SDK::V1::Acquirer::Merchant::MerchantClient
- Inherits:
-
ApiResource
- Object
- ApiResource
- Worldline::Acquiring::SDK::V1::Acquirer::Merchant::MerchantClient
- Defined in:
- lib/worldline/acquiring/sdk/v1/acquirer/merchant/merchant_client.rb
Overview
Merchant client. Thread-safe.
Instance Attribute Summary
Attributes inherited from ApiResource
Instance Method Summary collapse
-
#account_verifications ⇒ Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Accountverifications::AccountVerificationsClient
Resource /processing/v1/acquirerId/merchantId/account-verifications.
-
#dynamic_currency_conversion ⇒ Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Dynamiccurrencyconversion::DynamicCurrencyConversionClient
Resource /services/v1/acquirerId/merchantId/dcc-rates.
-
#initialize(parent, path_context) ⇒ MerchantClient
constructor
A new instance of MerchantClient.
-
#payments ⇒ Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Payments::PaymentsClient
Resource /processing/v1/acquirerId/merchantId/payments.
-
#refunds ⇒ Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Refunds::RefundsClient
Resource /processing/v1/acquirerId/merchantId/refunds.
-
#technical_reversals ⇒ Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Technicalreversals::TechnicalReversalsClient
Resource /processing/v1/acquirerId/merchantId/operations/operationId/reverse.
Constructor Details
#initialize(parent, path_context) ⇒ MerchantClient
Returns a new instance of MerchantClient.
22 23 24 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/merchant/merchant_client.rb', line 22 def initialize(parent, path_context) super(parent: parent, path_context: path_context) end |
Instance Method Details
#account_verifications ⇒ Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Accountverifications::AccountVerificationsClient
Resource /processing/v1/acquirerId/merchantId/account-verifications
43 44 45 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/merchant/merchant_client.rb', line 43 def account_verifications Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Accountverifications::AccountVerificationsClient.new(self, nil) end |
#dynamic_currency_conversion ⇒ Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Dynamiccurrencyconversion::DynamicCurrencyConversionClient
Resource /services/v1/acquirerId/merchantId/dcc-rates
57 58 59 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/merchant/merchant_client.rb', line 57 def dynamic_currency_conversion Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Dynamiccurrencyconversion::DynamicCurrencyConversionClient.new(self, nil) end |
#payments ⇒ Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Payments::PaymentsClient
Resource /processing/v1/acquirerId/merchantId/payments
29 30 31 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/merchant/merchant_client.rb', line 29 def payments Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Payments::PaymentsClient.new(self, nil) end |
#refunds ⇒ Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Refunds::RefundsClient
Resource /processing/v1/acquirerId/merchantId/refunds
36 37 38 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/merchant/merchant_client.rb', line 36 def refunds Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Refunds::RefundsClient.new(self, nil) end |
#technical_reversals ⇒ Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Technicalreversals::TechnicalReversalsClient
Resource /processing/v1/acquirerId/merchantId/operations/operationId/reverse
50 51 52 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/merchant/merchant_client.rb', line 50 def technical_reversals Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Technicalreversals::TechnicalReversalsClient.new(self, nil) end |