Package com.adyen.model.marketpayfund
Class TransferFundsResponse
- java.lang.Object
-
- com.adyen.model.marketpayfund.TransferFundsResponse
-
public class TransferFundsResponse extends Object
TransferFundsResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_INVALID_FIELDSstatic StringJSON_PROPERTY_MERCHANT_REFERENCEstatic StringJSON_PROPERTY_PSP_REFERENCEstatic StringJSON_PROPERTY_RESULT_CODE
-
Constructor Summary
Constructors Constructor Description TransferFundsResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferFundsResponseaddInvalidFieldsItem(ErrorFieldType invalidFieldsItem)booleanequals(Object o)Return true if this TransferFundsResponse object is equal to o.static TransferFundsResponsefromJson(String jsonString)Create an instance of TransferFundsResponse given an JSON stringList<ErrorFieldType>getInvalidFields()Contains field validation errors that would prevent requests from being processed.StringgetMerchantReference()The value supplied by the executing user when initiating the transfer; may be used to link multiple transactions.StringgetPspReference()The reference of a request.StringgetResultCode()The result code.inthashCode()TransferFundsResponseinvalidFields(List<ErrorFieldType> invalidFields)TransferFundsResponsemerchantReference(String merchantReference)TransferFundsResponsepspReference(String pspReference)TransferFundsResponseresultCode(String resultCode)voidsetInvalidFields(List<ErrorFieldType> invalidFields)voidsetMerchantReference(String merchantReference)voidsetPspReference(String pspReference)voidsetResultCode(String resultCode)StringtoJson()Convert an instance of TransferFundsResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_INVALID_FIELDS
public static final String JSON_PROPERTY_INVALID_FIELDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_REFERENCE
public static final String JSON_PROPERTY_MERCHANT_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PSP_REFERENCE
public static final String JSON_PROPERTY_PSP_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESULT_CODE
public static final String JSON_PROPERTY_RESULT_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
invalidFields
public TransferFundsResponse invalidFields(List<ErrorFieldType> invalidFields)
-
addInvalidFieldsItem
public TransferFundsResponse addInvalidFieldsItem(ErrorFieldType invalidFieldsItem)
-
getInvalidFields
public List<ErrorFieldType> getInvalidFields()
Contains field validation errors that would prevent requests from being processed.- Returns:
- invalidFields
-
setInvalidFields
public void setInvalidFields(List<ErrorFieldType> invalidFields)
-
merchantReference
public TransferFundsResponse merchantReference(String merchantReference)
-
getMerchantReference
public String getMerchantReference()
The value supplied by the executing user when initiating the transfer; may be used to link multiple transactions.- Returns:
- merchantReference
-
setMerchantReference
public void setMerchantReference(String merchantReference)
-
pspReference
public TransferFundsResponse pspReference(String pspReference)
-
getPspReference
public String getPspReference()
The reference of a request. Can be used to uniquely identify the request.- Returns:
- pspReference
-
setPspReference
public void setPspReference(String pspReference)
-
resultCode
public TransferFundsResponse resultCode(String resultCode)
-
getResultCode
public String getResultCode()
The result code.- Returns:
- resultCode
-
setResultCode
public void setResultCode(String resultCode)
-
equals
public boolean equals(Object o)
Return true if this TransferFundsResponse object is equal to o.
-
fromJson
public static TransferFundsResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TransferFundsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransferFundsResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TransferFundsResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TransferFundsResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-