Skip to content

Commit

Permalink
credit card in validator made public
Browse files Browse the repository at this point in the history
  • Loading branch information
savepopulation committed Jan 23, 2020
1 parent 419aac1 commit 14e2225
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/main/java/com/raqun/oyster/CreditCardValidator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ class CreditCardValidator private constructor(
) : TextWatcher {

private val filterArray = arrayOfNulls<InputFilter>(1)
private var creditCard: CreditCard? = null
private var isPatternValid = false

var creditCard: CreditCard? = null
private set

var isValid = false
private set

Expand Down

0 comments on commit 14e2225

Please sign in to comment.