Package com.adyen.model.balanceplatform
Class PinChangeResponse
- java.lang.Object
-
- com.adyen.model.balanceplatform.PinChangeResponse
-
public class PinChangeResponse extends Object
PinChangeResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPinChangeResponse.StatusEnumThe status of the request for PIN change.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_STATUS
-
Constructor Summary
Constructors Constructor Description PinChangeResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this PinChangeResponse object is equal to o.static PinChangeResponsefromJson(String jsonString)Create an instance of PinChangeResponse given an JSON stringPinChangeResponse.StatusEnumgetStatus()The status of the request for PIN change.inthashCode()voidsetStatus(PinChangeResponse.StatusEnum status)The status of the request for PIN change.PinChangeResponsestatus(PinChangeResponse.StatusEnum status)The status of the request for PIN change.StringtoJson()Convert an instance of PinChangeResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
status
public PinChangeResponse status(PinChangeResponse.StatusEnum status)
The status of the request for PIN change. Possible values: **completed**, **pending**, **unavailable**.- Parameters:
status-- Returns:
- the current
PinChangeResponseinstance, allowing for method chaining
-
getStatus
public PinChangeResponse.StatusEnum getStatus()
The status of the request for PIN change. Possible values: **completed**, **pending**, **unavailable**.- Returns:
- status
-
setStatus
public void setStatus(PinChangeResponse.StatusEnum status)
The status of the request for PIN change. Possible values: **completed**, **pending**, **unavailable**.- Parameters:
status-
-
equals
public boolean equals(Object o)
Return true if this PinChangeResponse object is equal to o.
-
fromJson
public static PinChangeResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PinChangeResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PinChangeResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PinChangeResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PinChangeResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-