ConsumerUpdateInformation

public struct ConsumerUpdateInformation : Encodable

This structure contains the consumer information.

  • The first name.

    Declaration

    Swift

    public let firstName: String?
  • The middle name.

    Declaration

    Swift

    public let middleName: String?
  • The last name.

    Declaration

    Swift

    public let lastName: String?
  • The date of birth.

    Declaration

    Swift

    public let dateOfBirth: String?
  • ssn

    The Social Security Number. This property will accept both the last 4 digits or the full 9 digits of the SSN. On responses this will only return the last 4 digits. Only present for US consumers.

    Declaration

    Swift

    public let ssn: String?
  • The phone number in E.164 international standard.

    Declaration

    Swift

    public let phoneNumber: String?
  • The email address.

    Declaration

    Swift

    public let emailAddress: String?
  • Auxiliary constructor. US Consumer.

    Declaration

    Swift

    public init(
        firstName: String? = nil,
        middleName: String? = nil,
        lastName: String? = nil,
        dateOfBirth: String? = nil,
        ssn: String? = nil,
        phoneNumber: String? = nil,
        emailAddress: String? = nil)

    Parameters

    firstName

    The first name.

    middleName

    The middle name.

    lastName

    The last name.

    dateOfBirth

    The date of birth.

    ssn

    The Social Security Number. This property will accept both the last 4 digits or the full 9 digits of the SSN. On responses this will only return the last 4 digits.

    phoneNumber

    The phone number in E.164 international standard.

    emailAddress

    The email address.

  • Encodes the instance by encoding to the given decoder.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    encoder

    The encoder to write data to.