PaymentDetailsUpdate Class

An update of the details of a payment request (https://w3c.github.io/payment-request/#paymentdetailsupdate-dictionary).

public sealed class PaymentDetailsUpdate : PaymentDetailsBase
Inheritance
PaymentDetailsBase PaymentDetailsUpdate

Constructors

NameDescription
PaymentDetailsUpdate()

PaymentDetailsUpdate()

public PaymentDetailsUpdate()

No documentation is available.

Properties

NameDescription
ErrorGets the reason why the goods cannot be shipped to the chosen address, or null.
PayerErrorsGets the validation errors of the payer details, or null.
PaymentMethodErrorsGets the errors specific to the payment method (a JavaScript object), or null.
ShippingAddressErrorsGets the validation errors of the shipping address, or null.
TotalGets the new total amount, or null.

Gets the reason why the goods cannot be shipped to the chosen address, or null.

public string? Error { get; init; }

Gets the validation errors of the payer details, or null.

public PayerErrors? PayerErrors { get; init; }

PaymentMethodErrors

PaymentDictionaries.cs

Gets the errors specific to the payment method (a JavaScript object), or null.

public object? PaymentMethodErrors { get; init; }

ShippingAddressErrors

PaymentDictionaries.cs

Gets the validation errors of the shipping address, or null.

public AddressErrors? ShippingAddressErrors { get; init; }

Gets the new total amount, or null.

public PaymentItem? Total { get; init; }