Package com.adyen.model.marketpayfund
Class DebitAccountHolderResponse
- java.lang.Object
-
- com.adyen.model.marketpayfund.DebitAccountHolderResponse
-
public class DebitAccountHolderResponse extends Object
DebitAccountHolderResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDER_CODEstatic StringJSON_PROPERTY_BANK_ACCOUNT_U_U_I_Dstatic StringJSON_PROPERTY_INVALID_FIELDSstatic StringJSON_PROPERTY_MERCHANT_REFERENCESstatic StringJSON_PROPERTY_PSP_REFERENCEstatic StringJSON_PROPERTY_RESULT_CODE
-
Constructor Summary
Constructors Constructor Description DebitAccountHolderResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DebitAccountHolderResponseaccountHolderCode(String accountHolderCode)DebitAccountHolderResponseaddInvalidFieldsItem(ErrorFieldType invalidFieldsItem)DebitAccountHolderResponseaddMerchantReferencesItem(String merchantReferencesItem)DebitAccountHolderResponsebankAccountUUID(String bankAccountUUID)booleanequals(Object o)Return true if this DebitAccountHolderResponse object is equal to o.static DebitAccountHolderResponsefromJson(String jsonString)Create an instance of DebitAccountHolderResponse given an JSON stringStringgetAccountHolderCode()The code of the account holder.StringgetBankAccountUUID()The Adyen-generated unique alphanumeric identifier (UUID) of the account holder's bank account.List<ErrorFieldType>getInvalidFields()Contains field validation errors that would prevent requests from being processed.List<String>getMerchantReferences()List of the `reference` values from the `split` array in the request.StringgetPspReference()The reference of a request.StringgetResultCode()The result code.inthashCode()DebitAccountHolderResponseinvalidFields(List<ErrorFieldType> invalidFields)DebitAccountHolderResponsemerchantReferences(List<String> merchantReferences)DebitAccountHolderResponsepspReference(String pspReference)DebitAccountHolderResponseresultCode(String resultCode)voidsetAccountHolderCode(String accountHolderCode)voidsetBankAccountUUID(String bankAccountUUID)voidsetInvalidFields(List<ErrorFieldType> invalidFields)voidsetMerchantReferences(List<String> merchantReferences)voidsetPspReference(String pspReference)voidsetResultCode(String resultCode)StringtoJson()Convert an instance of DebitAccountHolderResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_HOLDER_CODE
public static final String JSON_PROPERTY_ACCOUNT_HOLDER_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_ACCOUNT_U_U_I_D
public static final String JSON_PROPERTY_BANK_ACCOUNT_U_U_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INVALID_FIELDS
public static final String JSON_PROPERTY_INVALID_FIELDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_REFERENCES
public static final String JSON_PROPERTY_MERCHANT_REFERENCES
- 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
-
accountHolderCode
public DebitAccountHolderResponse accountHolderCode(String accountHolderCode)
-
getAccountHolderCode
public String getAccountHolderCode()
The code of the account holder.- Returns:
- accountHolderCode
-
setAccountHolderCode
public void setAccountHolderCode(String accountHolderCode)
-
bankAccountUUID
public DebitAccountHolderResponse bankAccountUUID(String bankAccountUUID)
-
getBankAccountUUID
public String getBankAccountUUID()
The Adyen-generated unique alphanumeric identifier (UUID) of the account holder's bank account.- Returns:
- bankAccountUUID
-
setBankAccountUUID
public void setBankAccountUUID(String bankAccountUUID)
-
invalidFields
public DebitAccountHolderResponse invalidFields(List<ErrorFieldType> invalidFields)
-
addInvalidFieldsItem
public DebitAccountHolderResponse 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)
-
merchantReferences
public DebitAccountHolderResponse merchantReferences(List<String> merchantReferences)
-
addMerchantReferencesItem
public DebitAccountHolderResponse addMerchantReferencesItem(String merchantReferencesItem)
-
getMerchantReferences
public List<String> getMerchantReferences()
List of the `reference` values from the `split` array in the request.- Returns:
- merchantReferences
-
pspReference
public DebitAccountHolderResponse 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 DebitAccountHolderResponse 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 DebitAccountHolderResponse object is equal to o.
-
fromJson
public static DebitAccountHolderResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of DebitAccountHolderResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DebitAccountHolderResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to DebitAccountHolderResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of DebitAccountHolderResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-