# TalonOne::AudienceCustomer ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **Integer** | Internal ID of this entity. | **created** | **DateTime** | The time this entity was created. The time this entity was created. | **integration_id** | **String** | The integration ID set by your integration layer. | **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | **account_id** | **Integer** | The ID of the Talon.One account that owns this profile. | **closed_sessions** | **Integer** | The total amount of closed sessions by a customer. A closed session is a successful purchase. | **total_sales** | **Float** | The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. | **loyalty_memberships** | [**Array<LoyaltyMembership>**](LoyaltyMembership.md) | **DEPRECATED** A list of loyalty programs joined by the customer. | [optional] **audience_memberships** | [**Array<AudienceMembership>**](AudienceMembership.md) | The audiences the customer belongs to. | [optional] **last_activity** | **DateTime** | Timestamp of the most recent event received from this customer. This field is updated on calls that trigger the Rule Engine and that are not [dry requests](https://docs.talon.one/docs/dev/integration-api/dry-requests/#overlay). For example, [reserving a coupon](https://docs.talon.one/integration-api#operation/createCouponReservation) for a customer doesn't impact this field. | **sandbox** | **Boolean** | An indicator of whether the customer is part of a sandbox or live Application. See the [docs](https://docs.talon.one/docs/product/applications/overview#application-environments). | [optional] **connected_applications_ids** | **Array<Integer>** | A list of the IDs of the Applications that are connected to this customer profile. | [optional] **connected_audiences** | **Array<Integer>** | A list of the IDs of the audiences that are connected to this customer profile. | [optional] ## Code Sample ```ruby require 'TalonOne' instance = TalonOne::AudienceCustomer.new(id: 6, created: null, integration_id: URNGV8294NV, attributes: {"Language":"english","ShippingCountry":"DE"}, account_id: 31, closed_sessions: 3, total_sales: 299.99, loyalty_memberships: null, audience_memberships: null, last_activity: 2020-02-08T14:15:20Z, sandbox: false, connected_applications_ids: [1, 2, 3], connected_audiences: [1, 2, 3]) ```