Customer
@objc(_TtCCC15CloverConnector9CLVModels9Customers8Customer)
public class Customer : NSObject, NSCoding, Mappable
-
Unique identifier
Declaration
Swift
public var id: String? -
First/given name of the customer
Declaration
Swift
public var firstName: String? -
Last name/surname of the customer
Declaration
Swift
public var lastName: String? -
Declaration
Swift
public var marketingAllowed: Bool? -
Declaration
Swift
public var customerSince: Int? -
Declaration
Swift
public var emailAddresses: [CLVModels.Customers.EmailAddress]? -
Declaration
Swift
public var phoneNumbers: [CLVModels.Customers.PhoneNumber]? -
init(id:orderRef: firstName: lastName: marketingAllowed: customerSince: orders: addresses: emailAddresses: phoneNumbers: cards: ) Declaration
Swift
public init(id: String? = nil, orderRef: CLVModels.Order.Order? = nil, firstName: String? = nil, lastName: String? = nil, marketingAllowed: Bool? = nil, customerSince: Int? = nil, orders: [CLVModels.Order.Order]? = nil, addresses: [CLVModels.Customers.Address]? = nil, emailAddresses: [CLVModels.Customers.EmailAddress]? = nil, phoneNumbers: [CLVModels.Customers.PhoneNumber]? = nil, cards: [CLVModels.Customers.Card]? = nil) -
Declaration
Swift
public func encode(with aCoder: NSCoder) -
Declaration
Swift
required public init(coder aDecoder: NSCoder) -
Declaration
Swift
override public init() -
Declaration
Swift
required public init?(map: Map) -
Declaration
Swift
public func mapping(map: Map)
Customer Class Reference