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