PaymentMediator PaymentMediator PaymentMediator PaymentMediator PaymentMediator Class

Definition

This class is used to submit payment requests.

public : sealed class PaymentMediator : IPaymentMediator, IPaymentMediator2
struct winrt::Windows::ApplicationModel::Payments::PaymentMediator : IPaymentMediator, IPaymentMediator2
public sealed class PaymentMediator : IPaymentMediator, IPaymentMediator2
Public NotInheritable Class PaymentMediator Implements IPaymentMediator, IPaymentMediator2
var paymentMediator = new paymentMediator();
Attributes
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Constructors

PaymentMediator() PaymentMediator() PaymentMediator() PaymentMediator() PaymentMediator()

Creates a new PaymentMediator object.

Methods

CanMakePaymentAsync(PaymentRequest) CanMakePaymentAsync(PaymentRequest) CanMakePaymentAsync(PaymentRequest) CanMakePaymentAsync(PaymentRequest) CanMakePaymentAsync(PaymentRequest)

This method checks if a payment can be made on the paymentRequest.

GetSupportedMethodIdsAsync() GetSupportedMethodIdsAsync() GetSupportedMethodIdsAsync() GetSupportedMethodIdsAsync() GetSupportedMethodIdsAsync()

Gets the list of payment methods currently supported.

SubmitPaymentRequestAsync(PaymentRequest) SubmitPaymentRequestAsync(PaymentRequest) SubmitPaymentRequestAsync(PaymentRequest) SubmitPaymentRequestAsync(PaymentRequest) SubmitPaymentRequestAsync(PaymentRequest)

Submits a payment request.

SubmitPaymentRequestAsync(PaymentRequest, PaymentRequestChangedHandler) SubmitPaymentRequestAsync(PaymentRequest, PaymentRequestChangedHandler) SubmitPaymentRequestAsync(PaymentRequest, PaymentRequestChangedHandler) SubmitPaymentRequestAsync(PaymentRequest, PaymentRequestChangedHandler) SubmitPaymentRequestAsync(PaymentRequest, PaymentRequestChangedHandler)

Submits a payment request.