class Ingenico::Direct::SDK::Merchant::Products::GetProductDirectoryParams

Query parameters for {support.direct.ingenico.com/documentation/api/reference#operation/GetProductDirectoryApi Get payment product directory} @attr [String] country_code @attr [String] currency_code

Attributes

country_code[RW]
currency_code[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_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