import { Action } from '@ngrx/store' ; import { DaffCart } from '@daffodil/cart' ; import { DaffOrder } from '../../models/order/order' ; deprecated export enum DaffOrderActionTypes { PlaceOrderAction = '[Order] Place Order Action' , PlaceOrderSuccessAction = '[Order] Place Order Success Action' , PlaceOrderFailureAction = '[Order] Place Order Failure Action' } deprecated export enum OrderActionTypes { PlaceOrderAction = '[Order] Place Order Action' , PlaceOrderSuccessAction = '[Order] Place Order Success Action' , PlaceOrderFailureAction = '[Order] Place Order Failure Action' } deprecated export class PlaceOrder implements Action { readonly type = DaffOrderActionTypes . PlaceOrderAction ; constructor ( public payload ) { } } deprecated export class DaffPlaceOrder implements Action { readonly type = DaffOrderActionTypes . PlaceOrderAction ; constructor ( public payload ) { } } deprecated export class DaffPlaceOrderSuccess implements Action { readonly type = DaffOrderActionTypes . PlaceOrderSuccessAction ; constructor ( public payload ) { } } deprecated export class DaffPlaceOrderFailure implements Action { readonly type = DaffOrderActionTypes . PlaceOrderFailureAction ; constructor ( public payload ) { } } deprecated export type DaffOrderActions = DaffPlaceOrder | PlaceOrder | DaffPlaceOrderSuccess | DaffPlaceOrderFailure ;