SCPNextAction
Objective-C
@interface SCPNextAction : NSObject <NSCopying>
Swift
class NextAction : NSObject, NSCopying
Represents the next action that should be taken for a PaymentIntent.
-
The type of next action to perform.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *type;Swift
var type: String? { get } -
Contains instructions for displaying a QR code for WeChat Pay payments.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) SCPWechatPayDisplayQrCode *wechatPayDisplayQrCode;Swift
var wechatPayDisplayQrCode: SCPWechatPayDisplayQrCode? { get } -
Contains instructions for redirecting the customer to another URL.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) SCPRedirectToUrl *redirectToUrl;Swift
var redirectToUrl: SCPRedirectToUrl? { get } -
When confirming a PaymentIntent with Stripe.js, Stripe.js depends on the contents of this object to invoke authentication flows.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) SCPUseStripeSdk *useStripeSdk;Swift
var useStripeSdk: SCPUseStripeSdk? { get } -
Unavailable
You cannot directly instantiate
SCPNextAction. You should only use one that has been returned by our SDK.Declaration
Objective-C
- (nonnull instancetype)init; -
Unavailable
You cannot directly instantiate
SCPNextAction. You should only use one that has been returned by our SDK.Declaration
Objective-C
+ (nonnull instancetype)new;