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.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.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()StoreDetailAndSubmitResponseincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.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.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.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- This field contains additional data, which may be returned in a particular response.- 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 This field contains additional data, which may be returned in a particular response.
-
setAdditionalData
public void setAdditionalData(Map<String,String> additionalData)
This field contains additional data, which may be returned in a particular response.- Parameters:
additionalData- This field contains additional data, which may be returned in a particular response.
-
pspReference
public StoreDetailAndSubmitResponse pspReference(String pspReference)
A new reference to uniquely identify this request.- Parameters:
pspReference- A new reference to uniquely identify this request.- Returns:
- the current
StoreDetailAndSubmitResponseinstance, allowing for method chaining
-
getPspReference
public String getPspReference()
A new reference to uniquely identify this request.- Returns:
- pspReference A new reference to uniquely identify this request.
-
setPspReference
public void setPspReference(String pspReference)
A new reference to uniquely identify this request.- Parameters:
pspReference- A new reference to uniquely identify this request.
-
refusalReason
public StoreDetailAndSubmitResponse refusalReason(String refusalReason)
In case of refusal, an informational message for the reason.- Parameters:
refusalReason- In case of refusal, an informational message for the reason.- Returns:
- the current
StoreDetailAndSubmitResponseinstance, allowing for method chaining
-
getRefusalReason
public String getRefusalReason()
In case of refusal, an informational message for the reason.- Returns:
- refusalReason In case of refusal, an informational message for the reason.
-
setRefusalReason
public void setRefusalReason(String refusalReason)
In case of refusal, an informational message for the reason.- Parameters:
refusalReason- In case of refusal, an informational message for the reason.
-
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- The response: * In case of success is payout-submit-received. * In case of an error, an informational message is returned.- 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 The response: * In case of success is payout-submit-received. * In case of an error, an informational message is returned.
-
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- The response: * In case of success is payout-submit-received. * In case of an error, an informational message is returned.
-
includeNullValues
public StoreDetailAndSubmitResponse includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this StoreDetailAndSubmitResponse object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-