com.anywherecommerce.android.sdk.util.validator
Class CreditCardValidator
-
java.lang.Object
-
com.anywherecommerce.android.sdk.util.validator.BaseValidator
com.anywherecommerce.android.sdk.util.validator.CreditCardValidator -
public class <span class="typeNameLabel">CreditCardValidator</span> extends
Created by agupta on 2/19/16.
-
<a name="field.summary"></a>
### Field Summary
<a name="fields.inherited.from.class.com.anywherecommerce.android.sdk.util.validator.BaseValidator"></a>
### Fields inherited from class com.anywherecommerce.android.sdk.util.validator.[BaseValidator](#com/anywherecommerce/android/sdk/util/validator/BaseValidator.html "class in com.anywherecommerce.android.sdk.util.validator")
`
<a href="#com/anywherecommerce/android/sdk/util/validator/BaseValidator.html#errorMessage">errorMessage</a>`
<a name="constructor.summary"></a>
### Constructor Summary
Constructor and Description`<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/util/validator/CreditCardValidator.html#CreditCardValidator-java.lang.String-">CreditCardValidator</a></span>(java.lang.String errMessage)`
<a name="method.summary"></a>
### Method Summary
Modifier and TypeMethod and Description`boolean``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/util/validator/CreditCardValidator.html#isValid-java.lang.String-">isValid</a></span>(java.lang.String text)`
<a name="methods.inherited.from.class.com.anywherecommerce.android.sdk.util.validator.BaseValidator"></a>
### Methods inherited from class com.anywherecommerce.android.sdk.util.validator.[BaseValidator](#com/anywherecommerce/android/sdk/util/validator/BaseValidator.html "class in com.anywherecommerce.android.sdk.util.validator")
`
<a href="#com/anywherecommerce/android/sdk/util/validator/BaseValidator.html#getErrorMessage--">getErrorMessage</a>,
<a href="#com/anywherecommerce/android/sdk/util/validator/BaseValidator.html#hasErrorMessage--">hasErrorMessage</a>`
<a name="methods.inherited.from.class.java.lang.Object"></a>
### Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
-
<a name="constructor.detail"></a>
### Constructor Detail
<a name="CreditCardValidator-java.lang.String-"></a>
#### CreditCardValidator
`public CreditCardValidator(java.lang.String errMessage)`
<a name="method.detail"></a>
### Method Detail
<a name="isValid-java.lang.String-"></a>
#### isValid
`public boolean isValid(java.lang.String text)`Specified by:`
<a href="#com/anywherecommerce/android/sdk/util/validator/BaseValidator.html#isValid-java.lang.String-">isValid</a>` in class `
<a href="#com/anywherecommerce/android/sdk/util/validator/BaseValidator.html" title="class in com.anywherecommerce.android.sdk.util.validator">BaseValidator</a>`