PaymentMethodData Class
A payment method accepted by a payment request (https://w3c.github.io/payment-request/#paymentmethoddata-dictionary).
public sealed class PaymentMethodDataConstructors
| Name | Description |
|---|---|
| PaymentMethodData() |
PaymentMethodData()
- 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 PaymentMethodData()No documentation is available.
Properties
| Name | Description |
|---|---|
| Data | Gets the data of the payment method (a JavaScript object, or a value that can be serialized to JSON from .NET), or null. |
| SupportedMethods | Gets the payment method identifier: a standardized identifier (e.g. secure-payment-confirmation) or an https: URL. |
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.csGets the payment method identifier: a standardized identifier (e.g. secure-payment-confirmation) or an https: URL.
public required string SupportedMethods { get; init; }