@Component(value="blCreditCardTypesProcessor")
public class CreditCardTypesProcessor
extends org.thymeleaf.processor.element.AbstractLocalVariableDefinitionElementProcessor
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 |
|---|---|
protected Map<String,Object> |
getNewLocalVariables(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element) |
int |
getPrecedence() |
protected boolean |
removeHostElement(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element) |
processElementdoProcess, getMatcherprotected static final org.apache.commons.logging.Log LOG
protected CreditCardTypesExtensionManager extensionManager
public int getPrecedence()
getPrecedence in class org.thymeleaf.processor.AbstractProcessorprotected boolean removeHostElement(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element)
removeHostElement in class org.thymeleaf.processor.element.AbstractLocalVariableDefinitionElementProcessorCopyright © 2014. All Rights Reserved.