SCPOfflineBehavior
Objective-C
enum SCPOfflineBehavior : NSInteger {}
                Swift
enum OfflineBehavior : Int, @unchecked Sendable
                The available operating modes that define how payment intents respond to changes in network connectivity.
- 
                  
                  
When network connectivity is available, this PaymentIntent will be transacted online. When network connectivity is unavailable, the PaymentIntent will be transacted offline.
Declaration
Objective-C
SCPOfflineBehaviorPreferOnlineSwift
case preferOnline = 0 - 
                  
                  
The PaymentIntent will only be transacted when network connectivity is available.
Declaration
Objective-C
SCPOfflineBehaviorRequireOnlineSwift
case requireOnline = 1 - 
                  
                  
The PaymentIntent will only be transacted offline, regardless of network connectivity.
Declaration
Objective-C
SCPOfflineBehaviorForceOfflineSwift
case forceOffline = 2