GitHub

DaffResolveCartPartialSuccess

An action that indicates a user's cart is resolved but recoverable errors occurred. There should be enough data to render the cart but the user should probably be shown error messages as well. A common example is some cart items being out of stock.

class DaffResolveCartPartialSuccess<<T extends DaffCart = DaffCart>>  implements DaffCartRetrievalAction<T> {
  readonly type: DaffCartActionTypes.ResolveCartPartialSuccessAction
  payload: T
  errors: DaffStateError[]
}

Properties

Name Type Description
type DaffCartActionTypes.ResolveCartPartialSuccessAction
payload T
errors DaffStateError[]