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.14.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.13.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.12.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.11.2 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.11.1 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.11.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.10.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.9.2 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.9.1 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.9.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.8.1 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.8.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.7.5 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.7.4 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.7.3 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.7.2 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.7.1 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.7.0 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.6.7 lib/gotransverse-tract-api/order/price_range.rb
gotransverse-tract-api-0.6.6 lib/gotransverse-tract-api/order/price_range.rb