CartItem
protocol CartItem
A Cart Item
-
The item description
Declaration
Swift
var itemDescription: String? { get } -
The name of the item
Declaration
Swift
var name: String { get } -
The quantity of items
Declaration
Swift
var quantity: Int { get } -
The total amount of the item
Declaration
Swift
var total: UnitAmount { get } -
The amount per item unit
Declaration
Swift
var unitPrice: UnitAmount { get }
View on GitHub
Install in Dash
CartItem Protocol Reference