Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IShoppingCartChange

Any change on the cart is emitted in this format

export
interface

IShoppingCartChange

Hierarchy

  • IShoppingCartChange

Index

Properties

Optional currentDiscountTier

currentDiscountTier: any

Optional currentOrderLine

currentOrderLine: OrderLineDto

Optional currentPickDiscountProductLine

currentPickDiscountProductLine: OrderLineDto

Optional currentTierIndex

currentTierIndex: undefined | number

Optional inversePayload

Optional inverseType

inverseType: "addProductToOrder" | "cancelOrder" | "modifyQuantityOrdered"

Optional isPickDiscountProduct

isPickDiscountProduct: undefined | false | true

Optional previousDiscountTier

previousDiscountTier: any

Optional previousOrderLine

previousOrderLine: OrderLineDto

Optional previousPickDiscountProductLine

previousPickDiscountProductLine: OrderLineDto

Optional previousTierIndex

previousTierIndex: undefined | number

Optional tierChange

tierChange: "upgrade" | "downgrade" | "removed" | "none" | "new" | "choose"

type

type: "add" | "remove" | "modify-quantity" | "pick-discount-product"