PaymentDetailsModifier Class

The details that apply when the user selects a payment method (https://w3c.github.io/payment-request/#paymentdetailsmodifier-dictionary).

public sealed class PaymentDetailsModifier

Constructors

NameDescription
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

NameDescription
AdditionalDisplayItemsGets the line items appended to the line items of the details for the payment method, or null.
DataGets the data of the payment method (a JavaScript object, or a value that can be serialized to JSON from .NET), or null.
SupportedMethodsGets the payment method identifier to which the modifier applies.
TotalGets the total that replaces the total of the details for the payment method, or null.

AdditionalDisplayItems

PaymentDictionaries.cs

Gets 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.cs

Gets the payment method identifier to which the modifier applies.

public required string SupportedMethods { get; init; }

Gets the total that replaces the total of the details for the payment method, or null.

public PaymentItem? Total { get; init; }