> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XStoreCollectionData

> XStoreCollectionData

# XStoreCollectionData

Describes the users entitlement for a specific sku.

## Syntax

```cpp theme={null}
typedef struct XStoreCollectionData {  
    time_t acquiredDate;  
    time_t startDate;  
    time_t endDate;  
    bool isTrial;  
    uint32_t trialTimeRemainingInSeconds;  
    uint32_t quantity;  
    const char* campaignId;  
    const char* developerOfferId;  
} XStoreCollectionData  
```

### Members

*acquiredDate*\
Type: time\_t

The date the entitlement was acquired.

*startDate*\
Type: time\_t

The start date of the entitlement.

*endDate*\
Type: time\_t

The date the entitlement ends.

*isTrial*\
Type: bool

Indicates if the entitlement is a trial.

*trialTimeRemainingInSeconds*\
Type: uint32\_t

Time remaining in the trial.

*quantity*\
Type: uint32\_t

Number of items in the entitlement. For consumables this represents the remaining balance.

*campaignId*\
Type: const char\*

The campaign ID for the entitlement.

*developerOfferId*\
Type: const char\*

The developer offer ID.

## Remarks

**XStoreCollectionData** provides additional information about a store product Stock Keeping Unit (SKU). An **XStoreCollectionData** may refer to many types of products or collections of products. As such not all fields may have a value if they are not applicable to the SKU. \*\*XStoreCollectionData is a member of the [StoreSku](/reference/system/xstore/structs/xstoresku) struct.

## Requirements

**Header:** XStore.h (included in XGameRuntime.h)

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## Conceptual documentation

* [Store Development Entitlements Tool (DevEntitlementTool.exe)](/tools/tools-services/live-dev-entitlements-tool)

## See also

[XStore](/reference/system/xstore/xstore_members)\
[XStoreSku](/reference/system/xstore/structs/xstoresku)


## Related topics

- [Store Development Entitlements Tool (DevEntitlementTool.exe)](/tools/tools-services/live-dev-entitlements-tool.md)
- [XStore](/reference/system/xstore/xstore_members.md)
- [XStoreSku](/reference/system/xstore/structs/xstoresku.md)
- [collections.mp.microsoft.com/v8.0/collections/consume](/reference/microsoft-store-apis/xstore-v8-consume.md)
- [collections.mp.microsoft.com/v9.0/collections/publisherQuery](/reference/microsoft-store-apis/xstore-v9-query-for-products.md)
