XStoreAvailability

Describes the availability of a product.

Syntax

typedef struct XStoreAvailability {  
    const char* availabilityId;  
    XStorePrice price;  
    time_t endDate;  
} XStoreAvailability  

Members

availabilityId
Type: const char*

ID for the product/SKU combination.

price
Type: XStorePrice

The price of the product.

endDate
Type: time_t

Availability end date.

Remarks

Products in the Store are organized in a hierarchy of product, SKU, and availability objects. Products are represented by XStoreProduct objects. The SKUs for each product are represented by XStoreSku objects, and the availabilities for each SKU are represented by XStoreAvailability objects. XStoreAvailability is a member of the XStoreSku struct.

Requirements

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

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XStore
XStoreSku
XStoreProduct