Class SavedPaymentMethodInfo
java.lang.Object
com.broadleafcommerce.paymentgateway.domain.SavedPaymentMethodInfo
The information that is used to build the customer notification for the saved payment method.
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAny additional data needed to build the notification.The ID of the object known by the payment gateway that was created to set up the saved payment method.The payment type for the saved payment method.void
setAdditionalData
(Map<String, Object> additionalData) Any additional data needed to build the notification.void
setGatewayReferenceId
(String gatewayReferenceId) The ID of the object known by the payment gateway that was created to set up the saved payment method.void
setPaymentType
(String paymentType) The payment type for the saved payment method.
-
Constructor Details
-
SavedPaymentMethodInfo
public SavedPaymentMethodInfo()
-
-
Method Details
-
getPaymentType
The payment type for the saved payment method.- Returns:
- the payment type
-
getGatewayReferenceId
The ID of the object known by the payment gateway that was created to set up the saved payment method.For example, this can be the SetupIntent ID for the STRIPE payment gateway.
- Returns:
- the gateway reference ID
-
getAdditionalData
Any additional data needed to build the notification.- Returns:
- the additional data
-
setPaymentType
The payment type for the saved payment method.- Parameters:
paymentType
- the payment type
-
setGatewayReferenceId
The ID of the object known by the payment gateway that was created to set up the saved payment method.For example, this can be the SetupIntent ID for the STRIPE payment gateway.
- Parameters:
gatewayReferenceId
- the gateway reference ID
-
setAdditionalData
Any additional data needed to build the notification.- Parameters:
additionalData
- the additional data
-