feature-libs/checkout/core/store/actions/order-types.action.ts
Action
Properties |
constructor(payload: ORDER_TYPE)
|
||||||
Parameters :
|
Public payload |
Type : ORDER_TYPE
|
Readonly type |
Default value : SET_ORDER_TYPE
|
import { Action } from '@ngrx/store';
import { ORDER_TYPE } from '@spartacus/core';
export const SET_ORDER_TYPE = '[Checkout] Set Order Type';
export class SetOrderType implements Action {
readonly type = SET_ORDER_TYPE;
constructor(public payload: ORDER_TYPE) {}
}
export type OrderTypesActions = SetOrderType;