PaymentShippingOption Class
A shipping option that the user can choose (https://w3c.github.io/payment-request/#paymentshippingoption-dictionary).
public sealed class PaymentShippingOptionConstructors
| Name | Description |
|---|---|
| PaymentShippingOption() |
PaymentShippingOption()
- 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 PaymentShippingOption()No documentation is available.
Properties
| Name | Description |
|---|---|
| Amount | Gets the cost of the option. |
| Id | Gets the identifier of the option, unique in the payment request. |
| Label | Gets the description of the option. |
| Selected | Gets whether the option is selected by default (the last selected option wins). |
Amount
PaymentDictionaries.csGets the cost of the option.
public required PaymentCurrencyAmount Amount { get; init; }Gets the identifier of the option, unique in the payment request.
public required string Id { get; init; }Gets the description of the option.
public required string Label { get; init; }Selected
PaymentDictionaries.csGets whether the option is selected by default (the last selected option wins).
public bool Selected { get; init; }