CardFormView
A view to collect credit card information and provide CardParams for API invocation. The postal code field adjust its form accordingly based on currently selected country.
Use R.styleable.StripeCardFormView_cardFormStyle to toggle style between Style.Standard and Style.Borderless, Use R.styleable.StripeCardFormView_backgroundColorStateList to change the card form's background color in enable and disabled state.
To access the CardParams, see details in cardParams property. To get notified if the current card params are valid, set a CardValidCallback object with setCardValidCallback.
Constructors
Functions
Properties
Retrieve a CardParams representing the card details if all these fields are valid: card number, expiration date, CVC, postal, country. Returns null otherwise and display corresponding errors.