SCPSetupIntentParametersBuilder

Objective-C


@interface SCPSetupIntentParametersBuilder
    : SCPBuilder <SCPSetupIntentParameters *>

Swift

class SetupIntentParametersBuilder : SCPBuilder<SetupIntentParameters>

Builder class for SCPSetupIntentParameters.

  • See

    SCPSetupIntentParameters.customer

    Declaration

    Objective-C

    - (nonnull SCPSetupIntentParametersBuilder *)setCustomer:
        (nullable NSString *)customer;

    Swift

    func setCustomer(_ customer: String?) -> SetupIntentParametersBuilder
  • See

    SCPSetupIntentParameters.stripeDescription

    Declaration

    Objective-C

    - (nonnull SCPSetupIntentParametersBuilder *)setStripeDescription:
        (nullable NSString *)stripeDescription;

    Swift

    func setStripeDescription(_ stripeDescription: String?) -> SetupIntentParametersBuilder
  • See

    SCPSetupIntentParameters.metadata

    Declaration

    Objective-C

    - (nonnull SCPSetupIntentParametersBuilder *)setMetadata:
        (nullable NSDictionary<NSString *, NSString *> *)metadata;

    Swift

    func setMetadata(_ metadata: [String : String]?) -> SetupIntentParametersBuilder
  • See

    SCPSetupIntentParameters.usage

    Declaration

    Objective-C

    - (nonnull SCPSetupIntentParametersBuilder *)setUsage:
        (SCPSetupIntentUsage)usage;

    Swift

    func setUsage(_ usage: SetupIntentUsage) -> SetupIntentParametersBuilder
  • See

    SCPSetupIntentParameters.onBehalfOf

    Declaration

    Objective-C

    - (nonnull SCPSetupIntentParametersBuilder *)setOnBehalfOf:
        (nullable NSString *)onBehalfOf;

    Swift

    func setOnBehalfOf(_ onBehalfOf: String?) -> SetupIntentParametersBuilder
  • See

    SCPSetupIntentParameters.paymentMethodTypes

    Declaration

    Objective-C

    - (nonnull SCPSetupIntentParametersBuilder *)setPaymentMethodTypes:
        (nonnull NSArray<NSString *> *)paymentMethodTypes;

    Swift

    func setPaymentMethodTypes(_ paymentMethodTypes: [String]) -> SetupIntentParametersBuilder