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

Contient des informations sur un abonnement.

## Syntaxe

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

### Membres

*hasTrialPeriod*\
Type : bool

Indique si l'abonnement comporte une période d'essai.

*trialPeriodUnit*\
Type : [XStoreDurationUnit](/fr-CA/reference/system/xstore/enums/xstoredurationunit)

Le type d'unité de la période d'essai.

*trialPeriod*\
Type : uint32\_t

La durée de la période d'essai.

*billingPeriodUnit*\
Type : [XStoreDurationUnit](/fr-CA/reference/system/xstore/enums/xstoredurationunit)

Le type d'unité de la période de facturation.

*billingPeriod*\
Type : uint32\_t

La période de facturation de l'abonnement.

## Remarques

Les abonnements sont créés et configurés dans Partner Center. Chaque type d'abonnement offert pour votre jeu nécessite une configuration d'abonnement distincte.
**XStoreSubscriptionInfo** est un membre de la structure [XStoreSku](/fr-CA/reference/system/xstore/structs/xstoresku).

## Configuration requise

**En-tête :** XStore.h (inclus dans XGameRuntime.h)

**Plateformes prises en charge :** Windows, consoles de la famille XBOX One et consoles XBOX Series

## Voir aussi

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


## Related topics

- [XStoreSubscriptionInfo](/reference/system/xstore/structs/xstoresubscriptioninfo.md)
- [XStoreDurationUnit](/reference/system/xstore/enums/xstoredurationunit.md)
