Protocols

The following protocols are available globally.

  • STPAUBECSDebitFormViewDelegate provides methods for STPAUBECSDebitFormView to inform its delegate of when the form has been completed.

    See more

    Declaration

    Swift

    @objc
    public protocol STPAUBECSDebitFormViewDelegate : NSObjectProtocol
  • STPCardFormViewDelegate defines the interface that should be adopted to receive updates from STPCardFormView instances.

    See more

    Declaration

    Swift

    @objc
    public protocol STPCardFormViewDelegate : NSObjectProtocol
  • STPFormTextFieldContainer is a protocol that views can conform to to provide customization properties for the field form views that they contain.

    See more

    Declaration

    Swift

    @objc
    public protocol STPFormTextFieldContainer : NSObjectProtocol
  • This protocol allows a delegate to be notified when a payment text field’s contents change, which can in turn be used to take further actions depending on the validity of its contents.

    See more

    Declaration

    Swift

    @objc
    public protocol STPPaymentCardTextFieldDelegate : NSObjectProtocol