class Ingenico::Direct::SDK::Merchant::Products::GetPaymentProductNetworksParams
Query parameters for {support.direct.ingenico.com/documentation/api/reference#operation/GetPaymentProductNetworks Get payment product networks} @attr [String] country_code
@attr [String] currency_code
@attr [Integer] amount @attr [true/false] is_recurring
Attributes
amount[RW]
country_code[RW]
currency_code[RW]
is_recurring[RW]
Public Instance Methods
to_request_parameters()
click to toggle source
@return [Array<Ingenico::Direct::SDK::RequestParam>] representing the attributes of this class
# File lib/ingenico/direct/sdk/merchant/products/get_payment_product_networks_params.rb, line 28 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 << RequestParam.new('amount', @amount.to_s) unless @amount.nil? result << RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil? result end