Sku

public protocol Sku

Sku protocol

  • Unique identifier for the SKU.

    Declaration

    Swift

    var 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

    var isAvailable: Bool
  • Number of items available for this SKU.

    Declaration

    Swift

    var availableQuantity: Int?
  • Price for this SKU, prices could vary between SKUs, overrides product price.

    Declaration

    Swift

    var price: Float
  • Discounted price of the SKU, overrides product `discountedPrice.

    Declaration

    Swift

    var discountedPrice: Float?
  • Undocumented

    Declaration

    Swift

    public protocol Sku
  • Contains color information.

    Declaration

    Swift

    var color: ColorType?
  • SKU Size

    Declaration

    Swift

    var size: String?
  • SKU Style

    Declaration

    Swift

    var style: String?