-
Unique identifier for the SKU.
Declaration
Swift
public let resourceId: String
-
Indicates if a SKU is available or not. Needed in case availableQuantity can’t be determined but is for sure > 0.
Declaration
Swift
public let isAvailable: Bool
-
Number of items available for this SKU.
Declaration
Swift
public let availableQuantity: Int?
-
Price for this SKU, prices could vary between SKUs, overrides product price.
Declaration
Swift
public let price: Float
-
Discounted price of the SKU, overrides product `discountedPrice.
Declaration
Swift
public let discountedPrice: Float?
-
Undocumented
Declaration
Swift
public struct PCFSku: Sku, Decodable
-
Contains color information.
Declaration
Swift
public let color: ColorType?
-
SKU Size
Declaration
Swift
public let size: String?
-
SKU Style
Declaration
Swift
public let style: String?
-
SKU Style
Declaration
Swift
public init?(json: JSON)
Parameters
json
JSON representation of object.
Return Value
New instance when JSON parsing successful, false otherwise.