Package com.adyen.model.balanceplatform
Class PinChangeRequest
- java.lang.Object
-
- com.adyen.model.balanceplatform.PinChangeRequest
-
public class PinChangeRequest extends Object
PinChangeRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ENCRYPTED_KEYstatic StringJSON_PROPERTY_ENCRYPTED_PIN_BLOCKstatic StringJSON_PROPERTY_PAYMENT_INSTRUMENT_IDstatic StringJSON_PROPERTY_TOKEN
-
Constructor Summary
Constructors Constructor Description PinChangeRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PinChangeRequestencryptedKey(String encryptedKey)PinChangeRequestencryptedPinBlock(String encryptedPinBlock)booleanequals(Object o)Return true if this PinChangeRequest object is equal to o.static PinChangeRequestfromJson(String jsonString)Create an instance of PinChangeRequest given an JSON stringStringgetEncryptedKey()Symmetric session key encrypted under the public key.StringgetEncryptedPinBlock()The encrypted PIN blockStringgetPaymentInstrumentId()The unique identifier of the payment instrument.StringgetToken()The token which is used to construct the pinblock.inthashCode()PinChangeRequestpaymentInstrumentId(String paymentInstrumentId)voidsetEncryptedKey(String encryptedKey)Symmetric session key encrypted under the public key.voidsetEncryptedPinBlock(String encryptedPinBlock)The encrypted PIN blockvoidsetPaymentInstrumentId(String paymentInstrumentId)The unique identifier of the payment instrument.voidsetToken(String token)The token which is used to construct the pinblock.StringtoJson()Convert an instance of PinChangeRequest to an JSON stringPinChangeRequesttoken(String token)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ENCRYPTED_KEY
public static final String JSON_PROPERTY_ENCRYPTED_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENCRYPTED_PIN_BLOCK
public static final String JSON_PROPERTY_ENCRYPTED_PIN_BLOCK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_INSTRUMENT_ID
public static final String JSON_PROPERTY_PAYMENT_INSTRUMENT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOKEN
public static final String JSON_PROPERTY_TOKEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
encryptedKey
public PinChangeRequest encryptedKey(String encryptedKey)
-
getEncryptedKey
public String getEncryptedKey()
Symmetric session key encrypted under the public key.- Returns:
- encryptedKey
-
setEncryptedKey
public void setEncryptedKey(String encryptedKey)
Symmetric session key encrypted under the public key.- Parameters:
encryptedKey-
-
encryptedPinBlock
public PinChangeRequest encryptedPinBlock(String encryptedPinBlock)
-
getEncryptedPinBlock
public String getEncryptedPinBlock()
The encrypted PIN block- Returns:
- encryptedPinBlock
-
setEncryptedPinBlock
public void setEncryptedPinBlock(String encryptedPinBlock)
The encrypted PIN block- Parameters:
encryptedPinBlock-
-
paymentInstrumentId
public PinChangeRequest paymentInstrumentId(String paymentInstrumentId)
-
getPaymentInstrumentId
public String getPaymentInstrumentId()
The unique identifier of the payment instrument.- Returns:
- paymentInstrumentId
-
setPaymentInstrumentId
public void setPaymentInstrumentId(String paymentInstrumentId)
The unique identifier of the payment instrument.- Parameters:
paymentInstrumentId-
-
token
public PinChangeRequest token(String token)
-
getToken
public String getToken()
The token which is used to construct the pinblock.- Returns:
- token
-
setToken
public void setToken(String token)
The token which is used to construct the pinblock.- Parameters:
token-
-
equals
public boolean equals(Object o)
Return true if this PinChangeRequest object is equal to o.
-
fromJson
public static PinChangeRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PinChangeRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PinChangeRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PinChangeRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PinChangeRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-