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

# XStorePrice

> XStorePrice

# XStorePrice

스토어 가격 정보입니다.

## 구문

```cpp theme={null}
typedef struct XStorePrice {  
    float basePrice;  
    float price;  
    float recurrencePrice;  
    const char* currencyCode;  
    char formattedBasePrice[PRICE_MAX_SIZE];  
    char formattedPrice[PRICE_MAX_SIZE];  
    char formattedRecurrencePrice[PRICE_MAX_SIZE];  
    bool isOnSale;  
    time_t saleEndDate;  
} XStorePrice  
```

### 멤버

*basePrice*\
형식: float

제품의 프로모션이 적용되지 않은 일반 가격 또는 MSRP입니다.

*price*\
형식: float

사용자가 항목을 구매할 경우 실제로 지불하게 되는 가격입니다.

*recurrencePrice*\
형식: float

반복 청구 가격입니다.

*currencyCode*\
형식: const char\*

가격의 통화 코드입니다.

*formattedBasePrice*\
형식: char\[PRICE\_MAX\_SIZE]

게임의 UI에 표시할 수 있는 서식이 지정된 basePrice입니다.

*formattedPrice*\
형식: char\[PRICE\_MAX\_SIZE]

제품을 광고하기 위해 UI에서 사용해야 하는 서식이 지정된 가격입니다.

*formattedRecurrencePrice*\
형식: char\[PRICE\_MAX\_SIZE]

서식이 지정된 반복 청구 가격입니다.

*isOnSale*\
형식: bool

제품이 할인 중인지 여부를 나타냅니다.

*saleEndDate*\
형식: time\_t

할인 종료 날짜입니다.

## 설명

*basePrice*가 반드시 광고해야 할 가격은 아닙니다. UI에는 basePrice 변수의 값이 아니라 price 변수의 값을 항상 광고해야 합니다. basePrice 변수를 사용하여 할인 중에 제공되는 할인 폭을 확인할 수 있습니다. 그런 다음 UI에서 price 변수 옆에 basePrice에 취소선을 그어 함께 표시하면 사용자가 가치와 절약된 금액을 이해하는 데 도움이 될 수 있습니다.

**XStorePrice**는 [XStoreAvailability](/reference/system/xstore/structs/xstoreavailability) 구조체의 멤버입니다. **XStorePrice**는 [XStoreProduct](/reference/system/xstore/structs/xstoreproduct) 구조체의 멤버입니다. **XStorePrice**는 [XStoreSku](/reference/system/xstore/structs/xstoresku) 구조체의 멤버입니다.

## 요구 사항

**헤더:** XStore.h(XGameRuntime.h에 포함됨)

**지원 플랫폼:** Windows, XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 함께 보기

[XStore](/reference/system/xstore/xstore_members)\
[XStoreAvailability](/reference/system/xstore/structs/xstoreavailability)\
[XStoreProduct](/reference/system/xstore/structs/xstoreproduct)\
[XStoreSku](/reference/system/xstore/structs/xstoresku)


## Related topics

- [XStoreAvailability](/ko/reference/system/xstore/structs/xstoreavailability.md)
- [XStore](/ko/reference/system/xstore/xstore_members.md)
- [XStoreSku](/ko/reference/system/xstore/structs/xstoresku.md)
- [XStoreProduct](/ko/reference/system/xstore/structs/xstoreproduct.md)
- [Economy v2 실물 화폐 가격](/ko/services/playfab/economy-monetization/economy-v2/catalog/real-money-prices.md)
