STPPaymentIntentSourceAction
@interface STPPaymentIntentSourceAction : NSObject <STPAPIResponseDecodable>
Source Action details for an STPPaymentIntent. This is a container for
the various types that are available. Check the type
to see which one
it is, and then use the related property for the details necessary to handle
it.
-
Unavailable
You cannot directly instantiate an STPPaymentIntentSourceAction.
You cannot directly instantiate an
STPPaymentIntentSourceAction
.Declaration
Objective-C
- (nonnull instancetype)init;
-
The type of source action needed. The value of this field determines which property of this object contains further details about the action.
Declaration
Objective-C
@property (readonly, nonatomic) STPPaymentIntentSourceActionType type;
Swift
var type: STPPaymentIntentSourceActionType { get }
-
The details for authorizing via URL, when
type == STPPaymentIntentSourceActionTypeAuthorizeWithURL
Declaration
Objective-C
@property (readonly, nonatomic, nullable) STPPaymentIntentSourceActionAuthorizeWithURL *authorizeWithURL;
Swift
var authorizeWithURL: STPPaymentIntentSourceActionAuthorizeWithURL? { get }