### File

`src/app/checkout/reducers/checkout.state.ts`

### Properties

billAddress
`billAddress: `any``
Type : `any`
Defined in src/app/checkout/reducers/checkout.state.ts:12

lineItemEntities
`lineItemEntities: `Map<number, LineItem>``
Type : `Map<number, LineItem>`
Defined in src/app/checkout/reducers/checkout.state.ts:9

lineItemIds
`lineItemIds: `List<number>``
Type : `List<number>`
Defined in src/app/checkout/reducers/checkout.state.ts:8

orderNumber
`orderNumber: `number``
Type : `number`
Defined in src/app/checkout/reducers/checkout.state.ts:6

orderState
`orderState: `string``
Type : `string`
Defined in src/app/checkout/reducers/checkout.state.ts:7

shipAddress
`shipAddress: `any``
Type : `any`
Defined in src/app/checkout/reducers/checkout.state.ts:13

totalCartItems
`totalCartItems: `number``
Type : `number`
Defined in src/app/checkout/reducers/checkout.state.ts:10

totalCartValue
`totalCartValue: `number``
Type : `number`
Defined in src/app/checkout/reducers/checkout.state.ts:11

    import { Address } from './../../core/models/address';
    import { LineItem } from './../../core/models/line_item';
    import { Map, Record, List, fromJS } from 'immutable';

    export interface CheckoutState extends Map<string, any> {
      orderNumber: number;
      orderState: string;
      lineItemIds: List<number>;
      lineItemEntities: Map<number, LineItem>;
      totalCartItems: number;
      totalCartValue: number;
      billAddress: any;
      shipAddress: any;
    }

    export const CheckoutStateRecord = Record({
      orderNumber: null,
      orderState: null,
      lineItemIds: List([]),
      lineItemEntities: Map({}),
      totalCartItems: 0,
      totalCartValue: 0,
      billAddress: fromJS({}),
      shipAddress: fromJS({})
    });

# results matching ""

# No results matching ""