SCPNumericInputBuilder
Objective-C
@interface SCPNumericInputBuilder : SCPBuilder <SCPNumericInput *>
Swift
class NumericInputBuilder : SCPBuilder<NumericInput>
Builder class for SCPNumericInput
.
-
Initializes a new instance of the
SCPNumericInputBuilder
class with the provided title.Declaration
Objective-C
- (nonnull instancetype)initWithTitle:(nonnull NSString *)title;
Swift
init(title: String)
-
Declaration
Objective-C
- (nonnull SCPNumericInputBuilder *)setTitle:(nonnull NSString *)title;
Swift
func setTitle(_ title: String) -> NumericInputBuilder
-
See
SCPNumericInput.required
Declaration
Objective-C
- (nonnull SCPNumericInputBuilder *)setRequired:(BOOL)required;
Swift
func setRequired(_ required: Bool) -> NumericInputBuilder
-
Declaration
Objective-C
- (nonnull SCPNumericInputBuilder *)setStripeDescription: (nonnull NSString *)stripeDescription;
Swift
func setStripeDescription(_ stripeDescription: String) -> NumericInputBuilder
-
See
SCPNumericInput.skipButton
Declaration
Objective-C
- (nonnull SCPNumericInputBuilder *)setSkipButtonText: (nonnull NSString *)skipButtonText;
Swift
func setSkipButtonText(_ skipButtonText: String) -> NumericInputBuilder
-
See
SCPNumericInput.submitButton
Declaration
Objective-C
- (nonnull SCPNumericInputBuilder *)setSubmitButtonText: (nonnull NSString *)submitButtonText;
Swift
func setSubmitButtonText(_ submitButtonText: String) -> NumericInputBuilder
-
Declaration
Objective-C
- (nonnull SCPNumericInputBuilder *)setToggles: (nonnull NSArray<SCPToggle *> *)toggles;
Swift
func setToggles(_ toggles: [Toggle]) -> NumericInputBuilder
-
Unavailable
Use
initWithTitle
.Declaration
Objective-C
- (nonnull instancetype)init;
-
Unavailable
Use
initWithTitle
.Declaration
Objective-C
+ (nonnull instancetype)new;