Class EndShipperService
java.lang.Object
com.easypost.service.EndShipperService
-
Method Summary
Modifier and TypeMethodDescriptionList all EndShipper objects.Create EndShipper object from parameter map.Retrieve EndShipper object from API.Update an EndShipper object.
-
Method Details
-
create
Create EndShipper object from parameter map.- Parameters:
params
- Map of EndShipper parameters.- Returns:
- EndShipper object.
- Throws:
EasyPostException
- when the request fails.
-
retrieve
Retrieve EndShipper object from API.- Parameters:
id
- ID of EndShipper to retrieve.- Returns:
- EndShipper object.
- Throws:
EasyPostException
- when the request fails.
-
all
List all EndShipper objects.- Parameters:
params
- Map of parameters.- Returns:
- EndShipperCollection object.
- Throws:
EasyPostException
- when the request fails.
-
update
Update an EndShipper object.- Parameters:
id
- The ID of endshipper.params
- Map of parameters.- Returns:
- EndShipper object.
- Throws:
EasyPostException
- when the request fails.
-