SCPCreateConfiguration
Objective-C
@interface SCPCreateConfiguration : NSObject
Swift
class CreateConfiguration : NSObject
The CreateConfiguration
contains configuration relevant to creating a payment intent.
-
Determine the behavior of the SDK depending if the iOS device is currently offline and unable to communicate with stripe.com. Defaults to
SCPOfflineBehaviorPreferOnline
.You must be part of the offline beta for this to take effect.
Declaration
Objective-C
@property (nonatomic, readonly) SCPOfflineBehavior offlineBehavior;
Swift
var offlineBehavior: OfflineBehavior { get }
-
Unavailable
Declaration
Objective-C
- (nonnull instancetype)init;
-
Unavailable
Declaration
Objective-C
+ (nonnull instancetype)new;