Package com.easypost.model
Class TimeInTransit
java.lang.Object
com.easypost.model.TimeInTransit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getSmartRateAccuracy
(SmartRateAccuracy accuracy) Get the delivery accuracy of a specific percentile of this TimeInTransit.
-
Constructor Details
-
TimeInTransit
public TimeInTransit()
-
-
Method Details
-
getSmartRateAccuracy
Get the delivery accuracy of a specific percentile of this TimeInTransit.- Parameters:
accuracy
- the SmartRateAccuracy to find the corresponding accuracy for- Returns:
- the delivery accuracy of the specified percentile
- Throws:
EasyPostException
- when the percentile is not valid
-