STPAUBECSDebitFormViewDelegate
Objective-C
@protocol STPAUBECSDebitFormViewDelegate <NSObject>
Swift
protocol STPAUBECSDebitFormViewDelegate : NSObjectProtocol
STPAUBECSDebitFormViewDelegate provides methods for STPAUBECSDebitFormView to inform its delegate of when the form has been completed.
-
Called when the form transitions from complete to incomplete or vice-versa.
Declaration
Objective-C
- (void)auBECSDebitForm:(nonnull STPAUBECSDebitFormView *)form didChangeToStateComplete:(BOOL)complete;
Swift
func auBECSDebitForm(_ form: STPAUBECSDebitFormView, didChangeToStateComplete complete: Bool)
Parameters
form
The
STPAUBECSDebitFormView
instance whose completion state has changedcomplete
Whether the form is considered complete and can generate an
STPPaymentMethodParams
instance.