Classes
The following classes are available globally.
-
This class lets you access card icons used by the Stripe SDK. All icons are 32 x 20 points.
See moreDeclaration
Swift
public class STPImageLibrary : NSObject
-
STPAUBECSDebitFormView is a subclass of UIControl that contains all of the necessary fields and legal text for collecting AU BECS Debit payments. For additional customization options - seealso: STPFormTextFieldContainer
See moreDeclaration
Swift
public class STPAUBECSDebitFormView: STPMultiFormTextField, STPMultiFormFieldDelegate, UITextViewDelegate
-
See moreSTPCardFormView
provides a multiline interface for users to input their credit card details as well as billing postal code and provides an interface to access the createdSTPPaymentMethodParams
.STPCardFormView
includes both the input fields as well as an error label that is displayed when invalid input is detected.Declaration
Swift
public class STPCardFormView : STPFormView
-
STPFormView
is a base class for the Stripe SDK’s form input UI. You should use one of the available subclasses (STPCardFormView
) rather than instantiating anSTPFormView
instance directly.Declaration
Swift
public class STPFormView : UIView, STPFormInputValidationObserver
-
STPMultiFormTextField is a lightweight UIView that wraps a collection of STPFormTextFields and can automatically move to the next form field when one is completed.
See moreDeclaration
Swift
public class STPMultiFormTextField: UIView, STPFormTextFieldContainer, UITextFieldDelegate, STPFormTextFieldDelegate
-
STPPaymentCardTextField is a text field with similar properties to UITextField, but specialized for credit/debit card information. It manages multiple UITextFields under the hood to collect this information. It’s designed to fit on a single line, and from a design perspective can be used anywhere a UITextField would be appropriate.
See moreDeclaration
Swift
@IBDesignable @objc(STPPaymentCardTextField) open class STPPaymentCardTextField : UIControl, UIKeyInput, STPFormTextFieldDelegate
-
A client for making connections to the Stripe API.
See moreDeclaration
Swift
@objc public class STPAPIClient : NSObject
-
Libraries wrapping the Stripe SDK should use this object to provide information about the library, and set it in on
See moreSTPAPIClient
. This information is passed to Stripe so that we can contact you about future issues or critical updates.Declaration
Swift
@objc public class STPAppInfo : NSObject
-
A top-level class that imports the rest of the Stripe SDK.
See moreDeclaration
Swift
@objc public class StripeAPI : NSObject
-
Top-level class for Stripe error constants.
See moreDeclaration
Swift
@objc public class STPError : NSObject