Classes
The following classes are available globally.
-
A view controller that collects a name and an address, with full localization and autocomplete.
Note
It usesnavigationItem
and can push a view controller, so it must be shown inside aUINavigationController
.Declaration
Swift
@objc(STPAddressViewController) public class AddressViewController : UIViewController
extension AddressViewController: UIGestureRecognizerDelegate
-
A drop-in class that presents a sheet for a customer to complete their payment
See moreDeclaration
Swift
public class PaymentSheet
-
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
STPAPIClient
.This information is passed to Stripe so that we can contact you about future issues or critical updates.
See moreDeclaration
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