CardholderInformation

public struct CardholderInformation : Codable

This structure contains the cardholder 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?
  • The email address.

    Declaration

    Swift

    public let emailAddress: String
  • Auxiliary constructor.

    Declaration

    Swift

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

    Parameters

    firstName

    The first name.

    lastName

    The last name.

    emailAddress

    The email address.

    middleName

    The middle name.

    dateOfBirth

    The date of birth.