Class StripeMandateConfirmationNotificationData
java.lang.Object
com.broadleafcommerce.vendor.stripe.domain.StripeMandateConfirmationNotificationData
The DTO object is used to populate the data needed by the email template.
- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The customer full name.The date when the customer accepted the mandate terms.The name of the bank.Last four digits of the bank account number.Routing number of the bank account.int
hashCode()
boolean
Indicates if the customer’s bank account info is collected for future payments.void
setAccountHolderName
(String accountHolderName) The customer full name.void
setAgreementDate
(Instant agreementDate) The date when the customer accepted the mandate terms.void
setFinancialInstitution
(String financialInstitution) The name of the bank.void
setLastFour
(String lastFour) Last four digits of the bank account number.void
setRoutingNumber
(String routingNumber) Routing number of the bank account.void
setSavePaymentForFutureUse
(boolean savePaymentForFutureUse) Indicates if the customer’s bank account info is collected for future payments.toString()
-
Constructor Details
-
StripeMandateConfirmationNotificationData
public StripeMandateConfirmationNotificationData()
-
-
Method Details
-
getAgreementDate
The date when the customer accepted the mandate terms.- Returns:
- the date when the customer accepted the mandate terms
-
getAccountHolderName
The customer full name.- Returns:
- the customer full name
-
getFinancialInstitution
The name of the bank.- Returns:
- the name of the bank
-
getRoutingNumber
Routing number of the bank account.- Returns:
- routing number of the bank account
-
getLastFour
Last four digits of the bank account number.- Returns:
- last four digits of the bank account number
-
isSavePaymentForFutureUse
public boolean isSavePaymentForFutureUse()Indicates if the customer’s bank account info is collected for future payments.- Returns:
- whether the customer’s bank account info is collected for future payments
-
setAgreementDate
The date when the customer accepted the mandate terms.- Parameters:
agreementDate
- the date when the customer accepted the mandate terms
-
setAccountHolderName
The customer full name.- Parameters:
accountHolderName
- the customer full name
-
setFinancialInstitution
The name of the bank.- Parameters:
financialInstitution
- the name of the bank
-
setRoutingNumber
Routing number of the bank account.- Parameters:
routingNumber
- routing number of the bank account
-
setLastFour
Last four digits of the bank account number.- Parameters:
lastFour
- last four digits of the bank account number
-
setSavePaymentForFutureUse
public void setSavePaymentForFutureUse(boolean savePaymentForFutureUse) Indicates if the customer’s bank account info is collected for future payments.- Parameters:
savePaymentForFutureUse
- whether the customer’s bank account info is collected for future payments
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-