AdditionalFields
public struct AdditionalFields
Configuration related to the collection of additional fields beyond the physical address.
-
Whether a field should be hidden, optional, or required.
See moreDeclaration
Swift
public enum FieldConfiguration
-
Configuration for the field that collects a phone number.
Declaration
Swift
public var phone: FieldConfiguration
-
The label of a checkbox displayed below other fields. If nil, the checkbox is not displayed. Defaults to nil
Declaration
Swift
public var checkboxLabel: String?
-
Initializes an AdditionalFields
Declaration
Swift
public init(phone: FieldConfiguration = .hidden, checkboxLabel: String? = nil)