PaymentAppManager 类

定义

此类用于将应用注册为支付提供商应用,以便它可以开始处理通过付款请求 API (Windows.ApplicationModel.付款) 提交的 PaymentTransactionsaction

public ref class PaymentAppManager sealed
/// [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 PaymentAppManager final
[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 PaymentAppManager
Public NotInheritable Class PaymentAppManager
继承
Object Platform::Object IInspectable PaymentAppManager
属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

属性

Current

当前 PaymentAppManager 对象。

方法

RegisterAsync(IIterable<String>)

将此应用注册为支付提供商。

UnregisterAsync()

将此应用注销为支付提供商。

适用于