Compartir a través de


PaymentRequest Clase

Definición

Clase que contiene información sobre una solicitud de pago. Esta clase refleja la interfaz W3C PaymentRequest.

public ref class PaymentRequest sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Payments.IPaymentRequestFactory, 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 PaymentRequest final
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Payments.IPaymentRequestFactory, 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)]
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Payments.IPaymentRequestFactory2, 327680, "Windows.Foundation.UniversalApiContract")]
class PaymentRequest final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Payments.IPaymentRequestFactory), 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 PaymentRequest
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Payments.IPaymentRequestFactory), 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)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Payments.IPaymentRequestFactory2), 327680, "Windows.Foundation.UniversalApiContract")]
public sealed class PaymentRequest
function PaymentRequest(details, methodData, merchantInfo, options)
function PaymentRequest(details, methodData, merchantInfo, options, id)
Public NotInheritable Class PaymentRequest
Herencia
Object Platform::Object IInspectable PaymentRequest
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)

Comentarios

Historial de versiones

Versión de Windows Versión del SDK Valor agregado
1709 16299 PaymentRequest(PaymentDetails,IEnumerable<PaymentMethodData,PaymentMerchantInfo,PaymentOptions,String>)
1709 16299 Identificador

Constructores

PaymentRequest(PaymentDetails, IIterable<PaymentMethodData>)

Crea un objeto PaymentRequest .

PaymentRequest(PaymentDetails, IIterable<PaymentMethodData>, PaymentMerchantInfo)

Crea un objeto PaymentRequest .

PaymentRequest(PaymentDetails, IIterable<PaymentMethodData>, PaymentMerchantInfo, PaymentOptions)

Crea un objeto PaymentRequest .

PaymentRequest(PaymentDetails, IIterable<PaymentMethodData>, PaymentMerchantInfo, PaymentOptions, String)

Crea un nuevo objeto PaymentRequest.

Propiedades

Details

Información detallada

Id

Obtiene el identificador de solicitud de pago.

MerchantInfo

La información del comerciante.

MethodData

Colección de clases PaymentMethodData . Esta colección representa la lista de métodos de pago admitidos por el comerciante.

Options

Opciones.

Se aplica a