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