Customer

open class Customer : Codable

Represents a Customer in Moltin

  • id

    The ID of this customer

    Declaration

    Swift

    public var id: String?
  • The email of this customer

    Declaration

    Swift

    public var email: String?
  • The name of this customer

    Declaration

    Swift

    public var name: String?
  • Initialise a new customer for checking out with

    Declaration

    Swift

    public init(withID id: String? = nil, withEmail email: String? = nil, withName name: String? = nil)