Class UpdateAccountResponse
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.UpdateAccountResponse
-
public class UpdateAccountResponse extends Object
UpdateAccountResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateAccountResponse.PayoutSpeedEnumSpeed with which payouts for this account are processed.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_CODEstatic StringJSON_PROPERTY_BANK_ACCOUNT_U_U_I_Dstatic StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_INVALID_FIELDSstatic StringJSON_PROPERTY_METADATAstatic StringJSON_PROPERTY_PAYOUT_METHOD_CODEstatic StringJSON_PROPERTY_PAYOUT_SCHEDULEstatic StringJSON_PROPERTY_PAYOUT_SPEEDstatic StringJSON_PROPERTY_PSP_REFERENCEstatic StringJSON_PROPERTY_RESULT_CODE
-
Constructor Summary
Constructors Constructor Description UpdateAccountResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateAccountResponseaccountCode(String accountCode)UpdateAccountResponseaddInvalidFieldsItem(ErrorFieldType invalidFieldsItem)UpdateAccountResponsebankAccountUUID(String bankAccountUUID)UpdateAccountResponsedescription(String description)booleanequals(Object o)Return true if this UpdateAccountResponse object is equal to o.static UpdateAccountResponsefromJson(String jsonString)Create an instance of UpdateAccountResponse given an JSON stringStringgetAccountCode()The code of the account.StringgetBankAccountUUID()The bankAccountUUID of the bank account held by the account holder to couple the account with.StringgetDescription()The description of the account.List<ErrorFieldType>getInvalidFields()A list of fields that caused the `/updateAccount` request to fail.Map<String,String>getMetadata()A set of key and value pairs containing metadata.StringgetPayoutMethodCode()The payout method code held by the account holder to couple the account with.PayoutScheduleResponsegetPayoutSchedule()Get payoutScheduleUpdateAccountResponse.PayoutSpeedEnumgetPayoutSpeed()Speed with which payouts for this account are processed.StringgetPspReference()The reference of a request.StringgetResultCode()The result code.inthashCode()UpdateAccountResponseinvalidFields(List<ErrorFieldType> invalidFields)UpdateAccountResponsemetadata(Map<String,String> metadata)UpdateAccountResponsepayoutMethodCode(String payoutMethodCode)UpdateAccountResponsepayoutSchedule(PayoutScheduleResponse payoutSchedule)UpdateAccountResponsepayoutSpeed(UpdateAccountResponse.PayoutSpeedEnum payoutSpeed)UpdateAccountResponsepspReference(String pspReference)UpdateAccountResponseputMetadataItem(String key, String metadataItem)UpdateAccountResponseresultCode(String resultCode)voidsetAccountCode(String accountCode)voidsetBankAccountUUID(String bankAccountUUID)voidsetDescription(String description)voidsetInvalidFields(List<ErrorFieldType> invalidFields)voidsetMetadata(Map<String,String> metadata)voidsetPayoutMethodCode(String payoutMethodCode)voidsetPayoutSchedule(PayoutScheduleResponse payoutSchedule)voidsetPayoutSpeed(UpdateAccountResponse.PayoutSpeedEnum payoutSpeed)voidsetPspReference(String pspReference)voidsetResultCode(String resultCode)StringtoJson()Convert an instance of UpdateAccountResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_CODE
public static final String JSON_PROPERTY_ACCOUNT_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_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INVALID_FIELDS
public static final String JSON_PROPERTY_INVALID_FIELDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYOUT_METHOD_CODE
public static final String JSON_PROPERTY_PAYOUT_METHOD_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYOUT_SCHEDULE
public static final String JSON_PROPERTY_PAYOUT_SCHEDULE
- 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
-
accountCode
public UpdateAccountResponse accountCode(String accountCode)
-
getAccountCode
public String getAccountCode()
The code of the account.- Returns:
- accountCode
-
setAccountCode
public void setAccountCode(String accountCode)
-
bankAccountUUID
public UpdateAccountResponse bankAccountUUID(String bankAccountUUID)
-
getBankAccountUUID
public String getBankAccountUUID()
The bankAccountUUID of the bank account held by the account holder to couple the account with. Scheduled payouts in currencies matching the currency of this bank account will be sent to this bank account. Payouts in different currencies will be sent to a matching bank account of the account holder.- Returns:
- bankAccountUUID
-
setBankAccountUUID
public void setBankAccountUUID(String bankAccountUUID)
-
description
public UpdateAccountResponse description(String description)
-
getDescription
public String getDescription()
The description of the account.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
invalidFields
public UpdateAccountResponse invalidFields(List<ErrorFieldType> invalidFields)
-
addInvalidFieldsItem
public UpdateAccountResponse addInvalidFieldsItem(ErrorFieldType invalidFieldsItem)
-
getInvalidFields
public List<ErrorFieldType> getInvalidFields()
A list of fields that caused the `/updateAccount` request to fail.- Returns:
- invalidFields
-
setInvalidFields
public void setInvalidFields(List<ErrorFieldType> invalidFields)
-
metadata
public UpdateAccountResponse metadata(Map<String,String> metadata)
-
putMetadataItem
public UpdateAccountResponse putMetadataItem(String key, String metadataItem)
-
getMetadata
public Map<String,String> getMetadata()
A set of key and value pairs containing metadata.- Returns:
- metadata
-
payoutMethodCode
public UpdateAccountResponse payoutMethodCode(String payoutMethodCode)
-
getPayoutMethodCode
public String getPayoutMethodCode()
The payout method code held by the account holder to couple the account with. Scheduled card payouts will be sent using this payout method code.- Returns:
- payoutMethodCode
-
setPayoutMethodCode
public void setPayoutMethodCode(String payoutMethodCode)
-
payoutSchedule
public UpdateAccountResponse payoutSchedule(PayoutScheduleResponse payoutSchedule)
-
getPayoutSchedule
public PayoutScheduleResponse getPayoutSchedule()
Get payoutSchedule- Returns:
- payoutSchedule
-
setPayoutSchedule
public void setPayoutSchedule(PayoutScheduleResponse payoutSchedule)
-
payoutSpeed
public UpdateAccountResponse payoutSpeed(UpdateAccountResponse.PayoutSpeedEnum payoutSpeed)
-
getPayoutSpeed
public UpdateAccountResponse.PayoutSpeedEnum getPayoutSpeed()
Speed with which payouts for this account are processed. Permitted values: `STANDARD`, `SAME_DAY`.- Returns:
- payoutSpeed
-
setPayoutSpeed
public void setPayoutSpeed(UpdateAccountResponse.PayoutSpeedEnum payoutSpeed)
-
pspReference
public UpdateAccountResponse 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 UpdateAccountResponse 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 UpdateAccountResponse object is equal to o.
-
fromJson
public static UpdateAccountResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of UpdateAccountResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateAccountResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to UpdateAccountResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of UpdateAccountResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-