PaymentSheetDetails Class
The details of a payment request shown by the payment sheet (https://w3c.github.io/payment-request/#dfn-details): the details given to the constructor, updated by the page. The amounts are valid, and their currency codes are in upper case.
public sealed class PaymentSheetDetailsProperties
| Name | Description |
|---|---|
| DisplayItems | Gets the line items of the payment. |
| Id | Gets the identifier of the payment request. |
| Modifiers | Gets the modifiers of the details for particular payment methods (the last applicable modifier wins). |
| ShippingOptions | Gets the shipping options that the user can choose from (empty when the request does not request shipping). |
| Total | Gets the total amount of the payment. |
DisplayItems
PaymentSheetPrompt.csGets the line items of the payment.
public IReadOnlyList<PaymentItem> DisplayItems { get; }Property value
Modifiers
PaymentSheetPrompt.csGets the modifiers of the details for particular payment methods (the last applicable modifier wins).
public IReadOnlyList<PaymentSheetModifier> Modifiers { get; }Property value
ShippingOptions
PaymentSheetPrompt.csGets the shipping options that the user can choose from (empty when the request does not request shipping).
public IReadOnlyList<PaymentShippingOption> ShippingOptions { get; }