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

# PFValueToDateModel

> PFValueToDateModel 資料模型。

PFValueToDateModel 資料模型。

## 語法

```cpp theme={null}
typedef struct PFValueToDateModel {  
    const char* currency;  
    uint32_t totalValue;  
    const char* totalValueAsDecimal;  
} PFValueToDateModel;  
```

### 成員

**`currency`**   const char\*\
*以 Null 結尾*

(選擇性) 購買時所使用貨幣的 ISO 4217 代碼。

**`totalValue`**   uint32\_t

購買的總價值，以 1/100 貨幣單位的整數表示。例如，當 Currency 為 'USD' 時，999 表示九美元九十九美分)。

**`totalValueAsDecimal`**   const char\*\
*以 Null 結尾*

(選擇性) 購買的總價值，以十進位貨幣單位的字串表示。例如，當 Currency 為 'USD' 時，'9.99' 表示九美元九十九美分。

## 需求

**標頭：** PFTypes.h

## 另請參閱

[PFTypes 成員](/zh-TW/services/playfab/api-references/c/pftypes/pftypes_members)


## Related topics

- [PFPlayerProfileModel](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfplayerprofilemodel.md)
- [服務 C API 概觀 - PFTypes.h](/zh-TW/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [在 Economy (舊版) 中取得玩家的累計價值 (VTD)](/zh-TW/services/playfab/economy-monetization/economy/tutorials/getting-a-players-vtd.md)
- [PFTagModel](/zh-TW/services/playfab/api-references/c/pftypes/structs/pftagmodel.md)
- [PFStatisticModel](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfstatisticmodel.md)
