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.
-
#balance_inquiries ⇒ Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Balanceinquiries::BalanceInquiriesClient
Resource /processing/v1/acquirerId/merchantId/balance-inquiries.
-
#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.
23 24 25 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/merchant/merchant_client.rb', line 23 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
44 45 46 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/merchant/merchant_client.rb', line 44 def account_verifications Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Accountverifications::AccountVerificationsClient.new(self, nil) end |
#balance_inquiries ⇒ Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Balanceinquiries::BalanceInquiriesClient
Resource /processing/v1/acquirerId/merchantId/balance-inquiries
51 52 53 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/merchant/merchant_client.rb', line 51 def balance_inquiries Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Balanceinquiries::BalanceInquiriesClient.new(self, nil) end |
#dynamic_currency_conversion ⇒ Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Dynamiccurrencyconversion::DynamicCurrencyConversionClient
Resource /services/v1/acquirerId/merchantId/dcc-rates
65 66 67 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/merchant/merchant_client.rb', line 65 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
30 31 32 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/merchant/merchant_client.rb', line 30 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
37 38 39 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/merchant/merchant_client.rb', line 37 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
58 59 60 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/merchant/merchant_client.rb', line 58 def technical_reversals Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Technicalreversals::TechnicalReversalsClient.new(self, nil) end |