PaymentValidationErrors Class
The errors given to PaymentResponse.Retry (https://w3c.github.io/payment-request/#paymentvalidationerrors-dictionary).
public sealed class PaymentValidationErrorsConstructors
| Name | Description |
|---|---|
| PaymentValidationErrors() |
PaymentValidationErrors()
public PaymentValidationErrors()No documentation is available.
Properties
| Name | Description |
|---|---|
| Error | Gets a general description of the error, or null. |
| Payer | Gets the validation errors of the payer details, or null. |
| PaymentMethod | Gets the errors specific to the payment method (a JavaScript object), or null. |
| ShippingAddress | Gets the validation errors of the shipping address, or null. |
Gets a general description of the error, or null.
public string? Error { get; init; }Property value
See also
Gets the validation errors of the payer details, or null.
public PayerErrors? Payer { get; init; }Property value
See also
PaymentMethod
PaymentDictionaries.csGets the errors specific to the payment method (a JavaScript object), or null.
public object? PaymentMethod { get; init; }Property value
See also
ShippingAddress
PaymentDictionaries.csGets the validation errors of the shipping address, or null.
public AddressErrors? ShippingAddress { get; init; }