GitHub

DaffCartItemAddFailure

Indicates the failed addition of a product to the cart.

import { DaffCartItemAddFailure } from '@daffodil/cart/state'
class DaffCartItemAddFailure implements DaffFailureAction {
  readonly type: DaffCartItemActionTypes.CartItemAddFailureAction
  payload: DaffStateError[]
  placeholderId: string
}

Properties

Name Type Description
type DaffCartItemActionTypes.CartItemAddFailureAction
payload DaffStateError[]
placeholderId string