Class NoCardValidator

java.lang.Object
org.jpos.core.NoCardValidator
All Implemented Interfaces:
CardValidator

public class NoCardValidator extends Object implements 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: