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