SCPCollectPaymentIntentConfigurationBuilder

Objective-C


@interface SCPCollectPaymentIntentConfigurationBuilder
    : SCPBuilder <SCPCollectPaymentIntentConfiguration *>

Swift

class CollectPaymentIntentConfigurationBuilder : SCPBuilder<CollectPaymentIntentConfiguration>

The CollectPaymentIntentConfigurationBuilder is used to create a CollectPaymentIntentConfiguration object.

  • Set the skipTipping property for the CollectPaymentIntentConfiguration object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPCollectPaymentIntentConfigurationBuilder *)setSkipTipping:
        (BOOL)skipTipping;

    Swift

    func setSkipTipping(_ skipTipping: Bool) -> CollectPaymentIntentConfigurationBuilder
  • Set the tippingConfiguration property for the CollectPaymentIntentConfiguration object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPCollectPaymentIntentConfigurationBuilder *)
        setTippingConfiguration:
            (nullable SCPTippingConfiguration *)tippingConfiguration;

    Swift

    func setTippingConfiguration(_ tippingConfiguration: SCPTippingConfiguration?) -> CollectPaymentIntentConfigurationBuilder
  • Set the updatePaymentIntent property for the CollectPaymentIntentConfiguration object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPCollectPaymentIntentConfigurationBuilder *)setUpdatePaymentIntent:
        (BOOL)updatePaymentIntent;

    Swift

    func setUpdatePaymentIntent(_ updatePaymentIntent: Bool) -> CollectPaymentIntentConfigurationBuilder
  • Set the customerCancellation property for the CollectPaymentIntentConfiguration object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPCollectPaymentIntentConfigurationBuilder *)
        setCustomerCancellation:(SCPCustomerCancellation)customerCancellation;

    Swift

    func setCustomerCancellation(_ customerCancellation: CustomerCancellation) -> CollectPaymentIntentConfigurationBuilder
  • Set the enableCustomerCancellation property for the CollectPaymentIntentConfiguration object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPCollectPaymentIntentConfigurationBuilder *)
        setRequestDynamicCurrencyConversion:(BOOL)requestDynamicCurrencyConversion;

    Swift

    func setRequestDynamicCurrencyConversion(_ requestDynamicCurrencyConversion: Bool) -> CollectPaymentIntentConfigurationBuilder
  • Set the surchargeNotice property for the CollectPaymentIntentConfiguration object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPCollectPaymentIntentConfigurationBuilder *)setSurchargeNotice:
        (nullable NSString *)surchargeNotice;

    Swift

    func setSurchargeNotice(_ surchargeNotice: String?) -> CollectPaymentIntentConfigurationBuilder
  • Set the allowRedisplay property for the CollectPaymentIntentConfiguration object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPCollectPaymentIntentConfigurationBuilder *)setAllowRedisplay:
        (SCPAllowRedisplay)allowRedisplay;

    Swift

    func setAllowRedisplay(_ allowRedisplay: AllowRedisplay) -> CollectPaymentIntentConfigurationBuilder
  • Set the motoConfiguration property for the CollectPaymentIntentConfiguration object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPCollectPaymentIntentConfigurationBuilder *)setMotoConfiguration:
        (nullable SCPMotoConfiguration *)motoConfiguration;

    Swift

    func setMotoConfiguration(_ motoConfiguration: MotoConfiguration?) -> CollectPaymentIntentConfigurationBuilder