PaymentValidationErrors Class

The errors given to PaymentResponse.Retry (https://w3c.github.io/payment-request/#paymentvalidationerrors-dictionary).

public sealed class PaymentValidationErrors

Constructors

NameDescription
PaymentValidationErrors()

PaymentValidationErrors()

public PaymentValidationErrors()

No documentation is available.

Properties

NameDescription
ErrorGets a general description of the error, or null.
PayerGets the validation errors of the payer details, or null.
PaymentMethodGets the errors specific to the payment method (a JavaScript object), or null.
ShippingAddressGets the validation errors of the shipping address, or null.

Gets a general description of the error, or null.

public string? Error { get; init; }

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

public PayerErrors? Payer { get; init; }

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

public object? PaymentMethod { get; init; }

ShippingAddress

PaymentDictionaries.cs

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

public AddressErrors? ShippingAddress { get; init; }