PaymentDetailsInit Class
The details of a payment request given to its constructor (https://w3c.github.io/payment-request/#paymentdetailsinit-dictionary).
public sealed class PaymentDetailsInit : PaymentDetailsBase- Inheritance
PaymentDetailsBasePaymentDetailsInit
Constructors
| Name | Description |
|---|---|
| PaymentDetailsInit() |
PaymentDetailsInit()
- 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 PaymentDetailsInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| Id | Gets the identifier of the payment request, or null to let the user agent generate a unique identifier. |
| Total | Gets the total amount of the payment, which cannot be negative. |
Gets the identifier of the payment request, or null to let the user agent generate a unique identifier.
public string? Id { get; init; }Gets the total amount of the payment, which cannot be negative.
public required PaymentItem Total { get; init; }