SCPCollectConfigurationBuilder
Objective-C
@interface SCPCollectConfigurationBuilder
: SCPBuilder <SCPCollectConfiguration *>
Swift
class CollectConfigurationBuilder : SCPBuilder<CollectConfiguration>
The CollectConfigurationBuilder is used to create a CollectConfiguration object.
-
Set the skipTipping property for the
CollectConfigurationobject that will be built.Declaration
Objective-C
- (nonnull SCPCollectConfigurationBuilder *)setSkipTipping:(BOOL)skipTipping;Swift
func setSkipTipping(_ skipTipping: Bool) -> CollectConfigurationBuilder -
Set the tippingConfiguration property for the
CollectConfigurationobject that will be built.Declaration
Objective-C
- (nonnull SCPCollectConfigurationBuilder *)setTippingConfiguration: (nullable SCPTippingConfiguration *)tippingConfiguration;Swift
func setTippingConfiguration(_ tippingConfiguration: SCPTippingConfiguration?) -> CollectConfigurationBuilder -
Set the updatePaymentIntent property for the
CollectConfigurationobject that will be built.Declaration
Objective-C
- (nonnull SCPCollectConfigurationBuilder *)setUpdatePaymentIntent: (BOOL)updatePaymentIntent;Swift
func setUpdatePaymentIntent(_ updatePaymentIntent: Bool) -> CollectConfigurationBuilder -
Set the enableCustomerCancellation property for the
CollectConfigurationobject that will be built.Declaration
Objective-C
- (nonnull SCPCollectConfigurationBuilder *)setEnableCustomerCancellation: (BOOL)enableCustomerCancellation;Swift
func setEnableCustomerCancellation(_ enableCustomerCancellation: Bool) -> CollectConfigurationBuilder -
Set the enableCustomerCancellation property for the
CollectConfigurationobject that will be built.Declaration
Objective-C
- (nonnull SCPCollectConfigurationBuilder *)setRequestDynamicCurrencyConversion: (BOOL)requestDynamicCurrencyConversion;Swift
func setRequestDynamicCurrencyConversion(_ requestDynamicCurrencyConversion: Bool) -> CollectConfigurationBuilder -
Set the surchargeNotice property for the
CollectConfigurationobject that will be built.Declaration
Objective-C
- (nonnull SCPCollectConfigurationBuilder *)setSurchargeNotice: (nullable NSString *)surchargeNotice;Swift
func setSurchargeNotice(_ surchargeNotice: String?) -> CollectConfigurationBuilder