PaymentItem Class
A line item of a payment (https://w3c.github.io/payment-request/#paymentitem-dictionary).
public sealed class PaymentItemConstructors
| Name | Description |
|---|---|
| PaymentItem() |
PaymentItem()
- 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 PaymentItem()No documentation is available.
Properties
| Name | Description |
|---|---|
| Amount | Gets the amount of the item. |
| Label | Gets the description of the item. |
| Pending | Gets whether the amount is not final (e.g. a shipping cost that depends on the address). |
Amount
PaymentDictionaries.csGets the amount of the item.
public required PaymentCurrencyAmount Amount { get; init; }Property value
See also
Gets the description of the item.
public required string Label { get; init; }Pending
PaymentDictionaries.csGets whether the amount is not final (e.g. a shipping cost that depends on the address).
public bool Pending { get; init; }