Package com.adyen.model.balanceplatform
Class RevealPinResponse
- java.lang.Object
-
- com.adyen.model.balanceplatform.RevealPinResponse
-
public class RevealPinResponse extends Object
RevealPinResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ENCRYPTED_PIN_BLOCKstatic StringJSON_PROPERTY_TOKEN
-
Constructor Summary
Constructors Constructor Description RevealPinResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RevealPinResponseencryptedPinBlock(String encryptedPinBlock)booleanequals(Object o)Return true if this RevealPinResponse object is equal to o.static RevealPinResponsefromJson(String jsonString)Create an instance of RevealPinResponse given an JSON stringStringgetEncryptedPinBlock()The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block).StringgetToken()The 16-digit token that you need to extract the `encryptedPinBlock`.inthashCode()voidsetEncryptedPinBlock(String encryptedPinBlock)The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block).voidsetToken(String token)The 16-digit token that you need to extract the `encryptedPinBlock`.StringtoJson()Convert an instance of RevealPinResponse to an JSON stringRevealPinResponsetoken(String token)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ENCRYPTED_PIN_BLOCK
public static final String JSON_PROPERTY_ENCRYPTED_PIN_BLOCK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOKEN
public static final String JSON_PROPERTY_TOKEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
encryptedPinBlock
public RevealPinResponse encryptedPinBlock(String encryptedPinBlock)
-
getEncryptedPinBlock
public String getEncryptedPinBlock()
The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block).- Returns:
- encryptedPinBlock
-
setEncryptedPinBlock
public void setEncryptedPinBlock(String encryptedPinBlock)
The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block).- Parameters:
encryptedPinBlock-
-
token
public RevealPinResponse token(String token)
-
getToken
public String getToken()
The 16-digit token that you need to extract the `encryptedPinBlock`.- Returns:
- token
-
setToken
public void setToken(String token)
The 16-digit token that you need to extract the `encryptedPinBlock`.- Parameters:
token-
-
equals
public boolean equals(Object o)
Return true if this RevealPinResponse object is equal to o.
-
fromJson
public static RevealPinResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of RevealPinResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RevealPinResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to RevealPinResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of RevealPinResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-