public protocol STPCardFormViewDelegate : NSObjectProtocol

STPCardFormViewDelegate defines the interface that should be adopted to receive updates from STPCardFormView instances.

  • Delegate method that is called when all of the form view’s required inputs are complete or transition away from all being complete. These transitions correspond to cardForView.cardParams returning a nil value or not.



    func cardFormView(_ form: STPCardFormView, didChangeToStateComplete complete: Bool)