LineItem
-
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? -
-
-
-
-
-
-
-
-
-
does the calculated flag actually do anything?
Declaration
Swift
public var discountAmount: Int? -
-
-
-
True if this item should be counted as revenue, for example gift cards and donations would not
Declaration
Swift
public var isRevenue: Bool? -
-
-
-
-
-
LineItem Class Reference