(Quick Reference)

creditCard

目的
Purpose

Validates that a String value is a valid credit card number

使用例
Examples

cardNumber creditCard: true

詳細
Description

Set to true if a string must be a credit card number. Internally uses the org.apache.commons.validator.CreditCardValidator class.

Error Code: className.propertyName.creditCard.invalid