@Component(value="blCreditCardTypesProcessor") @ConditionalOnTemplating public class CreditCardTypesProcessor extends Object implements CreditCardTypesExpression
The following processor will add any Payment Gateway specific Card Type 'codes' to the model if the gateway requires that a 'Card Type' (e.g. Visa, MasterCard, etc...) be sent along with the credit card number and expiry date.
This processor will put the key 'paymentGatewayCardTypes' on the model if there are any types available
Here is an example:
| Modifier and Type | Field and Description |
|---|---|
protected CreditCardTypesExtensionManager |
extensionManager |
protected static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
CreditCardTypesProcessor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
int |
getPrecedence() |
Map<String,Object> |
populateModelVariables(String tagName,
Map<String,String> tagAttributes,
org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) |
boolean |
useGlobalScope() |
protected static final org.apache.commons.logging.Log LOG
protected CreditCardTypesExtensionManager extensionManager
public String getName()
getName in interface BroadleafVariableExpressionpublic int getPrecedence()
getPrecedence in interface CreditCardTypesExpressionpublic boolean useGlobalScope()
useGlobalScope in interface CreditCardTypesExpressionpublic Map<String,Object> populateModelVariables(String tagName, Map<String,String> tagAttributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context)
populateModelVariables in interface CreditCardTypesExpressionCopyright © 2023. All rights reserved.