Package com.adyen.model.checkout
Class CheckoutBankTransferAction
- java.lang.Object
-
- com.adyen.model.checkout.CheckoutBankTransferAction
-
public class CheckoutBankTransferAction extends Object
CheckoutBankTransferAction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckoutBankTransferAction.TypeEnumThe type of the action.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_NUMBERstatic StringJSON_PROPERTY_BANK_CODEstatic StringJSON_PROPERTY_BENEFICIARYstatic StringJSON_PROPERTY_BICstatic StringJSON_PROPERTY_BRANCH_CODEstatic StringJSON_PROPERTY_DOWNLOAD_URLstatic StringJSON_PROPERTY_IBANstatic StringJSON_PROPERTY_PAYMENT_METHOD_TYPEstatic StringJSON_PROPERTY_REFERENCEstatic StringJSON_PROPERTY_ROUTING_NUMBERstatic StringJSON_PROPERTY_SHOPPER_EMAILstatic StringJSON_PROPERTY_SORT_CODEstatic StringJSON_PROPERTY_TOTAL_AMOUNTstatic StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_URL
-
Constructor Summary
Constructors Constructor Description CheckoutBankTransferAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckoutBankTransferActionaccountNumber(String accountNumber)The account number of the bank transfer.CheckoutBankTransferActionbankCode(String bankCode)The bank code of the bank transfer.CheckoutBankTransferActionbeneficiary(String beneficiary)The name of the account holder.CheckoutBankTransferActionbic(String bic)The BIC of the IBAN.CheckoutBankTransferActionbranchCode(String branchCode)The branch code of the bank transfer.CheckoutBankTransferActiondownloadUrl(String downloadUrl)The url to download payment details with.booleanequals(Object o)Return true if this CheckoutBankTransferAction object is equal to o.static CheckoutBankTransferActionfromJson(String jsonString)Create an instance of CheckoutBankTransferAction given an JSON stringStringgetAccountNumber()The account number of the bank transfer.StringgetBankCode()The bank code of the bank transfer.StringgetBeneficiary()The name of the account holder.StringgetBic()The BIC of the IBAN.StringgetBranchCode()The branch code of the bank transfer.StringgetDownloadUrl()The url to download payment details with.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetIban()The IBAN of the bank transfer.StringgetPaymentMethodType()Specifies the payment method.StringgetReference()The transfer reference.StringgetRoutingNumber()The routing number of the bank transfer.StringgetShopperEmail()The e-mail of the shopper, included if an e-mail was sent to the shopper.StringgetSortCode()The sort code of the bank transfer.AmountgetTotalAmount()Get totalAmountCheckoutBankTransferAction.TypeEnumgetType()The type of the action.StringgetUrl()Specifies the URL to redirect to.inthashCode()CheckoutBankTransferActioniban(String iban)The IBAN of the bank transfer.CheckoutBankTransferActionincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.CheckoutBankTransferActionpaymentMethodType(String paymentMethodType)Specifies the payment method.CheckoutBankTransferActionreference(String reference)The transfer reference.CheckoutBankTransferActionroutingNumber(String routingNumber)The routing number of the bank transfer.voidsetAccountNumber(String accountNumber)The account number of the bank transfer.voidsetBankCode(String bankCode)The bank code of the bank transfer.voidsetBeneficiary(String beneficiary)The name of the account holder.voidsetBic(String bic)The BIC of the IBAN.voidsetBranchCode(String branchCode)The branch code of the bank transfer.voidsetDownloadUrl(String downloadUrl)The url to download payment details with.voidsetIban(String iban)The IBAN of the bank transfer.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetPaymentMethodType(String paymentMethodType)Specifies the payment method.voidsetReference(String reference)The transfer reference.voidsetRoutingNumber(String routingNumber)The routing number of the bank transfer.voidsetShopperEmail(String shopperEmail)The e-mail of the shopper, included if an e-mail was sent to the shopper.voidsetSortCode(String sortCode)The sort code of the bank transfer.voidsetTotalAmount(Amount totalAmount)totalAmountvoidsetType(CheckoutBankTransferAction.TypeEnum type)The type of the action.voidsetUrl(String url)Specifies the URL to redirect to.CheckoutBankTransferActionshopperEmail(String shopperEmail)The e-mail of the shopper, included if an e-mail was sent to the shopper.CheckoutBankTransferActionsortCode(String sortCode)The sort code of the bank transfer.StringtoJson()Convert an instance of CheckoutBankTransferAction to an JSON stringStringtoString()CheckoutBankTransferActiontotalAmount(Amount totalAmount)totalAmountCheckoutBankTransferActiontype(CheckoutBankTransferAction.TypeEnum type)The type of the action.CheckoutBankTransferActionurl(String url)Specifies the URL to redirect to.
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_NUMBER
public static final String JSON_PROPERTY_ACCOUNT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_CODE
public static final String JSON_PROPERTY_BANK_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BENEFICIARY
public static final String JSON_PROPERTY_BENEFICIARY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BIC
public static final String JSON_PROPERTY_BIC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BRANCH_CODE
public static final String JSON_PROPERTY_BRANCH_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DOWNLOAD_URL
public static final String JSON_PROPERTY_DOWNLOAD_URL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IBAN
public static final String JSON_PROPERTY_IBAN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_METHOD_TYPE
public static final String JSON_PROPERTY_PAYMENT_METHOD_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFERENCE
public static final String JSON_PROPERTY_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROUTING_NUMBER
public static final String JSON_PROPERTY_ROUTING_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_EMAIL
public static final String JSON_PROPERTY_SHOPPER_EMAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SORT_CODE
public static final String JSON_PROPERTY_SORT_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOTAL_AMOUNT
public static final String JSON_PROPERTY_TOTAL_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URL
public static final String JSON_PROPERTY_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountNumber
public CheckoutBankTransferAction accountNumber(String accountNumber)
The account number of the bank transfer.- Parameters:
accountNumber- The account number of the bank transfer.- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getAccountNumber
public String getAccountNumber()
The account number of the bank transfer.- Returns:
- accountNumber The account number of the bank transfer.
-
setAccountNumber
public void setAccountNumber(String accountNumber)
The account number of the bank transfer.- Parameters:
accountNumber- The account number of the bank transfer.
-
bankCode
public CheckoutBankTransferAction bankCode(String bankCode)
The bank code of the bank transfer.- Parameters:
bankCode- The bank code of the bank transfer.- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getBankCode
public String getBankCode()
The bank code of the bank transfer.- Returns:
- bankCode The bank code of the bank transfer.
-
setBankCode
public void setBankCode(String bankCode)
The bank code of the bank transfer.- Parameters:
bankCode- The bank code of the bank transfer.
-
beneficiary
public CheckoutBankTransferAction beneficiary(String beneficiary)
The name of the account holder.- Parameters:
beneficiary- The name of the account holder.- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getBeneficiary
public String getBeneficiary()
The name of the account holder.- Returns:
- beneficiary The name of the account holder.
-
setBeneficiary
public void setBeneficiary(String beneficiary)
The name of the account holder.- Parameters:
beneficiary- The name of the account holder.
-
bic
public CheckoutBankTransferAction bic(String bic)
The BIC of the IBAN.- Parameters:
bic- The BIC of the IBAN.- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getBic
public String getBic()
The BIC of the IBAN.- Returns:
- bic The BIC of the IBAN.
-
setBic
public void setBic(String bic)
The BIC of the IBAN.- Parameters:
bic- The BIC of the IBAN.
-
branchCode
public CheckoutBankTransferAction branchCode(String branchCode)
The branch code of the bank transfer.- Parameters:
branchCode- The branch code of the bank transfer.- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getBranchCode
public String getBranchCode()
The branch code of the bank transfer.- Returns:
- branchCode The branch code of the bank transfer.
-
setBranchCode
public void setBranchCode(String branchCode)
The branch code of the bank transfer.- Parameters:
branchCode- The branch code of the bank transfer.
-
downloadUrl
public CheckoutBankTransferAction downloadUrl(String downloadUrl)
The url to download payment details with.- Parameters:
downloadUrl- The url to download payment details with.- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getDownloadUrl
public String getDownloadUrl()
The url to download payment details with.- Returns:
- downloadUrl The url to download payment details with.
-
setDownloadUrl
public void setDownloadUrl(String downloadUrl)
The url to download payment details with.- Parameters:
downloadUrl- The url to download payment details with.
-
iban
public CheckoutBankTransferAction iban(String iban)
The IBAN of the bank transfer.- Parameters:
iban- The IBAN of the bank transfer.- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getIban
public String getIban()
The IBAN of the bank transfer.- Returns:
- iban The IBAN of the bank transfer.
-
setIban
public void setIban(String iban)
The IBAN of the bank transfer.- Parameters:
iban- The IBAN of the bank transfer.
-
paymentMethodType
public CheckoutBankTransferAction paymentMethodType(String paymentMethodType)
Specifies the payment method.- Parameters:
paymentMethodType- Specifies the payment method.- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getPaymentMethodType
public String getPaymentMethodType()
Specifies the payment method.- Returns:
- paymentMethodType Specifies the payment method.
-
setPaymentMethodType
public void setPaymentMethodType(String paymentMethodType)
Specifies the payment method.- Parameters:
paymentMethodType- Specifies the payment method.
-
reference
public CheckoutBankTransferAction reference(String reference)
The transfer reference.- Parameters:
reference- The transfer reference.- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getReference
public String getReference()
The transfer reference.- Returns:
- reference The transfer reference.
-
setReference
public void setReference(String reference)
The transfer reference.- Parameters:
reference- The transfer reference.
-
routingNumber
public CheckoutBankTransferAction routingNumber(String routingNumber)
The routing number of the bank transfer.- Parameters:
routingNumber- The routing number of the bank transfer.- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getRoutingNumber
public String getRoutingNumber()
The routing number of the bank transfer.- Returns:
- routingNumber The routing number of the bank transfer.
-
setRoutingNumber
public void setRoutingNumber(String routingNumber)
The routing number of the bank transfer.- Parameters:
routingNumber- The routing number of the bank transfer.
-
shopperEmail
public CheckoutBankTransferAction shopperEmail(String shopperEmail)
The e-mail of the shopper, included if an e-mail was sent to the shopper.- Parameters:
shopperEmail- The e-mail of the shopper, included if an e-mail was sent to the shopper.- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getShopperEmail
public String getShopperEmail()
The e-mail of the shopper, included if an e-mail was sent to the shopper.- Returns:
- shopperEmail The e-mail of the shopper, included if an e-mail was sent to the shopper.
-
setShopperEmail
public void setShopperEmail(String shopperEmail)
The e-mail of the shopper, included if an e-mail was sent to the shopper.- Parameters:
shopperEmail- The e-mail of the shopper, included if an e-mail was sent to the shopper.
-
sortCode
public CheckoutBankTransferAction sortCode(String sortCode)
The sort code of the bank transfer.- Parameters:
sortCode- The sort code of the bank transfer.- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getSortCode
public String getSortCode()
The sort code of the bank transfer.- Returns:
- sortCode The sort code of the bank transfer.
-
setSortCode
public void setSortCode(String sortCode)
The sort code of the bank transfer.- Parameters:
sortCode- The sort code of the bank transfer.
-
totalAmount
public CheckoutBankTransferAction totalAmount(Amount totalAmount)
totalAmount- Parameters:
totalAmount-- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getTotalAmount
public Amount getTotalAmount()
Get totalAmount- Returns:
- totalAmount
-
setTotalAmount
public void setTotalAmount(Amount totalAmount)
totalAmount- Parameters:
totalAmount-
-
type
public CheckoutBankTransferAction type(CheckoutBankTransferAction.TypeEnum type)
The type of the action.- Parameters:
type- The type of the action.- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getType
public CheckoutBankTransferAction.TypeEnum getType()
The type of the action.- Returns:
- type The type of the action.
-
setType
public void setType(CheckoutBankTransferAction.TypeEnum type)
The type of the action.- Parameters:
type- The type of the action.
-
url
public CheckoutBankTransferAction url(String url)
Specifies the URL to redirect to.- Parameters:
url- Specifies the URL to redirect to.- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getUrl
public String getUrl()
Specifies the URL to redirect to.- Returns:
- url Specifies the URL to redirect to.
-
setUrl
public void setUrl(String url)
Specifies the URL to redirect to.- Parameters:
url- Specifies the URL to redirect to.
-
includeNullValues
public CheckoutBankTransferAction includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this CheckoutBankTransferAction object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static CheckoutBankTransferAction fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CheckoutBankTransferAction given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CheckoutBankTransferAction
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CheckoutBankTransferAction
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CheckoutBankTransferAction to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-