Package com.adyen.model.payout
Class ModifyResponse
- java.lang.Object
-
- com.adyen.model.payout.ModifyResponse
-
public class ModifyResponse extends Object
ModifyResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModifyResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ADDITIONAL_DATAstatic StringSERIALIZED_NAME_PSP_REFERENCEstatic StringSERIALIZED_NAME_RESPONSE
-
Constructor Summary
Constructors Constructor Description ModifyResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyResponseadditionalData(Map<String,String> additionalData)booleanequals(Object o)static ModifyResponsefromJson(String jsonString)Create an instance of ModifyResponse given an JSON stringMap<String,String>getAdditionalData()This field contains additional data, which may be returned in a particular response.StringgetPspReference()Adyen's 16-character string reference associated with the transaction.StringgetResponse()The response: * In case of success, it is either `payout-confirm-received` or `payout-decline-received`.inthashCode()ModifyResponsepspReference(String pspReference)ModifyResponseputAdditionalDataItem(String key, String additionalDataItem)ModifyResponseresponse(String response)voidsetAdditionalData(Map<String,String> additionalData)voidsetPspReference(String pspReference)voidsetResponse(String response)StringtoJson()Convert an instance of ModifyResponse 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_ADDITIONAL_DATA
public static final String SERIALIZED_NAME_ADDITIONAL_DATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PSP_REFERENCE
public static final String SERIALIZED_NAME_PSP_REFERENCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESPONSE
public static final String SERIALIZED_NAME_RESPONSE
- See Also:
- Constant Field Values
-
-
Method Detail
-
additionalData
public ModifyResponse additionalData(Map<String,String> additionalData)
-
putAdditionalDataItem
public ModifyResponse putAdditionalDataItem(String key, String additionalDataItem)
-
getAdditionalData
public Map<String,String> getAdditionalData()
This field contains additional data, which may be returned in a particular response.- Returns:
- additionalData
-
pspReference
public ModifyResponse pspReference(String pspReference)
-
getPspReference
public String getPspReference()
Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response.- Returns:
- pspReference
-
setPspReference
public void setPspReference(String pspReference)
-
response
public ModifyResponse response(String response)
-
getResponse
public String getResponse()
The response: * In case of success, it is either `payout-confirm-received` or `payout-decline-received`. * In case of an error, an informational message is returned.- Returns:
- response
-
setResponse
public void setResponse(String response)
-
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 ModifyResponse
-
fromJson
public static ModifyResponse fromJson(String jsonString) throws IOException
Create an instance of ModifyResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ModifyResponse
- Throws:
IOException- if the JSON string is invalid with respect to ModifyResponse
-
toJson
public String toJson()
Convert an instance of ModifyResponse to an JSON string- Returns:
- JSON string
-
-