Package com.adyen.model.checkout.details
Class AchDetails
- java.lang.Object
-
- com.adyen.model.checkout.details.AchDetails
-
- All Implemented Interfaces:
PaymentMethodDetails
public class AchDetails extends Object implements PaymentMethodDetails
AchDetails
-
-
Constructor Summary
Constructors Constructor Description AchDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AchDetailsbankAccountNumber(String bankAccountNumber)AchDetailsbankLocationId(String bankLocationId)AchDetailsencryptedBankAccountNumber(String encryptedBankAccountNumber)AchDetailsencryptedBankLocationId(String encryptedBankLocationId)booleanequals(Object o)StringgetBankAccountNumber()The bank account number (without separators).StringgetBankLocationId()The bank routing number of the account.StringgetEncryptedBankAccountNumber()Encrypted bank account number.StringgetEncryptedBankLocationId()Encrypted location id.StringgetOwnerName()The name of the bank account holder.StringgetRecurringDetailReference()This is the `recurringDetailReference` returned in the response when you created the token.StringgetStoredPaymentMethodId()This is the `recurringDetailReference` returned in the response when you created the token.StringgetType()**ach**inthashCode()AchDetailsownerName(String ownerName)voidsetBankAccountNumber(String bankAccountNumber)voidsetBankLocationId(String bankLocationId)voidsetEncryptedBankAccountNumber(String encryptedBankAccountNumber)voidsetEncryptedBankLocationId(String encryptedBankLocationId)voidsetOwnerName(String ownerName)voidsetRecurringDetailReference(String recurringDetailReference)voidsetStoredPaymentMethodId(String storedPaymentMethodId)voidsetType(String type)AchDetailsstoredPaymentMethodId(String storedPaymentMethodId)StringtoString()AchDetailstype(String type)
-
-
-
Field Detail
-
ACH
public static final String ACH
Possible types- See Also:
- Constant Field Values
-
-
Method Detail
-
bankAccountNumber
public AchDetails bankAccountNumber(String bankAccountNumber)
-
getBankAccountNumber
public String getBankAccountNumber()
The bank account number (without separators).- Returns:
- bankAccountNumber
-
setBankAccountNumber
public void setBankAccountNumber(String bankAccountNumber)
-
bankLocationId
public AchDetails bankLocationId(String bankLocationId)
-
getBankLocationId
public String getBankLocationId()
The bank routing number of the account. The field value is `nil` in most cases.- Returns:
- bankLocationId
-
setBankLocationId
public void setBankLocationId(String bankLocationId)
-
encryptedBankAccountNumber
public AchDetails encryptedBankAccountNumber(String encryptedBankAccountNumber)
-
getEncryptedBankAccountNumber
public String getEncryptedBankAccountNumber()
Encrypted bank account number. The bank account number (without separators).- Returns:
- encryptedBankAccountNumber
-
setEncryptedBankAccountNumber
public void setEncryptedBankAccountNumber(String encryptedBankAccountNumber)
-
encryptedBankLocationId
public AchDetails encryptedBankLocationId(String encryptedBankLocationId)
-
getEncryptedBankLocationId
public String getEncryptedBankLocationId()
Encrypted location id. The bank routing number of the account. The field value is `nil` in most cases.- Returns:
- encryptedBankLocationId
-
setEncryptedBankLocationId
public void setEncryptedBankLocationId(String encryptedBankLocationId)
-
ownerName
public AchDetails ownerName(String ownerName)
-
getOwnerName
public String getOwnerName()
The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'.- Returns:
- ownerName
-
setOwnerName
public void setOwnerName(String ownerName)
-
storedPaymentMethodId
public AchDetails storedPaymentMethodId(String storedPaymentMethodId)
-
getRecurringDetailReference
public String getRecurringDetailReference()
This is the `recurringDetailReference` returned in the response when you created the token.- Returns:
- recurringDetailReference
-
setRecurringDetailReference
public void setRecurringDetailReference(String recurringDetailReference)
-
getStoredPaymentMethodId
public String getStoredPaymentMethodId()
This is the `recurringDetailReference` returned in the response when you created the token.- Returns:
- storedPaymentMethodId
-
setStoredPaymentMethodId
public void setStoredPaymentMethodId(String storedPaymentMethodId)
-
type
public AchDetails type(String type)
-
getType
public String getType()
**ach**- Specified by:
getTypein interfacePaymentMethodDetails- Returns:
- type
-
setType
public void setType(String type)
- Specified by:
setTypein interfacePaymentMethodDetails
-
-