Class: Worldline::Connect::SDK::V1::Merchant::MerchantClient

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

Overview

Merchant client. Thread-safe.

Instance Attribute Summary

Attributes inherited from ApiResource

#client_meta_info, #communicator

Instance Method Summary collapse

Constructor Details

#initialize(parent, path_context) ⇒ MerchantClient

Returns a new instance of MerchantClient.

Parameters:



33
34
35
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 33

def initialize(parent, path_context)
  super(parent: parent, path_context: path_context)
end

Instance Method Details

#capturesWorldline::Connect::SDK::V1::Merchant::Captures::CapturesClient

Resource /{merchantId}/captures



61
62
63
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 61

def captures
  Worldline::Connect::SDK::V1::Merchant::Captures::CapturesClient.new(self, nil)
end

#disputesWorldline::Connect::SDK::V1::Merchant::Disputes::DisputesClient

Resource /{merchantId}/disputes



75
76
77
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 75

def disputes
  Worldline::Connect::SDK::V1::Merchant::Disputes::DisputesClient.new(self, nil)
end

#filesWorldline::Connect::SDK::V1::Merchant::Files::FilesClient

Resource /{merchantId}/files



145
146
147
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 145

def files
  Worldline::Connect::SDK::V1::Merchant::Files::FilesClient.new(self, nil)
end

#hostedcheckoutsWorldline::Connect::SDK::V1::Merchant::Hostedcheckouts::HostedcheckoutsClient

Resource /{merchantId}/hostedcheckouts



40
41
42
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 40

def hostedcheckouts
  Worldline::Connect::SDK::V1::Merchant::Hostedcheckouts::HostedcheckoutsClient.new(self, nil)
end

#hostedmandatemanagementsWorldline::Connect::SDK::V1::Merchant::Hostedmandatemanagements::HostedmandatemanagementsClient

Resource /{merchantId}/hostedmandatemanagements



47
48
49
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 47

def hostedmandatemanagements
  Worldline::Connect::SDK::V1::Merchant::Hostedmandatemanagements::HostedmandatemanagementsClient.new(self, nil)
end

#installmentsWorldline::Connect::SDK::V1::Merchant::Installments::InstallmentsClient

Resource /{merchantId}/installments



138
139
140
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 138

def installments
  Worldline::Connect::SDK::V1::Merchant::Installments::InstallmentsClient.new(self, nil)
end

#mandatesWorldline::Connect::SDK::V1::Merchant::Mandates::MandatesClient

Resource /{merchantId}/mandates



124
125
126
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 124

def mandates
  Worldline::Connect::SDK::V1::Merchant::Mandates::MandatesClient.new(self, nil)
end

#paymentsWorldline::Connect::SDK::V1::Merchant::Payments::PaymentsClient

Resource /{merchantId}/payments



54
55
56
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 54

def payments
  Worldline::Connect::SDK::V1::Merchant::Payments::PaymentsClient.new(self, nil)
end

#payoutsWorldline::Connect::SDK::V1::Merchant::Payouts::PayoutsClient

Resource /{merchantId}/payouts



82
83
84
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 82

def payouts
  Worldline::Connect::SDK::V1::Merchant::Payouts::PayoutsClient.new(self, nil)
end

#productgroupsWorldline::Connect::SDK::V1::Merchant::Productgroups::ProductgroupsClient

Resource /{merchantId}/productgroups



89
90
91
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 89

def productgroups
  Worldline::Connect::SDK::V1::Merchant::Productgroups::ProductgroupsClient.new(self, nil)
end

#productsWorldline::Connect::SDK::V1::Merchant::Products::ProductsClient

Resource /{merchantId}/products



96
97
98
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 96

def products
  Worldline::Connect::SDK::V1::Merchant::Products::ProductsClient.new(self, nil)
end

#refundsWorldline::Connect::SDK::V1::Merchant::Refunds::RefundsClient

Resource /{merchantId}/refunds



68
69
70
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 68

def refunds
  Worldline::Connect::SDK::V1::Merchant::Refunds::RefundsClient.new(self, nil)
end

#riskassessmentsWorldline::Connect::SDK::V1::Merchant::Riskassessments::RiskassessmentsClient

Resource /{merchantId}/riskassessments



103
104
105
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 103

def riskassessments
  Worldline::Connect::SDK::V1::Merchant::Riskassessments::RiskassessmentsClient.new(self, nil)
end

#servicesWorldline::Connect::SDK::V1::Merchant::Services::ServicesClient

Resource /{merchantId}/services



110
111
112
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 110

def services
  Worldline::Connect::SDK::V1::Merchant::Services::ServicesClient.new(self, nil)
end

#sessionsWorldline::Connect::SDK::V1::Merchant::Sessions::SessionsClient

Resource /{merchantId}/sessions



131
132
133
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 131

def sessions
  Worldline::Connect::SDK::V1::Merchant::Sessions::SessionsClient.new(self, nil)
end

#tokensWorldline::Connect::SDK::V1::Merchant::Tokens::TokensClient

Resource /{merchantId}/tokens



117
118
119
# File 'lib/worldline/connect/sdk/v1/merchant/merchant_client.rb', line 117

def tokens
  Worldline::Connect::SDK::V1::Merchant::Tokens::TokensClient.new(self, nil)
end