Class ParcelService
java.lang.Object
com.easypost.service.ParcelService
-
Method Summary
-
Method Details
-
create
Create a Parcel from a map of parameters.- Parameters:
params
- The map of the parameters to create a Parcel from.- Returns:
- Parcel object.
- Throws:
EasyPostException
- when the request fails.
-
retrieve
Retrieve a Parcel from the API.- Parameters:
id
- The ID of the Parcel to retrieve.- Returns:
- Parcel object.
- Throws:
EasyPostException
- when the request fails.
-