element <cardNumber> (local)
Namespace:
Type:
Content:
simple
Defined:
locally within cardType complexType in myWallet.xsd; see XML source
XML Representation Summary
<cardNumber>
   
Content: 
{ xsd:string }
</cardNumber>
Included in content model of elements (1):
card (in myWallet)
Annotation
The card number is required. The following are the validation rules for listed <b>networkBrand</b> types: <ul> <li>VISA -- prefix 4, card# length 16 or 13, Luhn mod 10 check sum</li> <li>Mastercard -- prefix 51-55, card# length 16, Luhn mod 10 check sum</li> <li>American Express, prefix 34 or 37, card# length 15, Luhn mod 10 check sum</li> <li>Discover, prefix 6011, card# length 16, Luhn mod 10 check sum</li> <li>Diners Club, prefix 300-305 or 36 or 38, card# length 14, Luhn mod 10 check sum</li> <li>JCB, prefix 3, card# length 16, Luhn mod 10 check sum</li> </ul>
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="1" name="cardNumber" type="hs:string">
<xsd:annotation>
<xsd:documentation>
The card number is required. The following are the validation rules for listed
<b>networkBrand</b>
types:
<ul>
<li>
VISA -- prefix 4, card# length 16 or 13, Luhn mod 10 check sum
</li>
<li>
Mastercard -- prefix 51-55, card# length 16, Luhn mod 10 check sum
</li>
<li>
American Express, prefix 34 or 37, card# length 15, Luhn mod 10 check sum
</li>
<li>
Discover, prefix 6011, card# length 16, Luhn mod 10 check sum
</li>
<li>
Diners Club, prefix 300-305 or 36 or 38, card# length 14, Luhn mod 10 check sum
</li>
<li>
JCB, prefix 3, card# length 16, Luhn mod 10 check sum
</li>
</ul>
</xsd:documentation>
</xsd:annotation>
</xsd:element>