Class PaymentCustomerNotification

java.lang.Object
com.broadleafcommerce.paymentgateway.domain.PaymentCustomerNotification
All Implemented Interfaces:
Serializable

public class PaymentCustomerNotification extends Object implements Serializable
The DTO is used to build the notification that can be sent to the customer.
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • PaymentCustomerNotification

      public PaymentCustomerNotification()
  • Method Details

    • getType

      public String getType()
      The notification type.

      This type is used by the listener in the notification service to determine if it is supported.

      Returns:
      the notification type
    • getPaymentGatewayType

      public String getPaymentGatewayType()
      The payment gateway type.
      Returns:
      the payment gateway type
    • getPaymentType

      public String getPaymentType()
      The payment type.
      Returns:
      the payment type
    • getPaymentId

      @Nullable public String getPaymentId()
      The payment id.
      Returns:
      the payment id
    • getData

      public Object getData()
      Any data that is used to populate the HTML template for this notification.
      Returns:
      the data that is used to populate the HTML template for this notification
    • getCustomerEmail

      public String getCustomerEmail()
      The customer email address.
      Returns:
      the customer email address
    • getCustomerFullName

      @Nullable public String getCustomerFullName()
      The customer full name.
      Returns:
      the customer full name
    • setType

      public void setType(String type)
      The notification type.

      This type is used by the listener in the notification service to determine if it is supported.

      Parameters:
      type - the notification type
    • setPaymentGatewayType

      public void setPaymentGatewayType(String paymentGatewayType)
      The payment gateway type.
      Parameters:
      paymentGatewayType - the payment gateway type
    • setPaymentType

      public void setPaymentType(String paymentType)
      The payment type.
      Parameters:
      paymentType - the payment type
    • setPaymentId

      public void setPaymentId(@Nullable String paymentId)
      The payment id.
      Parameters:
      paymentId - the payment id
    • setData

      public void setData(Object data)
      Any data that is used to populate the HTML template for this notification.
      Parameters:
      data - any data that is used to populate the HTML template for this notification
    • setCustomerEmail

      public void setCustomerEmail(String customerEmail)
      The customer email address.
      Parameters:
      customerEmail - the customer email address
    • setCustomerFullName

      public void setCustomerFullName(@Nullable String customerFullName)
      The customer full name.
      Parameters:
      customerFullName - the customer full name
    • 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