Bagikan melalui


PaymentCurrencyAmount Kelas

Definisi

Kelas ini menjelaskan nilai moneter yang terkait dengan pembelian. Misalnya, biaya atau diskon. Kelas ini mencerminkan kamus 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
Warisan
Object Platform::Object IInspectable PaymentCurrencyAmount
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)

Konstruktor

PaymentCurrencyAmount(String, String)

Membuat objek PaymentCurrencyAmount baru

PaymentCurrencyAmount(String, String, String)

Membuat objek PaymentCurrencyAmount baru.

Properti

Currency

Pengidentifikasi mata uang.

CurrencySystem

Sistem mata uang.

Value

Nilai moneter.

Berlaku untuk