PaymentRequestEventInit Class
The initialization dictionary of a PaymentRequestEvent (https://w3c.github.io/web-based-payment-handler/#paymentrequesteventinit-dictionary).
public sealed class PaymentRequestEventInit : ExtendableEventInit- Inheritance
ExtendableEventInitPaymentRequestEventInit
Constructors
| Name | Description |
|---|---|
| PaymentRequestEventInit() |
PaymentRequestEventInit()
public PaymentRequestEventInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| MethodData | Gets the payment methods of the request that the payment handler supports. |
| Modifiers | Gets the modifiers of the payment methods that the payment handler supports. |
| PaymentOptions | Gets the information that the payment handler collects. |
| PaymentRequestId | Gets the identifier of the payment request. |
| PaymentRequestOrigin | Gets the origin of the document that created the payment request. |
| ShippingOptions | Gets the shipping options. |
| TopOrigin | Gets the origin of the top-level document of the payment request. |
| Total | Gets the total of the payment. |
MethodData
PaymentHandler.csGets the payment methods of the request that the payment handler supports.
public IReadOnlyList<PaymentMethodData>? MethodData { get; init; }Modifiers
PaymentHandler.csGets the modifiers of the payment methods that the payment handler supports.
public IReadOnlyList<PaymentDetailsModifier>? Modifiers { get; init; }PaymentOptions
PaymentHandler.csGets the information that the payment handler collects.
public PaymentOptions? PaymentOptions { get; init; }PaymentRequestId
PaymentHandler.csGets the identifier of the payment request.
public string? PaymentRequestId { get; init; }PaymentRequestOrigin
PaymentHandler.csGets the origin of the document that created the payment request.
public string? PaymentRequestOrigin { get; init; }ShippingOptions
PaymentHandler.csGets the shipping options.
public IReadOnlyList<PaymentShippingOption>? ShippingOptions { get; init; }TopOrigin
PaymentHandler.csGets the origin of the top-level document of the payment request.
public string? TopOrigin { get; init; }Total
PaymentHandler.csGets the total of the payment.
public PaymentCurrencyAmount? Total { get; init; }