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

# XStoreSubscriptionInfo

> XStoreSubscriptionInfo

# XStoreSubscriptionInfo

サブスクリプションに関する情報を格納します。

## Syntax

```cpp theme={null}
typedef struct XStoreSubscriptionInfo {  
    bool hasTrialPeriod;  
    XStoreDurationUnit trialPeriodUnit;  
    uint32_t trialPeriod;  
    XStoreDurationUnit billingPeriodUnit;  
    uint32_t billingPeriod;  
} XStoreSubscriptionInfo  
```

### Members

*hasTrialPeriod*\
型: bool

サブスクリプションに試用期間があるかどうかを示します。

*trialPeriodUnit*\
型: [XStoreDurationUnit](/reference/system/xstore/enums/xstoredurationunit)

試用期間の単位の種類。

*trialPeriod*\
型: uint32\_t

試用期間の長さ。

*billingPeriodUnit*\
型: [XStoreDurationUnit](/reference/system/xstore/enums/xstoredurationunit)

請求期間の単位の種類。

*billingPeriod*\
型: uint32\_t

サブスクリプションの請求期間。

## Remarks

サブスクリプションはパートナー センターで作成および構成します。ゲームで提供するサブスクリプションの種類ごとに、個別のサブスクリプション構成が必要です。
**XStoreSubscriptionInfo** は [XStoreSku](/reference/system/xstore/structs/xstoresku) 構造体のメンバーです。

## Requirements

**ヘッダー:** XStore.h (XGameRuntime.h に含まれる)

**サポートされているプラットフォーム:** Windows、XBOX One ファミリー本体および XBOX Series 本体

## See also

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


## Related topics

- [XStoreDurationUnit](/ja-jp/reference/system/xstore/enums/xstoredurationunit.md)
- [XStoreSku](/ja-jp/reference/system/xstore/structs/xstoresku.md)
- [XStore](/ja-jp/reference/system/xstore/xstore_members.md)
- [Subscriptions](/ja-jp/services/playfab/api-references/events/data-types/subscriptions.md)
- [PFSubscriptionModel](/ja-jp/services/playfab/api-references/c/pftypes/structs/pfsubscriptionmodel.md)
