See Universal Air Travel Plan1 for more details.

Syntax

// ...
 
class Transaction
{
    /**
     * @Assert\CardScheme(
     *     schemes={"AMEX", "MASTERCARD", "UATP", "VISA"},
     *     message="Your credit card number is invalid."
     * )
     */
    protected $cardNumber;
}

Footnotes

Footnotes

  1. https://en.wikipedia.org/wiki/Universal_Air_Travel_Plan