PaymentRequest Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Kelas yang berisi informasi tentang permintaan pembayaran. Kelas ini mencerminkan antarmuka PaymentRequest W3C.
public ref class PaymentRequest sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Payments.IPaymentRequestFactory, 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 PaymentRequest final
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Payments.IPaymentRequestFactory, 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)]
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Payments.IPaymentRequestFactory2, 327680, "Windows.Foundation.UniversalApiContract")]
class PaymentRequest final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Payments.IPaymentRequestFactory), 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 PaymentRequest
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Payments.IPaymentRequestFactory), 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)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Payments.IPaymentRequestFactory2), 327680, "Windows.Foundation.UniversalApiContract")]
public sealed class PaymentRequest
function PaymentRequest(details, methodData, merchantInfo, options)
function PaymentRequest(details, methodData, merchantInfo, options, id)
Public NotInheritable Class PaymentRequest
- Warisan
- Atribut
Persyaratan Windows
Rangkaian perangkat |
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)
|
Keterangan
Riwayat versi
Versi Windows | Versi SDK | Nilai ditambahkan |
---|---|---|
1709 | 16299 | PaymentRequest(PaymentDetails,IEnumerable<PaymentMethodData,PaymentMerchantInfo,PaymentOptions,String>) |
1709 | 16299 | Id |
Konstruktor
Properti
Details |
Detailnya |
Id |
Mendapatkan ID permintaan pembayaran. |
MerchantInfo |
Info pedagang. |
MethodData |
Koleksi kelas PaymentMethodData . Koleksi ini mewakili daftar metode pembayaran yang didukung oleh merchant. |
Options |
Opsinya. |