OPPCDItem

@objc
public class OPPCDItem : NSObject

TheOPPCDItem holds the product information such as the product’s name, quantity, price and more.

  • The name of an item in the shopping cart.

    Declaration

    Swift

    @objc
    public var name: String?
  • The number of items in the shopping cart.

    Declaration

    Swift

    @objc
    public var quantity: String?
  • The price of an item in the shopping cart.

    Declaration

    Swift

    @objc
    public var price: String?
  • sku

    The sku of an item in the cart item.

    Declaration

    Swift

    @objc
    public var sku: String?
  • The cart item’s URL.

    Declaration

    Swift

    @objc
    public var productURL: String?
  • The cart item’s image URL.

    Declaration

    Swift

    @objc
    public var imageURL: String?
  • The cart item’s total discount amount.

    Declaration

    Swift

    @objc
    public var totalDiscountAmount: String?