class EasyPost::Models::Order

The Order object represents a collection of packages and can be used for Multi-Piece Shipments.

Public Instance Methods

lowest_rate(carriers = [], services = []) click to toggle source

Get the lowest rate of an Order (can exclude by having ‘’!‘` as the first element of your optional filter lists).

# File lib/easypost/models/order.rb, line 6
def lowest_rate(carriers = [], services = [])
  EasyPost::Util.get_lowest_object_rate(self, carriers, services)
end