Class: Worldline::Acquiring::SDK::V1::Acquirer::Merchant::MerchantClient

Inherits:
ApiResource
  • Object
show all
Defined in:
lib/worldline/acquiring/sdk/v1/acquirer/merchant/merchant_client.rb

Overview

Merchant client. Thread-safe.

Instance Attribute Summary

Attributes inherited from ApiResource

#communicator

Instance Method Summary collapse

Constructor Details

#initialize(parent, path_context) ⇒ MerchantClient

Returns a new instance of MerchantClient.

Parameters:



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_verificationsWorldline::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 
  Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Accountverifications::AccountVerificationsClient.new(self, nil)
end

#dynamic_currency_conversionWorldline::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

#paymentsWorldline::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

#refundsWorldline::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_reversalsWorldline::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