PaymentRequestDetailsUpdate Class

The details updated by the merchant while a payment handler handles a payment (https://w3c.github.io/web-based-payment-handler/#paymentrequestdetailsupdate-dictionary).

public sealed class PaymentRequestDetailsUpdate

Constructors

NameDescription
PaymentRequestDetailsUpdate()

PaymentRequestDetailsUpdate()

public PaymentRequestDetailsUpdate()

No documentation is available.

Properties

NameDescription
ErrorGets the error to show to the user.
ModifiersGets the updated modifiers.
PaymentMethodErrorsGets the errors of the payment method.
ShippingAddressErrorsGets the errors of the shipping address.
ShippingOptionsGets the updated shipping options.
TotalGets the updated total.

Gets the error to show to the user.

public string? Error { get; init; }

PaymentMethodErrors

PaymentHandler.cs

Gets the errors of the payment method.

public object? PaymentMethodErrors { get; init; }

ShippingAddressErrors

PaymentHandler.cs

Gets the errors of the shipping address.

public AddressErrors? ShippingAddressErrors { get; init; }

ShippingOptions

PaymentHandler.cs