Share via


PaymentDeviceConnection.PaymentDeviceRefundRequested Event

Definition

/// [Windows.Foundation.Metadata.Experimental]
/// [add: Windows.Foundation.Metadata.Experimental]
/// [remove: Windows.Foundation.Metadata.Experimental]
// Register
event_token PaymentDeviceRefundRequested(TypedEventHandler<PaymentDeviceConnection, PaymentDeviceRefundRequestEventArgs const&> const& handler) const;

// Revoke with event_token
void PaymentDeviceRefundRequested(event_token const* cookie) const;

// Revoke with event_revoker
PaymentDeviceConnection::PaymentDeviceRefundRequested_revoker PaymentDeviceRefundRequested(auto_revoke_t, TypedEventHandler<PaymentDeviceConnection, PaymentDeviceRefundRequestEventArgs const&> const& handler) const;
[Windows.Foundation.Metadata.Experimental]
[add: Windows.Foundation.Metadata.Experimental]
[remove: Windows.Foundation.Metadata.Experimental]
public event TypedEventHandler<PaymentDeviceConnection,PaymentDeviceRefundRequestEventArgs> PaymentDeviceRefundRequested;
function onPaymentDeviceRefundRequested(eventArgs) { /* Your code */ }
paymentDeviceConnection.addEventListener("paymentdevicerefundrequested", onPaymentDeviceRefundRequested);
paymentDeviceConnection.removeEventListener("paymentdevicerefundrequested", onPaymentDeviceRefundRequested);
- or -
paymentDeviceConnection.onpaymentdevicerefundrequested = onPaymentDeviceRefundRequested;
Public Custom Event PaymentDeviceRefundRequested As TypedEventHandler(Of PaymentDeviceConnection, PaymentDeviceRefundRequestEventArgs) 

Event Type

Attributes

Applies to