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_BENEFICIARYstatic StringJSON_PROPERTY_BICstatic 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.CheckoutBankTransferActionbeneficiary(String beneficiary)The name of the account holder.CheckoutBankTransferActionbic(String bic)The BIC of the IBAN.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.StringgetBeneficiary()The name of the account holder.StringgetBic()The BIC of the IBAN.StringgetDownloadUrl()The url to download payment details with.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()totalAmountCheckoutBankTransferAction.TypeEnumgetType()The type of the action.StringgetUrl()Specifies the URL to redirect to.inthashCode()CheckoutBankTransferActioniban(String iban)The IBAN of the bank transfer.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.voidsetBeneficiary(String beneficiary)The name of the account holder.voidsetBic(String bic)The BIC of the IBAN.voidsetDownloadUrl(String downloadUrl)The url to download payment details with.voidsetIban(String iban)The IBAN of the bank transfer.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_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_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-- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getAccountNumber
public String getAccountNumber()
The account number of the bank transfer.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
The account number of the bank transfer.- Parameters:
accountNumber-
-
beneficiary
public CheckoutBankTransferAction beneficiary(String beneficiary)
The name of the account holder.- Parameters:
beneficiary-- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getBeneficiary
public String getBeneficiary()
The name of the account holder.- Returns:
- beneficiary
-
setBeneficiary
public void setBeneficiary(String beneficiary)
The name of the account holder.- Parameters:
beneficiary-
-
bic
public CheckoutBankTransferAction bic(String bic)
The BIC of the IBAN.- Parameters:
bic-- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getBic
public String getBic()
The BIC of the IBAN.- Returns:
- bic
-
setBic
public void setBic(String bic)
The BIC of the IBAN.- Parameters:
bic-
-
downloadUrl
public CheckoutBankTransferAction downloadUrl(String downloadUrl)
The url to download payment details with.- Parameters:
downloadUrl-- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getDownloadUrl
public String getDownloadUrl()
The url to download payment details with.- Returns:
- downloadUrl
-
setDownloadUrl
public void setDownloadUrl(String downloadUrl)
The url to download payment details with.- Parameters:
downloadUrl-
-
iban
public CheckoutBankTransferAction iban(String iban)
The IBAN of the bank transfer.- Parameters:
iban-- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getIban
public String getIban()
The IBAN of the bank transfer.- Returns:
- iban
-
setIban
public void setIban(String iban)
The IBAN of the bank transfer.- Parameters:
iban-
-
paymentMethodType
public CheckoutBankTransferAction paymentMethodType(String paymentMethodType)
Specifies the payment method.- Parameters:
paymentMethodType-- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getPaymentMethodType
public String getPaymentMethodType()
Specifies the payment method.- Returns:
- paymentMethodType
-
setPaymentMethodType
public void setPaymentMethodType(String paymentMethodType)
Specifies the payment method.- Parameters:
paymentMethodType-
-
reference
public CheckoutBankTransferAction reference(String reference)
The transfer reference.- Parameters:
reference-- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getReference
public String getReference()
The transfer reference.- Returns:
- reference
-
setReference
public void setReference(String reference)
The transfer reference.- Parameters:
reference-
-
routingNumber
public CheckoutBankTransferAction routingNumber(String routingNumber)
The routing number of the bank transfer.- Parameters:
routingNumber-- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getRoutingNumber
public String getRoutingNumber()
The routing number of the bank transfer.- Returns:
- routingNumber
-
setRoutingNumber
public void setRoutingNumber(String routingNumber)
The routing number of the bank transfer.- Parameters:
routingNumber-
-
shopperEmail
public CheckoutBankTransferAction shopperEmail(String shopperEmail)
The e-mail of the shopper, included if an e-mail was sent to the shopper.- Parameters:
shopperEmail-- 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
-
setShopperEmail
public void setShopperEmail(String shopperEmail)
The e-mail of the shopper, included if an e-mail was sent to the shopper.- Parameters:
shopperEmail-
-
sortCode
public CheckoutBankTransferAction sortCode(String sortCode)
The sort code of the bank transfer.- Parameters:
sortCode-- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getSortCode
public String getSortCode()
The sort code of the bank transfer.- Returns:
- sortCode
-
setSortCode
public void setSortCode(String sortCode)
The sort code of the bank transfer.- Parameters:
sortCode-
-
totalAmount
public CheckoutBankTransferAction totalAmount(Amount totalAmount)
totalAmount- Parameters:
totalAmount-- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getTotalAmount
public Amount getTotalAmount()
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-- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getType
public CheckoutBankTransferAction.TypeEnum getType()
The type of the action.- Returns:
- type
-
setType
public void setType(CheckoutBankTransferAction.TypeEnum type)
The type of the action.- Parameters:
type-
-
url
public CheckoutBankTransferAction url(String url)
Specifies the URL to redirect to.- Parameters:
url-- Returns:
- the current
CheckoutBankTransferActioninstance, allowing for method chaining
-
getUrl
public String getUrl()
Specifies the URL to redirect to.- Returns:
- url
-
setUrl
public void setUrl(String url)
Specifies the URL to redirect to.- Parameters:
url-
-
equals
public boolean equals(Object o)
Return true if this CheckoutBankTransferAction object is equal to o.
-
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
-
-