Class AccountHolderPayoutNotificationContent
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.AccountHolderPayoutNotificationContent
-
public class AccountHolderPayoutNotificationContent extends Object
AccountHolderPayoutNotificationContent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountHolderPayoutNotificationContent.PayoutSpeedEnumSpeed with which payouts for this account are processed.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_CODEstatic StringJSON_PROPERTY_ACCOUNT_HOLDER_CODEstatic StringJSON_PROPERTY_AMOUNTSstatic StringJSON_PROPERTY_BANK_ACCOUNT_DETAILstatic StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_ESTIMATED_ARRIVAL_DATEstatic StringJSON_PROPERTY_INVALID_FIELDSstatic StringJSON_PROPERTY_MERCHANT_REFERENCEstatic StringJSON_PROPERTY_ORIGINAL_PSP_REFERENCEstatic StringJSON_PROPERTY_PAYOUT_ACCOUNT_COUNTRYstatic StringJSON_PROPERTY_PAYOUT_ACCOUNT_NUMBERstatic StringJSON_PROPERTY_PAYOUT_BALANCE_ACCOUNT_IDstatic StringJSON_PROPERTY_PAYOUT_BANK_NAMEstatic StringJSON_PROPERTY_PAYOUT_BRANCH_CODEstatic StringJSON_PROPERTY_PAYOUT_REFERENCEstatic StringJSON_PROPERTY_PAYOUT_SPEEDstatic StringJSON_PROPERTY_STATUS
-
Constructor Summary
Constructors Constructor Description AccountHolderPayoutNotificationContent()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_CODE
public static final String JSON_PROPERTY_ACCOUNT_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACCOUNT_HOLDER_CODE
public static final String JSON_PROPERTY_ACCOUNT_HOLDER_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AMOUNTS
public static final String JSON_PROPERTY_AMOUNTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_ACCOUNT_DETAIL
public static final String JSON_PROPERTY_BANK_ACCOUNT_DETAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ESTIMATED_ARRIVAL_DATE
public static final String JSON_PROPERTY_ESTIMATED_ARRIVAL_DATE
- 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_ORIGINAL_PSP_REFERENCE
public static final String JSON_PROPERTY_ORIGINAL_PSP_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYOUT_ACCOUNT_COUNTRY
public static final String JSON_PROPERTY_PAYOUT_ACCOUNT_COUNTRY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYOUT_ACCOUNT_NUMBER
public static final String JSON_PROPERTY_PAYOUT_ACCOUNT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYOUT_BALANCE_ACCOUNT_ID
public static final String JSON_PROPERTY_PAYOUT_BALANCE_ACCOUNT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYOUT_BANK_NAME
public static final String JSON_PROPERTY_PAYOUT_BANK_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYOUT_BRANCH_CODE
public static final String JSON_PROPERTY_PAYOUT_BRANCH_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYOUT_REFERENCE
public static final String JSON_PROPERTY_PAYOUT_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_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountCode
public AccountHolderPayoutNotificationContent accountCode(String accountCode)
-
getAccountCode
public String getAccountCode()
The code of the account from which the payout was made.- Returns:
- accountCode
-
setAccountCode
public void setAccountCode(String accountCode)
-
accountHolderCode
public AccountHolderPayoutNotificationContent accountHolderCode(String accountHolderCode)
-
getAccountHolderCode
public String getAccountHolderCode()
The code of the Account Holder to which the payout was made.- Returns:
- accountHolderCode
-
setAccountHolderCode
public void setAccountHolderCode(String accountHolderCode)
-
amounts
public AccountHolderPayoutNotificationContent amounts(List<Amount> amounts)
-
addAmountsItem
public AccountHolderPayoutNotificationContent addAmountsItem(Amount amountsItem)
-
bankAccountDetail
public AccountHolderPayoutNotificationContent bankAccountDetail(BankAccountDetail bankAccountDetail)
-
getBankAccountDetail
public BankAccountDetail getBankAccountDetail()
Get bankAccountDetail- Returns:
- bankAccountDetail
-
setBankAccountDetail
public void setBankAccountDetail(BankAccountDetail bankAccountDetail)
-
description
public AccountHolderPayoutNotificationContent description(String description)
-
getDescription
public String getDescription()
A description of the payout.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
estimatedArrivalDate
public AccountHolderPayoutNotificationContent estimatedArrivalDate(LocalDate estimatedArrivalDate)
-
getEstimatedArrivalDate
public LocalDate getEstimatedArrivalDate()
Get estimatedArrivalDate- Returns:
- estimatedArrivalDate
-
setEstimatedArrivalDate
public void setEstimatedArrivalDate(LocalDate estimatedArrivalDate)
-
invalidFields
public AccountHolderPayoutNotificationContent invalidFields(List<ErrorFieldType> invalidFields)
-
addInvalidFieldsItem
public AccountHolderPayoutNotificationContent addInvalidFieldsItem(ErrorFieldType invalidFieldsItem)
-
getInvalidFields
public List<ErrorFieldType> getInvalidFields()
Invalid fields list.- Returns:
- invalidFields
-
setInvalidFields
public void setInvalidFields(List<ErrorFieldType> invalidFields)
-
merchantReference
public AccountHolderPayoutNotificationContent merchantReference(String merchantReference)
-
getMerchantReference
public String getMerchantReference()
The merchant reference.- Returns:
- merchantReference
-
setMerchantReference
public void setMerchantReference(String merchantReference)
-
originalPspReference
public AccountHolderPayoutNotificationContent originalPspReference(String originalPspReference)
-
getOriginalPspReference
public String getOriginalPspReference()
The PSP reference of the original payout.- Returns:
- originalPspReference
-
setOriginalPspReference
public void setOriginalPspReference(String originalPspReference)
-
payoutAccountCountry
public AccountHolderPayoutNotificationContent payoutAccountCountry(String payoutAccountCountry)
-
getPayoutAccountCountry
public String getPayoutAccountCountry()
The country code of the bank from which the payout was initiated.- Returns:
- payoutAccountCountry
-
setPayoutAccountCountry
public void setPayoutAccountCountry(String payoutAccountCountry)
-
payoutAccountNumber
public AccountHolderPayoutNotificationContent payoutAccountNumber(String payoutAccountNumber)
-
getPayoutAccountNumber
public String getPayoutAccountNumber()
The account number of the bank from which the payout was initiated.- Returns:
- payoutAccountNumber
-
setPayoutAccountNumber
public void setPayoutAccountNumber(String payoutAccountNumber)
-
payoutBalanceAccountId
public AccountHolderPayoutNotificationContent payoutBalanceAccountId(String payoutBalanceAccountId)
-
getPayoutBalanceAccountId
public String getPayoutBalanceAccountId()
The balance account id to which payment was made- Returns:
- payoutBalanceAccountId
-
setPayoutBalanceAccountId
public void setPayoutBalanceAccountId(String payoutBalanceAccountId)
-
payoutBankName
public AccountHolderPayoutNotificationContent payoutBankName(String payoutBankName)
-
getPayoutBankName
public String getPayoutBankName()
The name of the bank the payout from which the payout was initiated.- Returns:
- payoutBankName
-
setPayoutBankName
public void setPayoutBankName(String payoutBankName)
-
payoutBranchCode
public AccountHolderPayoutNotificationContent payoutBranchCode(String payoutBranchCode)
-
getPayoutBranchCode
public String getPayoutBranchCode()
The branch code of the bank from which the payout was initiated.- Returns:
- payoutBranchCode
-
setPayoutBranchCode
public void setPayoutBranchCode(String payoutBranchCode)
-
payoutReference
public AccountHolderPayoutNotificationContent payoutReference(Long payoutReference)
-
getPayoutReference
public Long getPayoutReference()
The unique payout identifier.- Returns:
- payoutReference
-
setPayoutReference
public void setPayoutReference(Long payoutReference)
-
payoutSpeed
public AccountHolderPayoutNotificationContent payoutSpeed(AccountHolderPayoutNotificationContent.PayoutSpeedEnum payoutSpeed)
-
getPayoutSpeed
public AccountHolderPayoutNotificationContent.PayoutSpeedEnum getPayoutSpeed()
Speed with which payouts for this account are processed. Permitted values: `STANDARD`, `SAME_DAY`.- Returns:
- payoutSpeed
-
setPayoutSpeed
public void setPayoutSpeed(AccountHolderPayoutNotificationContent.PayoutSpeedEnum payoutSpeed)
-
status
public AccountHolderPayoutNotificationContent status(OperationStatus status)
-
getStatus
public OperationStatus getStatus()
Get status- Returns:
- status
-
setStatus
public void setStatus(OperationStatus status)
-
equals
public boolean equals(Object o)
Return true if this AccountHolderPayoutNotificationContent object is equal to o.
-
fromJson
public static AccountHolderPayoutNotificationContent fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AccountHolderPayoutNotificationContent given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountHolderPayoutNotificationContent
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AccountHolderPayoutNotificationContent
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AccountHolderPayoutNotificationContent to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-