Class: Ingenico::Connect::SDK::Merchant::Products::NetworksParams
- Inherits:
-
ParamRequest
- Object
- ParamRequest
- Ingenico::Connect::SDK::Merchant::Products::NetworksParams
- Defined in:
- lib/ingenico/connect/sdk/merchant/products/networks_params.rb
Overview
Query parameters for _merchantId__products__paymentProductId__networks_get Get payment product networks
Instance Attribute Summary collapse
-
#amount ⇒ Object
Integer.
-
#country_code ⇒ Object
String.
-
#currency_code ⇒ Object
String.
-
#is_recurring ⇒ Object
true/false.
Instance Method Summary collapse
-
#to_request_parameters ⇒ Object
Returns an Array of RequestParam objects representing the attributes of this class.
Instance Attribute Details
#amount ⇒ Object
Integer
21 22 23 |
# File 'lib/ingenico/connect/sdk/merchant/products/networks_params.rb', line 21 def amount @amount end |
#country_code ⇒ Object
String
15 16 17 |
# File 'lib/ingenico/connect/sdk/merchant/products/networks_params.rb', line 15 def country_code @country_code end |
#currency_code ⇒ Object
String
18 19 20 |
# File 'lib/ingenico/connect/sdk/merchant/products/networks_params.rb', line 18 def currency_code @currency_code end |
#is_recurring ⇒ Object
true/false
24 25 26 |
# File 'lib/ingenico/connect/sdk/merchant/products/networks_params.rb', line 24 def is_recurring @is_recurring end |
Instance Method Details
#to_request_parameters ⇒ Object
Returns an Array of RequestParam objects representing the attributes of this class
28 29 30 31 32 33 34 35 |
# File 'lib/ingenico/connect/sdk/merchant/products/networks_params.rb', line 28 def to_request_parameters result = [] add_parameter(result, 'countryCode', @country_code) add_parameter(result, 'currencyCode', @currency_code) add_parameter(result, 'amount', @amount) add_parameter(result, 'isRecurring', @is_recurring) result end |