onFieldComplete

open fun onFieldComplete(field: CardField)

Called whenever a field is determined to be complete and valid. This may be called multiple times if the user edits the field. If a field is invalid (e.g. an expiration date in the past) then this callback will not get called

Parameters

field

A CardField indicating the field that is complete