SCPTextInput
Objective-C
@interface SCPTextInput : SCPInput
Swift
class TextInput : Input
Contains information about a Text form to display on the reader
-
Represents the form’s title
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull title;
Swift
var title: String { get }
-
Represents the form’s description
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *stripeDescription;
Swift
var stripeDescription: String? { get }
-
Represents the skip button text
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *skipButtonText;
Swift
var skipButtonText: String? { get }
-
Represents the submit button text
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *submitButtonText;
Swift
var submitButtonText: String? { get }
-
Represents the toggles
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSArray<SCPToggle *> *_Nonnull toggles;
Swift
var toggles: [Toggle] { get }
-
Unavailable
Use
SCPTextInputBuilder
.Declaration
Objective-C
- (nonnull instancetype)init;
-
Unavailable
Use
SCPTextInputBuilder
.Declaration
Objective-C
+ (nonnull instancetype)new;