Bagikan melalui


PaymentDevice Kelas

Definisi

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
Warisan
Object Platform::Object IInspectable PaymentDevice
Atribut
Penerapan

Properti

Capabilities
ConnectorCompanyName
ConnectorName
ConnectorVersion
DeviceId
TerminalCompanyName
TerminalModel
TerminalOSVersion
TerminalSerialNumber

Metode

Close()
Dispose()

Melakukan tugas yang ditentukan aplikasi yang terkait dengan membebaskan, merilis, atau mengatur ulang sumber daya yang tidak dikelola.

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

Berlaku untuk