Class NoCardValidator
java.lang.Object
org.jpos.core.NoCardValidator
- All Implemented Interfaces:
CardValidator
A card validator implementation that performs no validation.
This validator is useful in scenarios where card validation should be completely bypassed, such as testing environments or when using external validation services.
Usage example:
SelectDestination participant = new SelectDestination();
Configuration cfg = new SimpleConfiguration();
cfg.put("ignore-card-validations", "true");
participant.setConfiguration(cfg);
- Since:
- 3.0.1
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NoCardValidator
public NoCardValidator()
-
-
Method Details
-
validate
- Specified by:
validatein interfaceCardValidator- Throws:
InvalidCardException
-