共用方式為


PaymentDevice 類別

定義

public ref class PaymentDevice sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PaymentDevice final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PaymentDevice : System.IDisposable
Public NotInheritable Class PaymentDevice
Implements IDisposable
繼承
Object Platform::Object IInspectable PaymentDevice
屬性
實作

屬性

Capabilities
ConnectorCompanyName
ConnectorName
ConnectorVersion
DeviceId
TerminalCompanyName
TerminalModel
TerminalOSVersion
TerminalSerialNumber

方法

Close()
Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

FromIdAsync(String)
GetConfigurationAsync()
GetDeviceSelector()
RequestPaymentAsync(PaymentDeviceTransactionRequest)
RequestPaymentAuthorizationAsync(PaymentDeviceTransactionRequest)
RequestRefundAsync(PaymentDeviceTransactionRequest)
SetConfigurationAsync(PaymentDeviceConfiguration)
VoidTokenAsync(String)
VoidTransactionAsync(String)

適用於