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
ContentItemKey
struct with given parameterDeclaration
Swift
public init(_ value: String)
Parameters
value
string Value
Return Value
new instanse of
ContentItemKey
struct -
hash
Declaration
Swift
public func hash(into hasher: inout Hasher)