SCPCollectConfiguration
Objective-C
@interface SCPCollectConfiguration : NSObject <NSCopying>
                Swift
class CollectConfiguration : NSObject, NSCopying
                The CollectConfiguration contains configuration information relevant to collecting a payment
method.
- 
                  
                  
Bypass tipping selection if it would have otherwise been shown.
Defaults to NO.
Declaration
Objective-C
@property (nonatomic) BOOL skipTipping;Swift
var skipTipping: Bool { get set } - 
                  
                  
The tipping configuration for this payment collection.
Declaration
Objective-C
@property (nonatomic, strong, nullable) SCPTippingConfiguration *tippingConfiguration;Swift
var tippingConfiguration: SCPTippingConfiguration? { get set } - 
                  
                  
Whether or not to update the PaymentIntent server side during
collectPaymentMethod.Defaults to NO.
Declaration
Objective-C
@property (nonatomic) BOOL updatePaymentIntent;Swift
var updatePaymentIntent: Bool { get set } - 
                  
                  
Initialize a CollectConfiguration
Declaration
Objective-C
- (nonnull instancetype)initWithSkipTipping:(BOOL)skipTipping;Swift
convenience init(skipTipping: Bool)Parameters
skipTippingBypass tipping selection if it would have otherwise been shown.
 - 
                  
                  
Initialize a CollectConfiguration
Declaration
Objective-C
- (nonnull instancetype)initWithUpdatePaymentIntent:(BOOL)updatePaymentIntent;Swift
convenience init(updatePaymentIntent: Bool)Parameters
updatePaymentIntentWhether or not to update the PaymentIntent server side during
collectPaymentMethod. - 
                  
                  
Initialize a CollectConfiguration.
Declaration
Objective-C
- (nonnull instancetype)initWithTippingConfiguration: (nonnull SCPTippingConfiguration *)tippingConfiguration;Swift
convenience init(tippingConfiguration: SCPTippingConfiguration)Parameters
tippingConfigurationTipping configuration for the payment method collection.
 - 
                  
                  
Initialize a CollectConfiguration
Declaration
Objective-C
- (nonnull instancetype)initWithSkipTipping:(BOOL)skipTipping updatePaymentIntent:(BOOL)updatePaymentIntent;Swift
convenience init(skipTipping: Bool, updatePaymentIntent: Bool)Parameters
skipTippingBypass tipping selection if it would have otherwise been shown.
updatePaymentIntentWhether or not to update the PaymentIntent server side during
collectPaymentMethod. - 
                  
                  
Initialize a CollectConfiguration.
Declaration
Objective-C
- (nonnull instancetype)initWithSkipTipping:(BOOL)skipTipping tippingConfiguration:(nullable SCPTippingConfiguration *) tippingConfiguration;Swift
convenience init(skipTipping: Bool, tippingConfiguration: SCPTippingConfiguration?)Parameters
skipTippingBypass tipping selection if it would have otherwise been shown.
tippingConfigurationTipping configuration for the payment method collection.
 - 
                  
                  
Initialize a CollectConfiguration.
Declaration
Objective-C
- (nonnull instancetype)initWithUpdatePaymentIntent:(BOOL)updatePaymentIntent tippingConfiguration: (nullable SCPTippingConfiguration *) tippingConfiguration;Swift
convenience init(updatePaymentIntent: Bool, tippingConfiguration: SCPTippingConfiguration?)Parameters
updatePaymentIntentWhether or not to update the PaymentIntent server side during
collectPaymentMethod.tippingConfigurationTipping configuration for the payment method collection.
 - 
                  
                  
Initialize a CollectConfiguration.
Declaration
Objective-C
- (nonnull instancetype)initWithSkipTipping:(BOOL)skipTipping updatePaymentIntent:(BOOL)updatePaymentIntent tippingConfiguration:(nullable SCPTippingConfiguration *) tippingConfiguration;Swift
init(skipTipping: Bool, updatePaymentIntent: Bool, tippingConfiguration: SCPTippingConfiguration?)Parameters
skipTippingBypass tipping selection if it would have otherwise been shown.
updatePaymentIntentWhether or not to update the PaymentIntent server side during
collectPaymentMethod.tippingConfigurationTipping configuration for the payment method collection.
 - 
                  
                  
Unavailable
Use
initWithSkipTipping:updatePaymentIntent:tippingConfiguration:or helper initializers.Declaration
Objective-C
- (nonnull instancetype)init; - 
                  
                  
Unavailable
Use
initWithSkipTipping:updatePaymentIntent:tippingConfiguration:or helper initializers.Declaration
Objective-C
+ (nonnull instancetype)new; 
      SCPCollectConfiguration Class Reference