Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.hibernate.validator
Annotation Type CreditCardNumber

    @Documented
    @ValidatorClass(value=CreditCardNumberValidator.class)
    @Target(value={METHOD,FIELD})
    @Retention(value=RUNTIME)
    public @interface CreditCardNumber

The annotated element has to represent a valid credit card number. This is the Luhn algorithm implementation which aims to check for user mistake, not credit card validity!

Author:
  Emmanuel Bernard

Optional Element Summary
`String` | `message`

### message

    public abstract String message

  Default:
    "{validator.creditCard}"

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT