Article
struct Article : Equatable, Identifiable, Hashable
Safe type of CKArticle to use as a memory buffer.
-
Unique ID.
Declaration
Swift
var id: String -
Name of the article.
Declaration
Swift
var name: String -
Amount of the article.
Declaration
Swift
var amount: Double -
Quantity of the article.
Declaration
Swift
var quantity: Double -
Related transaction.
Declaration
Swift
var transaction: Transaction? -
Total amount multiplied by quantity.
Declaration
Swift
var total: Double { get } -
Declaration
Swift
static func == (lhs: `Self`, rhs: `Self`) -> Bool -
Declaration
Swift
func hash(into hasher: inout Hasher)
View on GitHub
Install in Dash
Article Structure Reference