Class TimeInTransit

java.lang.Object
com.easypost.model.TimeInTransit

public final class TimeInTransit extends Object
  • Constructor Details

    • TimeInTransit

      public TimeInTransit()
  • Method Details

    • getSmartRateAccuracy

      public int getSmartRateAccuracy(SmartRateAccuracy accuracy) throws EasyPostException
      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