SCPSetupIntentParametersBuilder
Objective-C
@interface SCPSetupIntentParametersBuilder
: SCPBuilder <SCPSetupIntentParameters *>
Swift
class SetupIntentParametersBuilder : SCPBuilder<SetupIntentParameters>
Builder class for SCPSetupIntentParameters
.
-
See
SCPSetupIntentParameters.customerDeclaration
Objective-C
- (nonnull SCPSetupIntentParametersBuilder *)setCustomer: (nullable NSString *)customer;
Swift
func setCustomer(_ customer: String?) -> SetupIntentParametersBuilder
-
See
SCPSetupIntentParameters.stripeDescriptionDeclaration
Objective-C
- (nonnull SCPSetupIntentParametersBuilder *)setStripeDescription: (nullable NSString *)stripeDescription;
Swift
func setStripeDescription(_ stripeDescription: String?) -> SetupIntentParametersBuilder
-
See
SCPSetupIntentParameters.metadataDeclaration
Objective-C
- (nonnull SCPSetupIntentParametersBuilder *)setMetadata: (nullable NSDictionary<NSString *, NSString *> *)metadata;
Swift
func setMetadata(_ metadata: [String : String]?) -> SetupIntentParametersBuilder
-
See
SCPSetupIntentParameters.usageDeclaration
Objective-C
- (nonnull SCPSetupIntentParametersBuilder *)setUsage: (SCPSetupIntentUsage)usage;
Swift
func setUsage(_ usage: SetupIntentUsage) -> SetupIntentParametersBuilder
-
See
SCPSetupIntentParameters.onBehalfOfDeclaration
Objective-C
- (nonnull SCPSetupIntentParametersBuilder *)setOnBehalfOf: (nullable NSString *)onBehalfOf;
Swift
func setOnBehalfOf(_ onBehalfOf: String?) -> SetupIntentParametersBuilder
-
See
SCPSetupIntentParameters.paymentMethodTypesDeclaration
Objective-C
- (nonnull SCPSetupIntentParametersBuilder *)setPaymentMethodTypes: (nonnull NSArray<NSNumber *> *)paymentMethodTypes;
Swift
func setPaymentMethodTypes(_ paymentMethodTypes: [NSNumber]) -> SetupIntentParametersBuilder