blob: 523ca8b76fb4059e1f6f0e658f2944e698e38f2e [file] [log] [blame]
{ "type": "class",
"qname": "org.apache.royale.jewel.beads.validators.CreditCardValidator",
"baseClassname": "org.apache.royale.jewel.beads.validators.StringValidator"
,
"members": [
{ "type": "method",
"qname": "org.apache.royale.jewel.beads.validators.CreditCardValidator",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Constructor.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.6"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "",
"params": []}
,
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "allowedFormatChars",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The set of formatting characters allowed in the <code>cardNumber</code> field.",
"tags": [
{ "tagName": "default",
"values": ["" -" (space and dash)"]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.6"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "invalidCharError",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Error message when the <code>cardNumber</code> field contains invalid characters.",
"tags": [
{ "tagName": "default",
"values": [""Invalid characters in your credit card number. (Enter numbers only.)""]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.6"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "invalidNumberError",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Error message when the credit card number is invalid.",
"tags": [
{ "tagName": "default",
"values": [""The credit card number is invalid.""]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.6"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "noNumError",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Error message when the <code>cardNumber</code> field is empty.",
"tags": [
{ "tagName": "default",
"values": [""No credit card number is specified.""]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.6"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "noTypeError",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Error message when the <code>cardType</code> field is blank.",
"tags": [
{ "tagName": "default",
"values": [""No credit card type is specified or the type is not valid.""]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.6"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "wrongLengthError",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Error message when the <code>cardNumber</code> field contains the wrong number of digits for the specified credit card type.",
"tags": [
{ "tagName": "default",
"values": [""Your credit card number contains the wrong number of digits.""]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.6"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "wrongTypeError",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Error message the <code>cardType</code> field contains an invalid credit card type. You should use the predefined constants for the <code>cardType</code> field: <code>CreditCardValidatorCardType.MASTER_CARD</code>, <code>CreditCardValidatorCardType.VISA</code>, <code>CreditCardValidatorCardType.AMERICAN_EXPRESS</code>, <code>CreditCardValidatorCardType.DISCOVER</code>, or <code>CreditCardValidatorCardType.DINERS_CLUB</code>.",
"tags": [
{ "tagName": "default",
"values": [""Incorrect card type is specified.""]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.6"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "cardTypeProperty",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {}},
{ "type": "accessor",
"access": "read-write",
"return": "Object",
"qname": "cardTypeSource",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Object that contains the value of the card type field. If you specify a value for this property, you must also specify a value for the <code>cardTypeProperty</code> property. Do not use this property if you set the <code>source</code> and <code>property</code> properties.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.6"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "triggerCardTypeEvent",
"namespace": "public",
"bindable": ["triggerCardTypeEventChanged"],
"details": [],
"deprecated": {},
"description": "Specifies the event that triggers the validation.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.6"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "method",
"qname": "validate",
"namespace": "public",
"bindable": [],
"details": ["override"],
"deprecated": {},
"description": "Override of the base class validate() method to validate a the host textinput as email.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.6"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "Boolean",
"params": [{ "name": "event", "type": "org.apache.royale.events.Event"}]}
]
}