Package com.adyen.model.checkout.details
Class BacsDirectDebitDetails
- java.lang.Object
-
- com.adyen.model.checkout.details.BacsDirectDebitDetails
-
- All Implemented Interfaces:
PaymentMethodDetails
public class BacsDirectDebitDetails extends Object implements PaymentMethodDetails
BacsDirectDebitDetails
-
-
Field Summary
Fields Modifier and Type Field Description static StringDIRECTDEBIT_GB
-
Constructor Summary
Constructors Constructor Description BacsDirectDebitDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BacsDirectDebitDetailsbankAccountNumber(String bankAccountNumber)BacsDirectDebitDetailsbankLocationId(String bankLocationId)booleanequals(Object o)StringgetBankAccountNumber()The bank account number (without separators).StringgetBankLocationId()The bank routing number of the account.StringgetHolderName()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()**directdebit_GB**inthashCode()BacsDirectDebitDetailsholderName(String holderName)voidsetBankAccountNumber(String bankAccountNumber)voidsetBankLocationId(String bankLocationId)voidsetHolderName(String holderName)voidsetRecurringDetailReference(String recurringDetailReference)voidsetStoredPaymentMethodId(String storedPaymentMethodId)voidsetType(String type)BacsDirectDebitDetailsstoredPaymentMethodId(String storedPaymentMethodId)StringtoString()BacsDirectDebitDetailstype(String type)
-
-
-
Field Detail
-
DIRECTDEBIT_GB
public static final String DIRECTDEBIT_GB
- See Also:
- Constant Field Values
-
-
Method Detail
-
bankAccountNumber
public BacsDirectDebitDetails bankAccountNumber(String bankAccountNumber)
-
getBankAccountNumber
public String getBankAccountNumber()
The bank account number (without separators).- Returns:
- bankAccountNumber
-
setBankAccountNumber
public void setBankAccountNumber(String bankAccountNumber)
-
bankLocationId
public BacsDirectDebitDetails bankLocationId(String bankLocationId)
-
getBankLocationId
public String getBankLocationId()
The bank routing number of the account.- Returns:
- bankLocationId
-
setBankLocationId
public void setBankLocationId(String bankLocationId)
-
holderName
public BacsDirectDebitDetails holderName(String holderName)
-
getHolderName
public String getHolderName()
The name of the bank account holder.- Returns:
- holderName
-
setHolderName
public void setHolderName(String holderName)
-
type
public BacsDirectDebitDetails type(String type)
-
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)
-
storedPaymentMethodId
public BacsDirectDebitDetails storedPaymentMethodId(String storedPaymentMethodId)
-
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)
-
getType
public String getType()
**directdebit_GB**- Specified by:
getTypein interfacePaymentMethodDetails- Returns:
- type
-
setType
public void setType(String type)
- Specified by:
setTypein interfacePaymentMethodDetails
-
-