PaymentCurrencyAmount Класс
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Этот класс описывает денежное значение, связанное с покупкой. Например, платежи или скидки. Этот класс отражает словарь 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 |
Денежное значение. |