Uses of Enum
com.easypost.model.SmartrateAccuracy
Package
Description
Classes for the EasyPost API.
Interact with the EasyPost API in Java.
Utility classes for the EasyPost API Java client library.
-
Uses of SmartrateAccuracy in com.easypost.model
Modifier and TypeMethodDescriptionstatic SmartrateAccuracy
SmartrateAccuracy.getByKeyName
(String keyName) Get the enum value for a given internal key name.static SmartrateAccuracy
Returns the enum constant of this type with the specified name.static SmartrateAccuracy[]
SmartrateAccuracy.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionint
TimeInTransit.getBySmartrateAccuracy
(SmartrateAccuracy accuracy) Get the delivery accuracy of a specific percentile of this TimeInTransit. -
Uses of SmartrateAccuracy in com.easypost.service
Modifier and TypeMethodDescriptionShipmentService.findLowestSmartrate
(List<SmartRate> smartRates, int deliveryDay, SmartrateAccuracy deliveryAccuracy) Find the lowest SmartRate from a list of SmartRates.ShipmentService.lowestSmartRate
(String id, int deliveryDay, SmartrateAccuracy deliveryAccuracy) Get the lowest SmartRate for this Shipment. -
Uses of SmartrateAccuracy in com.easypost.utils
Modifier and TypeMethodDescriptionstatic SmartRate
Utilities.findLowestSmartrate
(List<SmartRate> smartrates, int deliveryDay, SmartrateAccuracy deliveryAccuracy) Find the lowest Smartrate from a list of Smartrates.