Package cloud.pangeacyber.pangea.embargo
Class EmbargoClient
java.lang.Object
cloud.pangeacyber.pangea.Client
cloud.pangeacyber.pangea.embargo.EmbargoClient
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCheck IPISO Code CheckMethods inherited from class cloud.pangeacyber.pangea.Client
buildClient, buildPostRequest, doPost, fillPostHeaders, setCustomHeaders, setCustomUserAgent
-
Field Details
-
serviceName
-
-
Constructor Details
-
EmbargoClient
-
-
Method Details
-
isoCheck
ISO Code Check- Parameters:
isoCode- Check the country against code the enabled embargo lists.- Returns:
- IsoCheckResponse
- Throws:
PangeaExceptionPangeaAPIException- Description:
- Check a country code against known sanction and trade embargo lists.
- Example:
IsoCheckResponse response = client.isoCheck("CU");
-
ipCheck
Check IP- Parameters:
ip- Geolocate this IP and check the corresponding country against the enabled embargo lists.- Returns:
- IpCheckResponse
- Throws:
PangeaExceptionPangeaAPIException- Description:
- Check an IP against known sanction and trade embargo lists.
- Example:
IpCheckResponse response = client.ipCheck("213.24.238.26");
-