ContentItemKey
public struct ContentItemKey : Codable, Hashable
A struct that encapsulates content item key
-
The price of the item
Declaration
Swift
public static let price: ContentItemKey -
quantity of items
Declaration
Swift
public static let quantity: ContentItemKey -
stock keeping unit
Declaration
Swift
public static let sku: ContentItemKey -
The name of the item
Declaration
Swift
public static let productName: ContentItemKey -
Initialize new instanse of
ContentItemKeystruct with given parameterDeclaration
Swift
public init(_ value: String)Parameters
valuestring Value
Return Value
new instanse of
ContentItemKeystruct -
hash
Declaration
Swift
public func hash(into hasher: inout Hasher)
View on GitHub
ContentItemKey Structure Reference