CartItem

public protocol CartItem

CartItem protocol.

  • Adjustments made specific to the product in this cart item.

    Declaration

    Swift

    var adjustments: [AdjustmentType]
  • Denotes whether or not other SKUs of the product are available

    Declaration

    Swift

    var otherSKUsAvailable: Bool?
  • Personalization Selections

    Declaration

    Swift

    var personalizations: [PersonalizationOptionType]?
  • Minified product without SKU options or description.

    Declaration

    Swift

    var product: ProductType
  • Quantity of product.

    Declaration

    Swift

    var quantity: Int
  • Unique ID of the card item.

    Declaration

    Swift

    var resourceId: String
  • sku

    values of the selected SKU

    Declaration

    Swift

    var sku: SkuType?
  • Product discounted price times quantity.

    Declaration

    Swift

    var totalDiscountedPrice: Float
  • Product price times quantity

    Declaration

    Swift

    var totalPrice: Float