Package com.adyen.model.marketpayfund
Class PayoutAccountHolderResponse
- java.lang.Object
-
- com.adyen.model.marketpayfund.PayoutAccountHolderResponse
-
public class PayoutAccountHolderResponse extends Object
PayoutAccountHolderResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayoutAccountHolderResponse.PayoutSpeedEnumSpeed with which payouts for this account are processed.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BANK_ACCOUNT_U_U_I_Dstatic StringJSON_PROPERTY_INVALID_FIELDSstatic StringJSON_PROPERTY_MERCHANT_REFERENCEstatic StringJSON_PROPERTY_PAYOUT_SPEEDstatic StringJSON_PROPERTY_PSP_REFERENCEstatic StringJSON_PROPERTY_RESULT_CODE
-
Constructor Summary
Constructors Constructor Description PayoutAccountHolderResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PayoutAccountHolderResponseaddInvalidFieldsItem(ErrorFieldType invalidFieldsItem)PayoutAccountHolderResponsebankAccountUUID(String bankAccountUUID)booleanequals(Object o)Return true if this PayoutAccountHolderResponse object is equal to o.static PayoutAccountHolderResponsefromJson(String jsonString)Create an instance of PayoutAccountHolderResponse given an JSON stringStringgetBankAccountUUID()The unique ID of the Bank Account to which the payout was made.List<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.PayoutAccountHolderResponse.PayoutSpeedEnumgetPayoutSpeed()Speed with which payouts for this account are processed.StringgetPspReference()The reference of a request.StringgetResultCode()The result code.inthashCode()PayoutAccountHolderResponseinvalidFields(List<ErrorFieldType> invalidFields)PayoutAccountHolderResponsemerchantReference(String merchantReference)PayoutAccountHolderResponsepayoutSpeed(PayoutAccountHolderResponse.PayoutSpeedEnum payoutSpeed)PayoutAccountHolderResponsepspReference(String pspReference)PayoutAccountHolderResponseresultCode(String resultCode)voidsetBankAccountUUID(String bankAccountUUID)voidsetInvalidFields(List<ErrorFieldType> invalidFields)voidsetMerchantReference(String merchantReference)voidsetPayoutSpeed(PayoutAccountHolderResponse.PayoutSpeedEnum payoutSpeed)voidsetPspReference(String pspReference)voidsetResultCode(String resultCode)StringtoJson()Convert an instance of PayoutAccountHolderResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
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_REFERENCE
public static final String JSON_PROPERTY_MERCHANT_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYOUT_SPEED
public static final String JSON_PROPERTY_PAYOUT_SPEED
- 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
-
bankAccountUUID
public PayoutAccountHolderResponse bankAccountUUID(String bankAccountUUID)
-
getBankAccountUUID
public String getBankAccountUUID()
The unique ID of the Bank Account to which the payout was made.- Returns:
- bankAccountUUID
-
setBankAccountUUID
public void setBankAccountUUID(String bankAccountUUID)
-
invalidFields
public PayoutAccountHolderResponse invalidFields(List<ErrorFieldType> invalidFields)
-
addInvalidFieldsItem
public PayoutAccountHolderResponse 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 PayoutAccountHolderResponse 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)
-
payoutSpeed
public PayoutAccountHolderResponse payoutSpeed(PayoutAccountHolderResponse.PayoutSpeedEnum payoutSpeed)
-
getPayoutSpeed
public PayoutAccountHolderResponse.PayoutSpeedEnum getPayoutSpeed()
Speed with which payouts for this account are processed. Permitted values: `STANDARD`, `SAME_DAY`.- Returns:
- payoutSpeed
-
setPayoutSpeed
public void setPayoutSpeed(PayoutAccountHolderResponse.PayoutSpeedEnum payoutSpeed)
-
pspReference
public PayoutAccountHolderResponse 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 PayoutAccountHolderResponse 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 PayoutAccountHolderResponse object is equal to o.
-
fromJson
public static PayoutAccountHolderResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PayoutAccountHolderResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PayoutAccountHolderResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PayoutAccountHolderResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PayoutAccountHolderResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-