LineItem
@objc(_TtCCC15CloverConnector9CLVModels5Order8LineItem)
public class LineItem : NSObject, NSCoding, Mappable
-
Unique identifier
Declaration
Swift
public var id: String?
-
Inventory item used to create this line item
Declaration
Swift
public var item: CLVModels.Inventory.Item?
-
Line item name
Declaration
Swift
public var name: String?
-
Alternate name of the line item
Declaration
Swift
public var alternateName: String?
-
Price of the item, typically in cents; use priceType and merchant currency to determine actual item price
Declaration
Swift
public var price: Int?
-
Unit quantity
Declaration
Swift
public var unitQty: Int?
-
Unit name (e.g. oz, lb, etc.)
Declaration
Swift
public var unitName: String?
-
Declaration
Swift
public var itemCode: String?
-
Declaration
Swift
public var note: String?
-
Declaration
Swift
public var printed: Bool?
-
Declaration
Swift
public var binName: String?
-
Declaration
Swift
public var userData: String?
-
Declaration
Swift
public var createdTime: Date?
-
Declaration
Swift
public var orderClientCreatedTime: Date?
-
does the calculated flag actually do anything?
Declaration
Swift
public var discountAmount: Int?
-
Declaration
Swift
public var exchanged: Bool?
-
Declaration
Swift
public var modifications: [CLVModels.Order.Modification]?
-
Declaration
Swift
public var refunded: Bool?
-
True if this item should be counted as revenue, for example gift cards and donations would not
Declaration
Swift
public var isRevenue: Bool?
-
Declaration
Swift
public var taxRates: [CLVModels.Inventory.TaxRate]?
-
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)