PaymentCurrencyAmount 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此类描述与购买关联的货币价值。 例如,费用或折扣。 此类反映 W3C PaymentCurrencyAmount 字典。
public ref class PaymentCurrencyAmount sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Payments.IPaymentCurrencyAmountFactory, 262144, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PaymentCurrencyAmount final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Payments.IPaymentCurrencyAmountFactory), 262144, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PaymentCurrencyAmount
function PaymentCurrencyAmount(value, currency, currencySystem)
Public NotInheritable Class PaymentCurrencyAmount
- 继承
- 属性
Windows 要求
设备系列 |
Windows 10 Creators Update (在 10.0.15063.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)
|
构造函数
PaymentCurrencyAmount(String, String) |
创建新的 PaymentCurrencyAmount 对象 |
PaymentCurrencyAmount(String, String, String) |
创建新的 PaymentCurrencyAmount 对象。 |
属性
Currency |
货币标识符。 |
CurrencySystem |
货币系统。 |
Value |
货币值。 |