Class StripeMandateConfirmationNotificationData

java.lang.Object
com.broadleafcommerce.vendor.stripe.domain.StripeMandateConfirmationNotificationData

public class StripeMandateConfirmationNotificationData extends Object
The DTO object is used to populate the data needed by the email template.
Author:
Dima Myroniuk (dmyroniuk)
  • Constructor Details

    • StripeMandateConfirmationNotificationData

      public StripeMandateConfirmationNotificationData()
  • Method Details

    • getAgreementDate

      public Instant getAgreementDate()
      The date when the customer accepted the mandate terms.
      Returns:
      the date when the customer accepted the mandate terms
    • getAccountHolderName

      public String getAccountHolderName()
      The customer full name.
      Returns:
      the customer full name
    • getFinancialInstitution

      public String getFinancialInstitution()
      The name of the bank.
      Returns:
      the name of the bank
    • getRoutingNumber

      public String getRoutingNumber()
      Routing number of the bank account.
      Returns:
      routing number of the bank account
    • getLastFour

      public String 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

      public void setAgreementDate(Instant agreementDate)
      The date when the customer accepted the mandate terms.
      Parameters:
      agreementDate - the date when the customer accepted the mandate terms
    • setAccountHolderName

      public void setAccountHolderName(String accountHolderName)
      The customer full name.
      Parameters:
      accountHolderName - the customer full name
    • setFinancialInstitution

      public void setFinancialInstitution(String financialInstitution)
      The name of the bank.
      Parameters:
      financialInstitution - the name of the bank
    • setRoutingNumber

      public void setRoutingNumber(String routingNumber)
      Routing number of the bank account.
      Parameters:
      routingNumber - routing number of the bank account
    • setLastFour

      public void setLastFour(String lastFour)
      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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object