Class Order


public final class Order extends EasyPostResource
  • Constructor Details

    • Order

      public Order()
  • Method Details

    • lowestRate

      public Rate lowestRate() throws EasyPostException
      Get the lowest rate for this Order.
      Returns:
      Lowest Rate object
      Throws:
      EasyPostException - when the request fails.
    • lowestRate

      public Rate lowestRate(List<String> carriers, List<String> services) throws EasyPostException
      Get the lowest rate for this Order.
      Parameters:
      carriers - The carriers to use in the filter.
      services - The services to use in the filter.
      Returns:
      Lowest Rate object
      Throws:
      EasyPostException - when the request fails.
    • lowestRate

      public Rate lowestRate(List<String> carriers) throws EasyPostException
      Get the lowest rate for this order.
      Parameters:
      carriers - The carriers to use in the query.
      Returns:
      Rate object
      Throws:
      EasyPostException - when the request fails.