Bagikan melalui


PaymentOptions Kelas

Definisi

Kelas yang berisi opsi pembayaran. Kelas ini mencerminkan kamus PaymentOptions W3C.

public ref class PaymentOptions sealed
/// [Windows.Foundation.Metadata.Activatable(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 PaymentOptions final
[Windows.Foundation.Metadata.Activatable(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 PaymentOptions
function PaymentOptions()
Public NotInheritable Class PaymentOptions
Warisan
Object Platform::Object IInspectable PaymentOptions
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

PaymentOptions()

Membuat objek PaymentOptions baru.

Properti

RequestPayerEmail

Menunjukkan apakah akan meminta email pembeli.

RequestPayerName

Menunjukkan apakah akan meminta nama pembela.

RequestPayerPhoneNumber

Menunjukkan apakah akan meminta nomor telepon pembiji.

RequestShipping

Menunjukkan apakah akan meminta pengiriman. Jika nilai ini diatur ke true, maka PaymentDetails.ShippingOptions tidak boleh kosong.

ShippingType

Jenis pengiriman.

Berlaku untuk