> ## 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.

# XStoreAvailability

> XStoreAvailability

# XStoreAvailability

描述產品的供應情況。

## 語法

```cpp theme={null}
typedef struct XStoreAvailability {  
    const char* availabilityId;  
    XStorePrice price;  
    time_t endDate;  
} XStoreAvailability  
```

### 成員

*availabilityId*\
類型：const char\*

產品/SKU 組合的識別碼。

*price*\
類型：[XStorePrice](/zh-TW/reference/system/xstore/structs/xstoreprice)

產品的價格。

*endDate*\
類型：time\_t

供應結束日期。

## 備註

Store 中的產品會依「產品」、「SKU」和「供應」物件的階層組織。產品以 [XStoreProduct](/zh-TW/reference/system/xstore/structs/xstoreproduct) 物件表示。每個產品的 SKU 以 [XStoreSku](/zh-TW/reference/system/xstore/structs/xstoresku) 物件表示，而每個 SKU 的供應則以 **XStoreAvailability** 物件表示。**XStoreAvailability** 是 [XStoreSku](/zh-TW/reference/system/xstore/structs/xstoresku) 結構的成員。

## 需求

**標頭：** XStore.h (包含在 XGameRuntime.h 中)

**支援的平台：** Windows、XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[XStore](/zh-TW/reference/system/xstore/xstore_members)\
[XStoreSku](/zh-TW/reference/system/xstore/structs/xstoresku)\
[XStoreProduct](/zh-TW/reference/system/xstore/structs/xstoreproduct)


## Related topics

- [XStoreAvailability](/reference/system/xstore/structs/xstoreavailability.md)
- [XStoreProduct](/reference/system/xstore/structs/xstoreproduct.md)
- [XStoreSku](/ja-jp/reference/system/xstore/structs/xstoresku.md)
