PaymentOptions Class

The information that a payment request collects (https://w3c.github.io/payment-request/#paymentoptions-dictionary).

public sealed class PaymentOptions

Constructors

NameDescription
PaymentOptions()

PaymentOptions()

public PaymentOptions()

No documentation is available.

Properties

NameDescription
RequestBillingAddressGets whether the billing address of the payment method is collected.
RequestPayerEmailGets whether the email address of the payer is collected.
RequestPayerNameGets whether the name of the payer is collected.
RequestPayerPhoneGets whether the phone number of the payer is collected.
RequestShippingGets whether a shipping address is collected (and a shipping option chosen).
ShippingTypeGets the kind of address collected when PaymentOptions.RequestShipping is true.

RequestBillingAddress

PaymentDictionaries.cs

Gets whether the billing address of the payment method is collected.

public bool RequestBillingAddress { get; init; }

RequestPayerEmail

PaymentDictionaries.cs

Gets whether the email address of the payer is collected.

public bool RequestPayerEmail { get; init; }

RequestPayerName

PaymentDictionaries.cs

Gets whether the name of the payer is collected.

public bool RequestPayerName { get; init; }

RequestPayerPhone

PaymentDictionaries.cs

Gets whether the phone number of the payer is collected.

public bool RequestPayerPhone { get; init; }

RequestShipping

PaymentDictionaries.cs

Gets whether a shipping address is collected (and a shipping option chosen).

public bool RequestShipping { get; init; }

Gets the kind of address collected when PaymentOptions.RequestShipping is true.

public PaymentShippingType ShippingType { get; init; }