Class PinFunctionalityApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.balanceplatform.PinFunctionalityApi
-
public class PinFunctionalityApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description PinFunctionalityApi(Client client)PIN functionality constructor inpackage.PinFunctionalityApi(Client client, String baseURL)PIN functionality constructor inpackage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PinChangeResponsechangePin(PinChangeRequest pinChangeRequest)Change PinPinChangeResponsechangePin(PinChangeRequest pinChangeRequest, RequestOptions requestOptions)Change PinPublicKeyResponsegetRsaPublickey()Get RSA publicKeyPublicKeyResponsegetRsaPublickey(String purpose, String format, RequestOptions requestOptions)Get RSA publicKeyRevealPinResponserevealPin(RevealPinRequest revealPinRequest)Reveal PinRevealPinResponserevealPin(RevealPinRequest revealPinRequest, RequestOptions requestOptions)Reveal Pin-
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
-
PinFunctionalityApi
public PinFunctionalityApi(Client client)
PIN functionality constructor inpackage.- Parameters:
client-Client(required)
-
-
Method Detail
-
changePin
public PinChangeResponse changePin(PinChangeRequest pinChangeRequest) throws ApiException, IOException
Change Pin- Parameters:
pinChangeRequest-PinChangeRequest(required)- Returns:
PinChangeResponse- Throws:
ApiException- if fails to make API callIOException
-
changePin
public PinChangeResponse changePin(PinChangeRequest pinChangeRequest, RequestOptions requestOptions) throws ApiException, IOException
Change Pin- Parameters:
pinChangeRequest-PinChangeRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PinChangeResponse- Throws:
ApiException- if fails to make API callIOException
-
getRsaPublickey
public PublicKeyResponse getRsaPublickey() throws ApiException, IOException
Get RSA publicKey- Returns:
PublicKeyResponse- Throws:
ApiException- if fails to make API callIOException
-
getRsaPublickey
public PublicKeyResponse getRsaPublickey(String purpose, String format, RequestOptions requestOptions) throws ApiException, IOException
Get RSA publicKey- Parameters:
purpose-StringQuery: Purpose of publicKey. (optional)format-StringQuery: Format of publicKey. (optional)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PublicKeyResponse- Throws:
ApiException- if fails to make API callIOException
-
revealPin
public RevealPinResponse revealPin(RevealPinRequest revealPinRequest) throws ApiException, IOException
Reveal Pin- Parameters:
revealPinRequest-RevealPinRequest(required)- Returns:
RevealPinResponse- Throws:
ApiException- if fails to make API callIOException
-
revealPin
public RevealPinResponse revealPin(RevealPinRequest revealPinRequest, RequestOptions requestOptions) throws ApiException, IOException
Reveal Pin- Parameters:
revealPinRequest-RevealPinRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
RevealPinResponse- Throws:
ApiException- if fails to make API callIOException
-
-