SCPPhoneInput
Objective-C
@interface SCPPhoneInput : SCPInput
Swift
class PhoneInput : Input
Contains information about a phone 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
SCPPhoneInputBuilder.Declaration
Objective-C
- (nonnull instancetype)init; -
Unavailable
Use
SCPPhoneInputBuilder.Declaration
Objective-C
+ (nonnull instancetype)new;