Sha256: 6fcf643245f3b316132fd56ed892f4f3cba19fed5af50af10a30557ce74d990b

Contents?: true

Size: 706 Bytes

Versions: 49

Compression:

Stored size: 706 Bytes

Contents

module GoTransverseTractApi

  module Order

    class PriceRange

      class << self
        def get_price_ranges(price_ranges)
          priceRanges = {
            attributes: {},
            priceRange: {
              quantityBeginRange: price_ranges[:price_range][:quantity_begin_range],
              quantityEndRange: price_ranges[:price_range][:quantity_end_range],
              price: price_ranges[:price_range][:price],
              level: price_ranges[:price_range][:level],
              currencyType: price_ranges[:price_range][:currency_type],
              eid: price_ranges[:price_range][:eid]
            }
          }

          priceRanges
        end
      end

    end

  end

end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.24.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.23.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.22.1 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.22.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.21.1 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.21.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.20.3 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.20.2 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.20.1 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.20.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.19.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.18.3 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.18.2 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.18.1 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.18.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.17.2 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.17.1 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.17.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.16.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.15.0 lib/gotransverse-tract-api/order/price_range.rb