Class PaymentGatewayFieldVariableExpression

java.lang.Object
org.broadleafcommerce.common.web.payment.expression.PaymentGatewayFieldVariableExpression
All Implemented Interfaces:
BroadleafVariableExpression

@Component("blpaymentGatewayFieldVariableExpression") @ConditionalOnTemplating public class PaymentGatewayFieldVariableExpression extends Object implements BroadleafVariableExpression

A Thymeleaf Variable Expression implementation for Payment Gateway Specific fields. The Payment Module specific names are invoked via the ExtensionManager. Therefore, each module will need to register itself properly.

The input name mappings are those properties defined in the corresponding DTOs.


 <input type="text" th:name="${#paymentGatewayField.mapName("creditCard.creditCardNum")}"/>
 
translates to:

 PayPal PayFlow Pro: 
 Braintree:          
 etc...
 
Author:
Elbert Bautista (elbertbautista)