PaymentDetailsModifier Class
The details that apply when the user selects a payment method (https://w3c.github.io/payment-request/#paymentdetailsmodifier-dictionary).
public sealed class PaymentDetailsModifierConstructors
| Name | Description |
|---|---|
| PaymentDetailsModifier() |
PaymentDetailsModifier()
- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public PaymentDetailsModifier()No documentation is available.
Properties
| Name | Description |
|---|---|
| AdditionalDisplayItems | Gets the line items appended to the line items of the details for the payment method, or null. |
| Data | Gets the data of the payment method (a JavaScript object, or a value that can be serialized to JSON from .NET), or null. |
| SupportedMethods | Gets the payment method identifier to which the modifier applies. |
| Total | Gets the total that replaces the total of the details for the payment method, or null. |
AdditionalDisplayItems
PaymentDictionaries.csGets the line items appended to the line items of the details for the payment method, or null.
public IReadOnlyList<PaymentItem>? AdditionalDisplayItems { get; init; }Gets the data of the payment method (a JavaScript object, or a value that can be serialized to JSON from .NET), or null.
public object? Data { get; init; }SupportedMethods
PaymentDictionaries.csGets the payment method identifier to which the modifier applies.
public required string SupportedMethods { get; init; }Property value
See also
Gets the total that replaces the total of the details for the payment method, or null.
public PaymentItem? Total { get; init; }