Class: Ingenico::Direct::SDK::Merchant::MerchantClient
- Inherits:
-
ApiResource
- Object
- ApiResource
- Ingenico::Direct::SDK::Merchant::MerchantClient
- Defined in:
- lib/ingenico/direct/sdk/merchant/merchant_client.rb
Overview
Merchant client. Thread-safe.
Instance Attribute Summary
Attributes inherited from ApiResource
#client_meta_info, #communicator
Instance Method Summary collapse
-
#hosted_checkout ⇒ Ingenico::Direct::SDK::Merchant::HostedCheckout::HostedCheckoutClient
Resource /v2/{merchantId}/hostedcheckouts.
-
#hosted_tokenization ⇒ Ingenico::Direct::SDK::Merchant::HostedTokenization::HostedTokenizationClient
Resource /v2/{merchantId}/hostedtokenizations.
-
#initialize(parent, path_context = nil) ⇒ MerchantClient
constructor
A new instance of MerchantClient.
-
#payments ⇒ Ingenico::Direct::SDK::Merchant::Payments::PaymentsClient
Resource /v2/{merchantId}/payments.
-
#payouts ⇒ Ingenico::Direct::SDK::Merchant::Payouts::PayoutsClient
Resource /v2/{merchantId}/payouts.
-
#product_groups ⇒ Ingenico::Direct::SDK::Merchant::ProductGroups::ProductGroupsClient
Resource /v2/{merchantId}/productgroups.
-
#products ⇒ Ingenico::Direct::SDK::Merchant::Products::ProductsClient
Resource /v2/{merchantId}/products.
-
#services ⇒ Ingenico::Direct::SDK::Merchant::Services::ServicesClient
Resource /v2/{merchantId}/services.
-
#sessions ⇒ Ingenico::Direct::SDK::Merchant::Sessions::SessionsClient
Resource /v2/{merchantId}/sessions.
-
#tokens ⇒ Ingenico::Direct::SDK::Merchant::Tokens::TokensClient
Resource /v2/{merchantId}/tokens.
Constructor Details
#initialize(parent, path_context = nil) ⇒ MerchantClient
Returns a new instance of MerchantClient.
24 25 26 |
# File 'lib/ingenico/direct/sdk/merchant/merchant_client.rb', line 24 def initialize(parent, path_context = nil) super(parent, path_context) end |
Instance Method Details
#hosted_checkout ⇒ Ingenico::Direct::SDK::Merchant::HostedCheckout::HostedCheckoutClient
Resource /v2/{merchantId}/hostedcheckouts
30 31 32 |
# File 'lib/ingenico/direct/sdk/merchant/merchant_client.rb', line 30 def hosted_checkout Ingenico::Direct::SDK::Merchant::HostedCheckout::HostedCheckoutClient.new(self, nil) end |
#hosted_tokenization ⇒ Ingenico::Direct::SDK::Merchant::HostedTokenization::HostedTokenizationClient
Resource /v2/{merchantId}/hostedtokenizations
36 37 38 |
# File 'lib/ingenico/direct/sdk/merchant/merchant_client.rb', line 36 def hosted_tokenization Ingenico::Direct::SDK::Merchant::HostedTokenization::HostedTokenizationClient.new(self, nil) end |
#payments ⇒ Ingenico::Direct::SDK::Merchant::Payments::PaymentsClient
Resource /v2/{merchantId}/payments
42 43 44 |
# File 'lib/ingenico/direct/sdk/merchant/merchant_client.rb', line 42 def payments Ingenico::Direct::SDK::Merchant::Payments::PaymentsClient.new(self, nil) end |
#payouts ⇒ Ingenico::Direct::SDK::Merchant::Payouts::PayoutsClient
Resource /v2/{merchantId}/payouts
48 49 50 |
# File 'lib/ingenico/direct/sdk/merchant/merchant_client.rb', line 48 def payouts Ingenico::Direct::SDK::Merchant::Payouts::PayoutsClient.new(self, nil) end |
#product_groups ⇒ Ingenico::Direct::SDK::Merchant::ProductGroups::ProductGroupsClient
Resource /v2/{merchantId}/productgroups
54 55 56 |
# File 'lib/ingenico/direct/sdk/merchant/merchant_client.rb', line 54 def product_groups Ingenico::Direct::SDK::Merchant::ProductGroups::ProductGroupsClient.new(self, nil) end |
#products ⇒ Ingenico::Direct::SDK::Merchant::Products::ProductsClient
Resource /v2/{merchantId}/products
60 61 62 |
# File 'lib/ingenico/direct/sdk/merchant/merchant_client.rb', line 60 def products Ingenico::Direct::SDK::Merchant::Products::ProductsClient.new(self, nil) end |
#services ⇒ Ingenico::Direct::SDK::Merchant::Services::ServicesClient
Resource /v2/{merchantId}/services
66 67 68 |
# File 'lib/ingenico/direct/sdk/merchant/merchant_client.rb', line 66 def services Ingenico::Direct::SDK::Merchant::Services::ServicesClient.new(self, nil) end |
#sessions ⇒ Ingenico::Direct::SDK::Merchant::Sessions::SessionsClient
Resource /v2/{merchantId}/sessions
72 73 74 |
# File 'lib/ingenico/direct/sdk/merchant/merchant_client.rb', line 72 def sessions Ingenico::Direct::SDK::Merchant::Sessions::SessionsClient.new(self, nil) end |
#tokens ⇒ Ingenico::Direct::SDK::Merchant::Tokens::TokensClient
Resource /v2/{merchantId}/tokens
78 79 80 |
# File 'lib/ingenico/direct/sdk/merchant/merchant_client.rb', line 78 def tokens Ingenico::Direct::SDK::Merchant::Tokens::TokensClient.new(self, nil) end |