Package com.adyen.model.recurring
Class ScheduleAccountUpdaterResult
- java.lang.Object
-
- com.adyen.model.recurring.ScheduleAccountUpdaterResult
-
public class ScheduleAccountUpdaterResult extends Object
ScheduleAccountUpdaterResult
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScheduleAccountUpdaterResult.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PSP_REFERENCEstatic StringSERIALIZED_NAME_RESULT
-
Constructor Summary
Constructors Constructor Description ScheduleAccountUpdaterResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ScheduleAccountUpdaterResultfromJson(String jsonString)Create an instance of ScheduleAccountUpdaterResult given an JSON stringStringgetPspReference()Adyen's 16-character unique reference associated with the transaction.StringgetResult()The result of scheduling an Account Updater.inthashCode()ScheduleAccountUpdaterResultpspReference(String pspReference)ScheduleAccountUpdaterResultresult(String result)voidsetPspReference(String pspReference)voidsetResult(String result)StringtoJson()Convert an instance of ScheduleAccountUpdaterResult 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_RESULT
public static final String SERIALIZED_NAME_RESULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
pspReference
public ScheduleAccountUpdaterResult pspReference(String pspReference)
-
getPspReference
public String getPspReference()
Adyen's 16-character unique reference associated with the transaction. This value is globally unique; quote it when communicating with us about this request.- Returns:
- pspReference
-
setPspReference
public void setPspReference(String pspReference)
-
result
public ScheduleAccountUpdaterResult result(String result)
-
getResult
public String getResult()
The result of scheduling an Account Updater. If scheduling was successful, this field returns **Success**; otherwise it contains the error message.- Returns:
- result
-
setResult
public void setResult(String result)
-
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 ScheduleAccountUpdaterResult
-
fromJson
public static ScheduleAccountUpdaterResult fromJson(String jsonString) throws IOException
Create an instance of ScheduleAccountUpdaterResult given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ScheduleAccountUpdaterResult
- Throws:
IOException- if the JSON string is invalid with respect to ScheduleAccountUpdaterResult
-
toJson
public String toJson()
Convert an instance of ScheduleAccountUpdaterResult to an JSON string- Returns:
- JSON string
-
-