Compartilhar via


PaymentRequest Classe

Definição

Uma classe que contém informações sobre uma solicitação de pagamento. Essa classe reflete a interface PaymentRequest do W3C.

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
Herança
Object Platform::Object IInspectable PaymentRequest
Atributos

Requisitos do Windows

Família de dispositivos
Windows 10 Creators Update (introduzida na 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v4.0)

Comentários

Histórico de versão

Versão do Windows Versão do SDK Valor adicionado
1.709 16299 PaymentRequest(PaymentDetails,IEnumerable<PaymentMethodData,PaymentMerchantInfo,PaymentOptions,String>)
1.709 16299 Id

Construtores

PaymentRequest(PaymentDetails, IIterable<PaymentMethodData>)

Cria um objeto PaymentRequest .

PaymentRequest(PaymentDetails, IIterable<PaymentMethodData>, PaymentMerchantInfo)

Cria um objeto PaymentRequest .

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

Cria um objeto PaymentRequest .

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

Cria um novo objeto PaymentRequest.

Propriedades

Details

Os detalhes

Id

Obtém a ID da solicitação de pagamento.

MerchantInfo

As informações do comerciante.

MethodData

Uma coleção de classes PaymentMethodData . Essa coleção representa a lista de formas de pagamento compatíveis com o comerciante.

Options

As opções.

Aplica-se a