Class Shipment
java.lang.Object
com.easypost.model.EasyPostResource
com.easypost.model.Shipment
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the lowest rate for this Shipment.lowestRate
(List<String> carriers) Get the lowest rate for this shipment.lowestRate
(List<String> carriers, List<String> services) Get the lowest rate for this Shipment.Methods inherited from class com.easypost.model.EasyPostResource
equals, hashCode, prettyPrint, toString
-
Constructor Details
-
Shipment
public Shipment()
-
-
Method Details
-
lowestRate
Get the lowest rate for this Shipment.- Returns:
- lowest Rate object
- Throws:
EasyPostException
- when the request fails.
-
lowestRate
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
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.
-