Package com.adyen.model.payout
Class StoreDetailAndSubmitResponse
- java.lang.Object
-
- com.adyen.model.payout.StoreDetailAndSubmitResponse
-
public class StoreDetailAndSubmitResponse extends Object
StoreDetailAndSubmitResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDITIONAL_DATAstatic StringJSON_PROPERTY_PSP_REFERENCEstatic StringJSON_PROPERTY_REFUSAL_REASONstatic StringJSON_PROPERTY_RESULT_CODE
-
Constructor Summary
Constructors Constructor Description StoreDetailAndSubmitResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StoreDetailAndSubmitResponseadditionalData(Map<String,String> additionalData)This field contains additional data, which may be returned in a particular response.booleanequals(Object o)Return true if this StoreDetailAndSubmitResponse object is equal to o.static StoreDetailAndSubmitResponsefromJson(String jsonString)Create an instance of StoreDetailAndSubmitResponse given an JSON stringMap<String,String>getAdditionalData()This field contains additional data, which may be returned in a particular response.StringgetPspReference()A new reference to uniquely identify this request.StringgetRefusalReason()In case of refusal, an informational message for the reason.StringgetResultCode()The response: * In case of success is payout-submit-received. * In case of an error, an informational message is returned.inthashCode()StoreDetailAndSubmitResponsepspReference(String pspReference)A new reference to uniquely identify this request.StoreDetailAndSubmitResponseputAdditionalDataItem(String key, String additionalDataItem)StoreDetailAndSubmitResponserefusalReason(String refusalReason)In case of refusal, an informational message for the reason.StoreDetailAndSubmitResponseresultCode(String resultCode)The response: * In case of success is payout-submit-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)A new reference to uniquely identify this request.voidsetRefusalReason(String refusalReason)In case of refusal, an informational message for the reason.voidsetResultCode(String resultCode)The response: * In case of success is payout-submit-received. * In case of an error, an informational message is returned.StringtoJson()Convert an instance of StoreDetailAndSubmitResponse 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_REFUSAL_REASON
public static final String JSON_PROPERTY_REFUSAL_REASON
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESULT_CODE
public static final String JSON_PROPERTY_RESULT_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
additionalData
public StoreDetailAndSubmitResponse additionalData(Map<String,String> additionalData)
This field contains additional data, which may be returned in a particular response.- Parameters:
additionalData-- Returns:
- the current
StoreDetailAndSubmitResponseinstance, allowing for method chaining
-
putAdditionalDataItem
public StoreDetailAndSubmitResponse 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 StoreDetailAndSubmitResponse pspReference(String pspReference)
A new reference to uniquely identify this request.- Parameters:
pspReference-- Returns:
- the current
StoreDetailAndSubmitResponseinstance, allowing for method chaining
-
getPspReference
public String getPspReference()
A new reference to uniquely identify this request.- Returns:
- pspReference
-
setPspReference
public void setPspReference(String pspReference)
A new reference to uniquely identify this request.- Parameters:
pspReference-
-
refusalReason
public StoreDetailAndSubmitResponse refusalReason(String refusalReason)
In case of refusal, an informational message for the reason.- Parameters:
refusalReason-- Returns:
- the current
StoreDetailAndSubmitResponseinstance, allowing for method chaining
-
getRefusalReason
public String getRefusalReason()
In case of refusal, an informational message for the reason.- Returns:
- refusalReason
-
setRefusalReason
public void setRefusalReason(String refusalReason)
In case of refusal, an informational message for the reason.- Parameters:
refusalReason-
-
resultCode
public StoreDetailAndSubmitResponse resultCode(String resultCode)
The response: * In case of success is payout-submit-received. * In case of an error, an informational message is returned.- Parameters:
resultCode-- Returns:
- the current
StoreDetailAndSubmitResponseinstance, allowing for method chaining
-
getResultCode
public String getResultCode()
The response: * In case of success is payout-submit-received. * In case of an error, an informational message is returned.- Returns:
- resultCode
-
setResultCode
public void setResultCode(String resultCode)
The response: * In case of success is payout-submit-received. * In case of an error, an informational message is returned.- Parameters:
resultCode-
-
equals
public boolean equals(Object o)
Return true if this StoreDetailAndSubmitResponse object is equal to o.
-
fromJson
public static StoreDetailAndSubmitResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of StoreDetailAndSubmitResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StoreDetailAndSubmitResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to StoreDetailAndSubmitResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of StoreDetailAndSubmitResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-