SCPSetupIntentConfigurationBuilder

Objective-C


@interface SCPSetupIntentConfigurationBuilder
    : SCPBuilder <SCPSetupIntentConfiguration *>

Swift

class SetupIntentConfigurationBuilder : SCPBuilder<SetupIntentConfiguration>

The SetupIntentConfigurationBuilder is used to create a SetupIntentConfiguration object.

  • Set the enableCustomerCancellation property for the SetupIntentConfiguration object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPSetupIntentConfigurationBuilder *)setEnableCustomerCancellation:
        (BOOL)enableCustomerCancellation;

    Swift

    func setEnableCustomerCancellation(_ enableCustomerCancellation: Bool) -> SetupIntentConfigurationBuilder