Uses of Class
com.easypost.exception.EasyPostException
Package
Description
Custom exception classes for the EasyPost API.
Custom API exception classes for the EasyPost API.
Custom general exception classes for the EasyPost API.
Classes for the EasyPost API.
Interact with the EasyPost API in Java.
Utility classes for the EasyPost API Java client library.
-
Uses of EasyPostException in com.easypost.exception
-
Uses of EasyPostException in com.easypost.exception.API
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
-
Uses of EasyPostException in com.easypost.exception.General
Modifier and TypeClassDescriptionclass
class
class
class
class
class
-
Uses of EasyPostException in com.easypost.model
Modifier and TypeMethodDescriptionstatic SmartrateAccuracy
SmartrateAccuracy.getByKeyName
(String keyName) Get the enum value for a given internal key name.int
TimeInTransit.getBySmartrateAccuracy
(SmartrateAccuracy accuracy) Get the delivery accuracy of a specific percentile of this TimeInTransit.int
TimeInTransit.getSmartRateAccuracy
(String percentile) Deprecated.Order.lowestRate()
Get the lowest rate for this Order.Order.lowestRate
(List<String> carriers) Get the lowest rate for this order.Order.lowestRate
(List<String> carriers, List<String> services) Get the lowest rate for this Order.Pickup.lowestRate()
Get the lowest rate for this Pickup.Pickup.lowestRate
(List<String> carriers) Get the lowest rate for this pickup.Pickup.lowestRate
(List<String> carriers, List<String> services) Get the lowest rate for this Pickup.Shipment.lowestRate()
Get the lowest rate for this Shipment.Shipment.lowestRate
(List<String> carriers) Get the lowest rate for this shipment.Shipment.lowestRate
(List<String> carriers, List<String> services) Get the lowest rate for this Shipment. -
Uses of EasyPostException in com.easypost.service
Modifier and TypeMethodDescriptionReferralCustomerService.addCreditCardToUser
(String referralApiKey, String number, int expirationMonth, int expirationYear, String cvc) Add credit card to a referral user.ReferralCustomerService.addCreditCardToUser
(String referralApiKey, String number, int expirationMonth, int expirationYear, String cvc, PaymentMethod.Priority priority) Add credit card to a referral user.BetaReferralCustomerService.addPaymentMethod
(String stripeCustomerId, String paymentMethodReference) Add Stripe payment method to referral customer.BetaReferralCustomerService.addPaymentMethod
(String stripeCustomerId, String paymentMethodReference, PaymentMethod.Priority primaryOrSecondary) Add Stripe payment method to referral customer.BatchService.addShipments
(String id, List<Shipment> shipments) Add shipments to this Batch object.BatchService.addShipments
(String id, Map<String, Object> params) Add shipments to this Batch object.List all Address objects.ApiKeyService.all()
Get all API keys.List all Batch objects.CarrierAccountService.all()
List all carrier accounts.List all carrier accounts.CarrierTypeService.all()
Retrieve a list of available carriers for the given account.Get a list of Claims.List all EndShipper objects.Get a list of Events.Get a list of Insurances.PaymentMethodService.all()
Deprecated.UseBillingService.retrievePaymentMethods()
instead.Get a list of all Pickup objects.List all Referral objects.List all Refunds objects.Get a list of Reports from the API.Get a list of ScanForms from the API.Get a list of all Shipment objects.Get a list of all Tracker objects.WebhookService.all()
Get a list of all Webhook objects.Get a list of all Webhook objects.UserService.allChildren
(Map<String, Object> params) Retrieve the paginated list of child users for the authenticated user.Deprecated.UseApiKeyService.retrieveApiKeysForUser(String)
instead.Buy this batch.Buy this batch.Buy this Order.Buy this Order.Buy this Pickup.PickupService.buy
(String id, PickupRate pickupRate) Buy this Pickup.Buy this Pickup.Buy this Shipment.Buy this Shipment.Buy this Shipment.Buy this Shipment.Cancel an Claim from the API.Cancel this Pickup.Cancel this Pickup.Create Address object from parameter map.BatchService.create()
Create a Batch object.Create a Batch object.Create a carrier account.Create a new claim object from a map of parameters.Create a CustomsInfo from a map of parameters.Create a CustomsItem from a map of parameters.Create EndShipper object from parameter map.Create a new Insurance object from a map of parameters.Create an Order object from a map of parameters.Create a Parcel from a map of parameters.Create a new Pickup object from a map of parameters.Create a Referral Customer object from parameter map.Create a Refund object from a map of parameters.Create a Report from a map of parameters.Create a ScanForm from a map of parameters.Create a new Shipment object from a map of parameters.Create a new Tracker object using a map of parameters.Create a User object with a map of parameters.Create a Webhook object from a map of parameters.AddressService.createAndVerify
(Map<String, Object> params) Create Address object from parameter map and immediately verify it.BatchService.createScanForm
(String id) Create a scan form for this batch.BatchService.createScanForm
(String id, Map<String, Object> params) Create a scan form for this batch.void
Delete this carrier account.void
Delete this User.void
Delete this Webhook.void
BillingService.deletePaymentMethod
(PaymentMethod.Priority priority) Delete a payment method.SmartRateService.estimateDeliveryDate
(Map<String, Object> params) Retrieve the estimated delivery date of each carrier-service level combination via the Smart Deliver By API, based on a specific ship date and origin-destination postal code pair.ShipmentService.findLowestSmartrate
(List<SmartRate> smartRates, int deliveryDay, SmartrateAccuracy deliveryAccuracy) Find the lowest SmartRate from a list of SmartRates.void
BillingService.fundWallet
(String amount) Fund your wallet from the primary payment method.void
BillingService.fundWallet
(String amount, PaymentMethod.Priority priority) Fund your wallet from a specific payment method.ShipmentService.generateForm
(String id, String formType) Generate a form for this shipment.Generate a form for this shipment.final SmartRate
ShipmentService.getLowestSmartRate
(List<SmartRate> smartRates, int deliveryDay, String deliveryAccuracy) Deprecated.ShipmentService.getSmartrates
(String id) Deprecated.UseShipmentService.smartrates(String, Map)
instead.ShipmentService.getSmartrates
(String id, Map<String, Object> params) Deprecated.UseShipmentService.smartrates(String, Map)
instead.Insure this Shipment.Label this Batch object.Label this Shipment.ShipmentService.lowestSmartRate
(String id, int deliveryDay, SmartrateAccuracy deliveryAccuracy) Get the lowest SmartRate for this Shipment.final SmartRate
ShipmentService.lowestSmartRate
(String id, int deliveryDay, String deliveryAccuracy) Deprecated.Get new rates for this Order.Get new rates for this Order.Get new rates for this Shipment.Get new rates for this Shipment.ShipmentService.recommendShipDate
(String id, String desiredDeliveryDate) Retrieve a recommended ship date for an existing Shipment via the Precision Shipping API, based on a specific desired delivery date.SmartRateService.recommendShipDate
(Map<String, Object> params) Retrieve a recommended ship date for an existing Shipment via the Precision Shipping API, based on a specific desired delivery date.Refund an Insurance from the API.Refund this Shipment.Refund this Shipment.BetaReferralCustomerService.refundByAmount
(int refundAmount) Refund by amount for a recent payment.BetaReferralCustomerService.refundByPaymentLog
(String paymentLogId) Refund a payment by a payment log ID.BatchService.removeShipments
(String id, List<Shipment> shipments) Remove shipments from this Batch object.BatchService.removeShipments
(String id, Map<String, Object> params) Remove shipments from this Batch object.protected String
Generate a report URL.Retrieve Address object from API.Retrieve a Batch object from the API.Retrieve a carrier account from the API.CarrierMetadataService.retrieve()
Retrieves all carrier metadata.Retrieves carrier metadata for given carriers.Retrieves carrier metadata for given carriers and types.Retrieve an Claim from the API.Retrieve a CustomsInfo from the API.Retrieve a CustomsItem from the API.Retrieve EndShipper object from API.Retrieve a Event from the API.Retrieve an Insurance from the API.Retrieve an Order object from the API.Retrieve a Parcel from the API.Retrieve a Pickup from the API.Retrieve a Rate from the API.Retrieve a Refund object from the API.Retrieve a Report from the API.Retrieve a ScanForm from the API.Retrieve a Shipment from the API.Retrieve a Tracker object from the API.Retrieve a User from the API.Retrieve a Webhook object from the API.EventService.retrieveAllPayloads
(String eventId) Retrieve all payloads.ApiKeyService.retrieveApiKeysForUser
(String id) Get this User's API keys.ShipmentService.retrieveEstimatedDeliveryDate
(String id, String plannedShipDate) Retrieves the estimated delivery date of each Rate via SmartRate.UserService.retrieveMe()
Retrieve your User from the API.EventService.retrievePayload
(String eventId, String payloadId) Retrieve a payload.BillingService.retrievePaymentMethods()
List all payment methods for this account.BetaRateService.retrieveStatelessRates
(HashMap<String, Object> params) List all StatelessRate objects.ShipmentService.smartrates
(String id) Get SmartRate for this Shipment.ShipmentService.smartrates
(String id, Map<String, Object> params) Get SmartRates for this Shipment.Update this carrier account.Update an EndShipper object.Update this User.Update this webhook.Update this webhook.UserService.updateBrand
(String id, Map<String, Object> params) Update the user brand.void
ReferralCustomerService.updateEmail
(String email, String userId) Update a Referral object email.Verify this Address object. -
Uses of EasyPostException 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.static SmartRate
Utilities.getLowestSmartRate
(List<SmartRate> smartrates, int deliveryDay, String deliveryAccuracy) Deprecated.static Event
Utilities.validateWebhook
(byte[] eventBody, Map<String, Object> headers, String webhookSecret) Validate a webhook by comparing the HMAC signature header sent from EasyPost to your shared secret.
TimeInTransit.getBySmartrateAccuracy(SmartrateAccuracy)
instead.