Class: Ingenico::Connect::SDK::Merchant::Products::DirectoryParams
- Inherits:
-
ParamRequest
- Object
- ParamRequest
- Ingenico::Connect::SDK::Merchant::Products::DirectoryParams
- Defined in:
- lib/ingenico/connect/sdk/merchant/products/directory_params.rb
Overview
Query parameters for Get payment product directory
Instance Attribute Summary collapse
-
#country_code ⇒ Object
String.
-
#currency_code ⇒ Object
String.
Instance Method Summary collapse
-
#to_request_parameters ⇒ Object
Returns an Array of RequestParam objects representing the attributes of this class.
Instance Attribute Details
#country_code ⇒ Object
String
15 16 17 |
# File 'lib/ingenico/connect/sdk/merchant/products/directory_params.rb', line 15 def country_code @country_code end |
#currency_code ⇒ Object
String
18 19 20 |
# File 'lib/ingenico/connect/sdk/merchant/products/directory_params.rb', line 18 def currency_code @currency_code end |
Instance Method Details
#to_request_parameters ⇒ Object
Returns an Array of RequestParam objects representing the attributes of this class
21 22 23 24 25 26 |
# File 'lib/ingenico/connect/sdk/merchant/products/directory_params.rb', line 21 def to_request_parameters result = [] add_parameter(result, 'countryCode', @country_code) add_parameter(result, 'currencyCode', @currency_code) result end |