diff --git a/lib/src/main/java/com/raqun/oyster/CreditCardValidator.kt b/lib/src/main/java/com/raqun/oyster/CreditCardValidator.kt index a1226c9..d13eadb 100644 --- a/lib/src/main/java/com/raqun/oyster/CreditCardValidator.kt +++ b/lib/src/main/java/com/raqun/oyster/CreditCardValidator.kt @@ -19,9 +19,11 @@ class CreditCardValidator private constructor( ) : TextWatcher { private val filterArray = arrayOfNulls(1) - private var creditCard: CreditCard? = null private var isPatternValid = false + var creditCard: CreditCard? = null + private set + var isValid = false private set