Class: Worldline::Acquiring::SDK::V1::Acquirer::AcquirerClient
- Inherits:
-
ApiResource
- Object
- ApiResource
- Worldline::Acquiring::SDK::V1::Acquirer::AcquirerClient
- Defined in:
- lib/worldline/acquiring/sdk/v1/acquirer/acquirer_client.rb
Overview
Acquirer client. Thread-safe.
Instance Attribute Summary
Attributes inherited from ApiResource
Instance Method Summary collapse
-
#initialize(parent, path_context) ⇒ AcquirerClient
constructor
A new instance of AcquirerClient.
-
#merchant(merchant_id) ⇒ Worldline::Acquiring::SDK::V1::Acquirer::Merchant::MerchantClient
Resource /processing/v1/acquirerId/merchantId.
Constructor Details
#initialize(parent, path_context) ⇒ AcquirerClient
Returns a new instance of AcquirerClient.
17 18 19 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/acquirer_client.rb', line 17 def initialize(parent, path_context) super(parent: parent, path_context: path_context) end |
Instance Method Details
#merchant(merchant_id) ⇒ Worldline::Acquiring::SDK::V1::Acquirer::Merchant::MerchantClient
Resource /processing/v1/acquirerId/merchantId
25 26 27 28 29 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/acquirer_client.rb', line 25 def merchant(merchant_id) Worldline::Acquiring::SDK::V1::Acquirer::Merchant::MerchantClient.new(self, { 'merchantId'.freeze => merchant_id, }) end |