Sha256: 9b52d5b694cfbcf435a2f075002adcd1baa36b0faf83beece53705b360a37247

Contents?: true

Size: 417 Bytes

Versions: 7

Compression:

Stored size: 417 Bytes

Contents

module AdaptivePayments
  class CurrencyConversionList < JsonModel
    attribute :base_amount,   Node[CurrencyType], :param => 'baseAmount'
    attribute :currency_list, Node[CurrencyList], :param => 'currencyList'

    alias_params :base_amount, {
      :base_currency_code   => :code,
      :base_currency_amount => :amount
    }

    alias_params :currency_list, {
      :currencies => :currencies
    }
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
creative-pp-adaptive-1.1.1 lib/pp-adaptive/types/currency_conversion_list.rb
pp-adaptive-1.0.0 lib/pp-adaptive/types/currency_conversion_list.rb
pp-adaptive-0.0.6 lib/pp-adaptive/types/currency_conversion_list.rb
pp-adaptive-0.0.5 lib/pp-adaptive/types/currency_conversion_list.rb
pp-adaptive-0.0.4 lib/pp-adaptive/types/currency_conversion_list.rb
pp-adaptive-0.0.3 lib/pp-adaptive/types/currency_conversion_list.rb
pp-adaptive-0.0.2 lib/pp-adaptive/types/currency_conversion_list.rb