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:



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

#balance_inquiriesWorldline::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_conversionWorldline::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

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

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