Class Shipment


public class Shipment extends EasyPostResource
  • Constructor Details

    • Shipment

      public Shipment()
  • Method Details

    • lowestRate

      public Rate lowestRate() throws EasyPostException
      Get the lowest rate for this Shipment.
      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 Shipment.
      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 shipment.
      Parameters:
      carriers - the carriers to use in the query.
      Returns:
      Rate object
      Throws:
      EasyPostException - when the request fails.