Class: Ingenico::Direct::SDK::Merchant::Products::GetProductDirectoryParams
- Inherits:
-
ParamRequest
- Object
- ParamRequest
- Ingenico::Direct::SDK::Merchant::Products::GetProductDirectoryParams
- Defined in:
- lib/ingenico/direct/sdk/merchant/products/get_product_directory_params.rb
Overview
Query parameters for Get payment product directory
Instance Attribute Summary collapse
-
#country_code ⇒ String
The current value of country_code.
-
#currency_code ⇒ String
The current value of currency_code.
Instance Method Summary collapse
-
#to_request_parameters ⇒ Array<Ingenico::Direct::SDK::RequestParam>
Representing the attributes of this class.
Instance Attribute Details
#country_code ⇒ String
Returns the current value of country_code.
15 16 17 |
# File 'lib/ingenico/direct/sdk/merchant/products/get_product_directory_params.rb', line 15 def country_code @country_code end |
#currency_code ⇒ String
Returns the current value of currency_code.
15 16 17 |
# File 'lib/ingenico/direct/sdk/merchant/products/get_product_directory_params.rb', line 15 def currency_code @currency_code end |
Instance Method Details
#to_request_parameters ⇒ Array<Ingenico::Direct::SDK::RequestParam>
Returns representing the attributes of this class.
22 23 24 25 26 27 |
# File 'lib/ingenico/direct/sdk/merchant/products/get_product_directory_params.rb', line 22 def to_request_parameters result = [] result << RequestParam.new('countryCode', @country_code) unless @country_code.nil? result << RequestParam.new('currencyCode', @currency_code) unless @currency_code.nil? result end |