@Component(value="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.
translates to:
PayPal PayFlow Pro:
Braintree:
etc...
org.broadleafcommerce.common.payment.dto.PaymentRequestDTO}
,
org.broadleafcommerce.common.payment.dto.CreditCardDTO}
,
org.broadleafcommerce.common.payment.dto.AddressDTO}
Modifier and Type | Field and Description |
---|---|
protected PaymentGatewayFieldExtensionManager |
extensionManager |
Constructor and Description |
---|
PaymentGatewayFieldVariableExpression() |
Modifier and Type | Method and Description |
---|---|
PaymentGatewayFieldExtensionManager |
getExtensionManager() |
String |
getName() |
String |
mapName(String fieldName) |
void |
setExtensionManager(PaymentGatewayFieldExtensionManager extensionManager) |
protected PaymentGatewayFieldExtensionManager extensionManager
public PaymentGatewayFieldVariableExpression()
public String getName()
getName
in interface BroadleafVariableExpression
public PaymentGatewayFieldExtensionManager getExtensionManager()
public void setExtensionManager(PaymentGatewayFieldExtensionManager extensionManager)
Copyright © 2022. All rights reserved.