STPSourceRedirect
@interface STPSourceRedirect : NSObject <STPAPIResponseDecodable>
Information related to a source’s redirect flow.
-
Unavailable
You cannot directly instantiate an STPSourceRedirect. You should only use one that is part of an existing STPSource object.
You cannot directly instantiate an
STPSourceRedirect
. You should only use one that is part of an existingSTPSource
object.Declaration
Objective-C
- (nonnull instancetype)init;
-
The URL you provide to redirect the customer to after they authenticated their payment.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSURL *returnURL;
Swift
var returnURL: URL? { get }
-
The status of the redirect.
Declaration
Objective-C
@property (nonatomic, readonly) STPSourceRedirectStatus status;
Swift
var status: STPSourceRedirectStatus { get }
-
The URL provided to you to redirect a customer to as part of a redirect authentication flow.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSURL *url;
Swift
var url: URL? { get }