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