# TalonOne.ApplicationSession ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **Number** | The internal ID of this entity. | **created** | **Date** | The time this entity was created. | **integrationId** | **String** | The integration ID set by your integration layer. | **storeIntegrationId** | **String** | The integration ID of the store. You choose this ID when you create a store. | [optional] **applicationId** | **Number** | The ID of the Application that owns this entity. | **profileId** | **Number** | The globally unique Talon.One ID of the customer that created this entity. | [optional] **profileintegrationid** | **String** | Integration ID of the customer for the session. | [optional] **coupon** | **String** | Any coupon code entered. | **referral** | **String** | Any referral code entered. | **state** | **String** | Indicates the current state of the session. Sessions can be created as `open` or `closed`. The state transitions are: 1. `open` -> `closed` 2. `open` -> `cancelled` 3. `closed` -> `cancelled` or `partially_returned` 4. `partially_returned` -> `cancelled` For more information, see [Customer session states](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). | **cartItems** | [**[CartItem]**](CartItem.md) | Serialized JSON representation. | **discounts** | **{String: Number}** | **API V1 only.** A map of labeled discount values, in the same currency as the session. If you are using the V2 endpoints, refer to the `totalDiscounts` property instead. | **totalDiscounts** | **Number** | The total sum of the discounts applied to this session. **Note:** If more than one session is returned, this value is displayed as `0`. | **total** | **Number** | The total sum of the session before any discounts applied. | **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional] ## Enum: StateEnum * `open` (value: `"open"`) * `closed` (value: `"closed"`) * `partially_returned` (value: `"partially_returned"`) * `cancelled` (value: `"cancelled"`)