Fields

public struct Fields

A collection of information about the individual from the inquiry

  • The name of the individual

    Declaration

    Swift

    public let name: Name?
  • The address of the individual

    Declaration

    Swift

    public let address: Address?
  • The birthdate of the individual

    Declaration

    Swift

    public let birthdate: Date?
  • The phone number of the individual

    Declaration

    Swift

    public let phoneNumber: String?
  • The email address of the individual

    Declaration

    Swift

    public let emailAddress: String?
  • Any additional data of the individual

    Declaration

    Swift

    public let additionalFields: [String : InquiryField]?
  • Creates a Fields object

    Declaration

    Swift

    public init(name: Name? = nil,
                address: Address? = nil,
                birthdate: Date? = nil,
                phoneNumber: String? = nil,
                emailAddress: String? = nil,
                additionalFields: [String: InquiryField]? = nil)

    Parameters

    name

    The name of the individual

    address

    The address of the individual

    birthdate

    The birthdate of the individual

    phoneNumber

    The phone number of the individual

    emailAddress

    The email address of the individual

    additionalFields

    Any additional data of the individual