Partager via


PaymentShippingOption Classe

Définition

Classe qui contient des informations sur une option d’expédition. Cette classe reflète le dictionnaire W3C PaymentShippingOption.

public ref class PaymentShippingOption sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Payments.IPaymentShippingOptionFactory, 262144, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PaymentShippingOption final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Payments.IPaymentShippingOptionFactory), 262144, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PaymentShippingOption
function PaymentShippingOption(label, amount, selected, tag)
Public NotInheritable Class PaymentShippingOption
Héritage
Object Platform::Object IInspectable PaymentShippingOption
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 Creators Update (introduit dans 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v4.0)

Constructeurs

PaymentShippingOption(String, PaymentCurrencyAmount)

Crée un objet PaymentShippingOption .

PaymentShippingOption(String, PaymentCurrencyAmount, Boolean)

Crée un objet PaymentShippingOption .

PaymentShippingOption(String, PaymentCurrencyAmount, Boolean, String)

Crée un objet PaymentShippingOption .

Propriétés

Amount

Montant.

IsSelected

Indique si cette option d’expédition est sélectionnée. Un commerçant doit case activée qu’une seule option d’expédition dans une demande est marquée comme sélectionnée.

Label

Étiquette.

Tag

La balise.

S’applique à