Package com.adyen.service
Class BinLookupApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.BinLookupApi
-
public class BinLookupApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description BinLookupApi(Client client)Default constructor inpackage.BinLookupApi(Client client, String baseURL)Alternative constructor inpackage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreeDSAvailabilityResponseget3dsAvailability(ThreeDSAvailabilityRequest threeDSAvailabilityRequest)Check if 3D Secure is availableThreeDSAvailabilityResponseget3dsAvailability(ThreeDSAvailabilityRequest threeDSAvailabilityRequest, RequestOptions requestOptions)Check if 3D Secure is availableCostEstimateResponsegetCostEstimate(CostEstimateRequest costEstimateRequest)Get a fees cost estimateCostEstimateResponsegetCostEstimate(CostEstimateRequest costEstimateRequest, RequestOptions requestOptions)Get a fees cost estimate-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Field Detail
-
API_VERSION
public static final String API_VERSION
- See Also:
- Constant Field Values
-
baseURL
protected String baseURL
-
-
Constructor Detail
-
BinLookupApi
public BinLookupApi(Client client)
Default constructor inpackage.- Parameters:
client-Client(required)
-
-
Method Detail
-
get3dsAvailability
public ThreeDSAvailabilityResponse get3dsAvailability(ThreeDSAvailabilityRequest threeDSAvailabilityRequest) throws ApiException, IOException
Check if 3D Secure is available- Parameters:
threeDSAvailabilityRequest-ThreeDSAvailabilityRequest(required)- Returns:
ThreeDSAvailabilityResponse- Throws:
ApiException- if fails to make API callIOException
-
get3dsAvailability
public ThreeDSAvailabilityResponse get3dsAvailability(ThreeDSAvailabilityRequest threeDSAvailabilityRequest, RequestOptions requestOptions) throws ApiException, IOException
Check if 3D Secure is available- Parameters:
threeDSAvailabilityRequest-ThreeDSAvailabilityRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ThreeDSAvailabilityResponse- Throws:
ApiException- if fails to make API callIOException
-
getCostEstimate
public CostEstimateResponse getCostEstimate(CostEstimateRequest costEstimateRequest) throws ApiException, IOException
Get a fees cost estimate- Parameters:
costEstimateRequest-CostEstimateRequest(required)- Returns:
CostEstimateResponse- Throws:
ApiException- if fails to make API callIOException
-
getCostEstimate
public CostEstimateResponse getCostEstimate(CostEstimateRequest costEstimateRequest, RequestOptions requestOptions) throws ApiException, IOException
Get a fees cost estimate- Parameters:
costEstimateRequest-CostEstimateRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
CostEstimateResponse- Throws:
ApiException- if fails to make API callIOException
-
-