Package com.adyen.model.payout
Class ModifyResponse
- java.lang.Object
-
- com.adyen.model.payout.ModifyResponse
-
public class ModifyResponse extends Object
ModifyResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDITIONAL_DATAstatic StringJSON_PROPERTY_PSP_REFERENCEstatic StringJSON_PROPERTY_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)This field contains additional data, which may be returned in a particular response.booleanequals(Object o)Return true if this ModifyResponse object is equal to 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`. * In case of an error, an informational message is returned.inthashCode()ModifyResponsepspReference(String pspReference)Adyen's 16-character string reference associated with the transaction.ModifyResponseputAdditionalDataItem(String key, String additionalDataItem)ModifyResponseresponse(String response)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.voidsetAdditionalData(Map<String,String> additionalData)This field contains additional data, which may be returned in a particular response.voidsetPspReference(String pspReference)Adyen's 16-character string reference associated with the transaction.voidsetResponse(String response)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.StringtoJson()Convert an instance of ModifyResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ADDITIONAL_DATA
public static final String JSON_PROPERTY_ADDITIONAL_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PSP_REFERENCE
public static final String JSON_PROPERTY_PSP_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESPONSE
public static final String JSON_PROPERTY_RESPONSE
- See Also:
- Constant Field Values
-
-
Method Detail
-
additionalData
public ModifyResponse additionalData(Map<String,String> additionalData)
This field contains additional data, which may be returned in a particular response.- Parameters:
additionalData-- Returns:
- the current
ModifyResponseinstance, allowing for method chaining
-
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
-
setAdditionalData
public void setAdditionalData(Map<String,String> additionalData)
This field contains additional data, which may be returned in a particular response.- Parameters:
additionalData-
-
pspReference
public ModifyResponse pspReference(String pspReference)
Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response.- Parameters:
pspReference-- Returns:
- the current
ModifyResponseinstance, allowing for method chaining
-
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)
Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response.- Parameters:
pspReference-
-
response
public ModifyResponse response(String response)
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.- Parameters:
response-- Returns:
- the current
ModifyResponseinstance, allowing for method chaining
-
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)
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.- Parameters:
response-
-
equals
public boolean equals(Object o)
Return true if this ModifyResponse object is equal to o.
-
fromJson
public static ModifyResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ModifyResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ModifyResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ModifyResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ModifyResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-