Compartir a través de


PaymentShippingOption Clase

Definición

Clase que contiene información sobre una opción de envío. Esta clase refleja el diccionario PaymentShippingOption de W3C.

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
Herencia
Object Platform::Object IInspectable PaymentShippingOption
Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10 Creators Update (se introdujo en la versión 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v4.0)

Constructores

PaymentShippingOption(String, PaymentCurrencyAmount, Boolean, String)

Crea un nuevo objeto PaymentShippingOption .

PaymentShippingOption(String, PaymentCurrencyAmount, Boolean)

Crea un nuevo objeto PaymentShippingOption .

PaymentShippingOption(String, PaymentCurrencyAmount)

Crea un nuevo objeto PaymentShippingOption .

Propiedades

Amount

Cantidad.

IsSelected

Indica si esta opción de envío está seleccionada. Se requiere un comerciante para comprobar que solo se marca como seleccionada una única opción de envío dentro de una solicitud.

Label

Etiqueta.

Tag

La etiqueta.

Se aplica a