SCPEmailInputBuilder

Objective-C


@interface SCPEmailInputBuilder : SCPBuilder <SCPEmailInput *>

Swift

class EmailInputBuilder : SCPBuilder<EmailInput>

Builder class for SCPEmailInput.

  • Initializes a new instance of the SCPEmailInputBuilder class with the provided title.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTitle:(nonnull NSString *)title;

    Swift

    init(title: String)
  • Declaration

    Objective-C

    - (nonnull SCPEmailInputBuilder *)setTitle:(nonnull NSString *)title;

    Swift

    func setTitle(_ title: String) -> EmailInputBuilder
  • See

    SCPEmailInput.required

    Declaration

    Objective-C

    - (nonnull SCPEmailInputBuilder *)setRequired:(BOOL)required;

    Swift

    func setRequired(_ required: Bool) -> EmailInputBuilder
  • Declaration

    Objective-C

    - (nonnull SCPEmailInputBuilder *)setStripeDescription:
        (nonnull NSString *)stripeDescription;

    Swift

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

    SCPEmailInput.skipButton

    Declaration

    Objective-C

    - (nonnull SCPEmailInputBuilder *)setSkipButtonText:
        (nonnull NSString *)skipButtonText;

    Swift

    func setSkipButtonText(_ skipButtonText: String) -> EmailInputBuilder
  • See

    SCPEmailInput.submitButton

    Declaration

    Objective-C

    - (nonnull SCPEmailInputBuilder *)setSubmitButtonText:
        (nonnull NSString *)submitButtonText;

    Swift

    func setSubmitButtonText(_ submitButtonText: String) -> EmailInputBuilder
  • Declaration

    Objective-C

    - (nonnull SCPEmailInputBuilder *)setToggles:
        (nonnull NSArray<SCPToggle *> *)toggles;

    Swift

    func setToggles(_ toggles: [Toggle]) -> EmailInputBuilder
  • Unavailable

    Use initWithTitle.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    Use initWithTitle.

    Declaration

    Objective-C

    + (nonnull instancetype)new;