Package com.adyen.model.recurring
Class DisablePermitResult
- java.lang.Object
-
- com.adyen.model.recurring.DisablePermitResult
-
public class DisablePermitResult extends Object
DisablePermitResult
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDisablePermitResult.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PSP_REFERENCEstatic StringSERIALIZED_NAME_STATUS
-
Constructor Summary
Constructors Constructor Description DisablePermitResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static DisablePermitResultfromJson(String jsonString)Create an instance of DisablePermitResult given an JSON stringStringgetPspReference()A unique reference associated with the request.StringgetStatus()Status of the disable request.inthashCode()DisablePermitResultpspReference(String pspReference)voidsetPspReference(String pspReference)voidsetStatus(String status)DisablePermitResultstatus(String status)StringtoJson()Convert an instance of DisablePermitResult to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_PSP_REFERENCE
public static final String SERIALIZED_NAME_PSP_REFERENCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
pspReference
public DisablePermitResult pspReference(String pspReference)
-
getPspReference
public String getPspReference()
A unique reference associated with the request. This value is globally unique; quote it when communicating with us about this request.- Returns:
- pspReference
-
setPspReference
public void setPspReference(String pspReference)
-
status
public DisablePermitResult status(String status)
-
getStatus
public String getStatus()
Status of the disable request.- Returns:
- status
-
setStatus
public void setStatus(String status)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to DisablePermitResult
-
fromJson
public static DisablePermitResult fromJson(String jsonString) throws IOException
Create an instance of DisablePermitResult given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DisablePermitResult
- Throws:
IOException- if the JSON string is invalid with respect to DisablePermitResult
-
toJson
public String toJson()
Convert an instance of DisablePermitResult to an JSON string- Returns:
- JSON string
-
-