Package com.adyen.model.marketpayfund
Class PayoutAccountHolderRequest
- java.lang.Object
-
- com.adyen.model.marketpayfund.PayoutAccountHolderRequest
-
public class PayoutAccountHolderRequest extends Object
PayoutAccountHolderRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayoutAccountHolderRequest.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_AMOUNTstatic StringJSON_PROPERTY_BANK_ACCOUNT_U_U_I_Dstatic StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_MERCHANT_REFERENCEstatic StringJSON_PROPERTY_PAYOUT_METHOD_CODEstatic StringJSON_PROPERTY_PAYOUT_SPEED
-
Constructor Summary
Constructors Constructor Description PayoutAccountHolderRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PayoutAccountHolderRequestaccountCode(String accountCode)PayoutAccountHolderRequestaccountHolderCode(String accountHolderCode)PayoutAccountHolderRequestamount(Amount amount)PayoutAccountHolderRequestbankAccountUUID(String bankAccountUUID)PayoutAccountHolderRequestdescription(String description)booleanequals(Object o)Return true if this PayoutAccountHolderRequest object is equal to o.static PayoutAccountHolderRequestfromJson(String jsonString)Create an instance of PayoutAccountHolderRequest given an JSON stringStringgetAccountCode()The code of the account from which the payout is to be made.StringgetAccountHolderCode()The code of the Account Holder who owns the account from which the payout is to be made.AmountgetAmount()Get amountStringgetBankAccountUUID()The unique ID of the Bank Account held by the Account Holder to which the payout is to be made.StringgetDescription()A description of the payout.StringgetMerchantReference()A value that can be supplied at the discretion of the executing user in order to link multiple transactions to one another.StringgetPayoutMethodCode()The unique ID of the payout method held by the Account Holder to which the payout is to be made.PayoutAccountHolderRequest.PayoutSpeedEnumgetPayoutSpeed()Speed with which payouts for this account are processed.inthashCode()PayoutAccountHolderRequestmerchantReference(String merchantReference)PayoutAccountHolderRequestpayoutMethodCode(String payoutMethodCode)PayoutAccountHolderRequestpayoutSpeed(PayoutAccountHolderRequest.PayoutSpeedEnum payoutSpeed)voidsetAccountCode(String accountCode)voidsetAccountHolderCode(String accountHolderCode)voidsetAmount(Amount amount)voidsetBankAccountUUID(String bankAccountUUID)voidsetDescription(String description)voidsetMerchantReference(String merchantReference)voidsetPayoutMethodCode(String payoutMethodCode)voidsetPayoutSpeed(PayoutAccountHolderRequest.PayoutSpeedEnum payoutSpeed)StringtoJson()Convert an instance of PayoutAccountHolderRequest 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_ACCOUNT_HOLDER_CODE
public static final String JSON_PROPERTY_ACCOUNT_HOLDER_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AMOUNT
public static final String JSON_PROPERTY_AMOUNT
- 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_MERCHANT_REFERENCE
public static final String JSON_PROPERTY_MERCHANT_REFERENCE
- 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_SPEED
public static final String JSON_PROPERTY_PAYOUT_SPEED
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountCode
public PayoutAccountHolderRequest accountCode(String accountCode)
-
getAccountCode
public String getAccountCode()
The code of the account from which the payout is to be made.- Returns:
- accountCode
-
setAccountCode
public void setAccountCode(String accountCode)
-
accountHolderCode
public PayoutAccountHolderRequest accountHolderCode(String accountHolderCode)
-
getAccountHolderCode
public String getAccountHolderCode()
The code of the Account Holder who owns the account from which the payout is to be made. The Account Holder is the party to which the payout will be made.- Returns:
- accountHolderCode
-
setAccountHolderCode
public void setAccountHolderCode(String accountHolderCode)
-
amount
public PayoutAccountHolderRequest amount(Amount amount)
-
getAmount
public Amount getAmount()
Get amount- Returns:
- amount
-
setAmount
public void setAmount(Amount amount)
-
bankAccountUUID
public PayoutAccountHolderRequest bankAccountUUID(String bankAccountUUID)
-
getBankAccountUUID
public String getBankAccountUUID()
The unique ID of the Bank Account held by the Account Holder to which the payout is to be made. If left blank, a bank account is automatically selected.- Returns:
- bankAccountUUID
-
setBankAccountUUID
public void setBankAccountUUID(String bankAccountUUID)
-
description
public PayoutAccountHolderRequest description(String description)
-
getDescription
public String getDescription()
A description of the payout. Maximum 200 characters. Allowed: **abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/?:().,'+ \";**- Returns:
- description
-
setDescription
public void setDescription(String description)
-
merchantReference
public PayoutAccountHolderRequest merchantReference(String merchantReference)
-
getMerchantReference
public String getMerchantReference()
A value that can be supplied at the discretion of the executing user in order to link multiple transactions to one another.- Returns:
- merchantReference
-
setMerchantReference
public void setMerchantReference(String merchantReference)
-
payoutMethodCode
public PayoutAccountHolderRequest payoutMethodCode(String payoutMethodCode)
-
getPayoutMethodCode
public String getPayoutMethodCode()
The unique ID of the payout method held by the Account Holder to which the payout is to be made. If left blank, a payout instrument is automatically selected.- Returns:
- payoutMethodCode
-
setPayoutMethodCode
public void setPayoutMethodCode(String payoutMethodCode)
-
payoutSpeed
public PayoutAccountHolderRequest payoutSpeed(PayoutAccountHolderRequest.PayoutSpeedEnum payoutSpeed)
-
getPayoutSpeed
public PayoutAccountHolderRequest.PayoutSpeedEnum getPayoutSpeed()
Speed with which payouts for this account are processed. Permitted values: `STANDARD`, `SAME_DAY`.- Returns:
- payoutSpeed
-
setPayoutSpeed
public void setPayoutSpeed(PayoutAccountHolderRequest.PayoutSpeedEnum payoutSpeed)
-
equals
public boolean equals(Object o)
Return true if this PayoutAccountHolderRequest object is equal to o.
-
fromJson
public static PayoutAccountHolderRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PayoutAccountHolderRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PayoutAccountHolderRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PayoutAccountHolderRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PayoutAccountHolderRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-