Class Pickup
java.lang.Object
com.easypost.model.EasyPostResource
com.easypost.model.Pickup
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the lowest rate for this Pickup.lowestRate
(List<String> carriers) Get the lowest rate for this pickup.lowestRate
(List<String> carriers, List<String> services) Get the lowest rate for this Pickup.Methods inherited from class com.easypost.model.EasyPostResource
equals, hashCode, prettyPrint, toString
-
Constructor Details
-
Pickup
public Pickup()
-
-
Method Details
-
lowestRate
Get the lowest rate for this Pickup.- Returns:
- lowest PickupRate object
- Throws:
EasyPostException
- when the request fails.
-
lowestRate
Get the lowest rate for this Pickup.- Parameters:
carriers
- The carriers to use in the filter.services
- The services to use in the filter.- Returns:
- lowest PickupRate object
- Throws:
EasyPostException
- when the request fails.
-
lowestRate
Get the lowest rate for this pickup.- Parameters:
carriers
- The carriers to use in the query.- Returns:
- PickupRate object
- Throws:
EasyPostException
- when the request fails.
-