Class PaymentCustomerNotification
java.lang.Object
com.broadleafcommerce.paymentgateway.domain.PaymentCustomerNotification
- All Implemented Interfaces:
Serializable
The DTO is used to build the notification that can be sent to the customer.
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The customer email address.The customer full name.getData()
Any data that is used to populate the HTML template for this notification.The payment gateway type.The payment id.The payment type.getType()
The notification type.int
hashCode()
void
setCustomerEmail
(String customerEmail) The customer email address.void
setCustomerFullName
(String customerFullName) The customer full name.void
Any data that is used to populate the HTML template for this notification.void
setPaymentGatewayType
(String paymentGatewayType) The payment gateway type.void
setPaymentId
(String paymentId) The payment id.void
setPaymentType
(String paymentType) The payment type.void
The notification type.toString()
-
Constructor Details
-
PaymentCustomerNotification
public PaymentCustomerNotification()
-
-
Method Details
-
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
The payment gateway type.- Returns:
- the payment gateway type
-
getPaymentType
The payment type.- Returns:
- the payment type
-
getPaymentId
The payment id.- Returns:
- the payment id
-
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
The customer email address.- Returns:
- the customer email address
-
getCustomerFullName
The customer full name.- Returns:
- the customer full name
-
setType
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
The payment gateway type.- Parameters:
paymentGatewayType
- the payment gateway type
-
setPaymentType
The payment type.- Parameters:
paymentType
- the payment type
-
setPaymentId
The payment id.- Parameters:
paymentId
- the payment id
-
setData
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
The customer email address.- Parameters:
customerEmail
- the customer email address
-
setCustomerFullName
The customer full name.- Parameters:
customerFullName
- the customer full name
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-