PaymentMediator.SubmitPaymentRequestAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SubmitPaymentRequestAsync(PaymentRequest) |
Submits a payment request. |
SubmitPaymentRequestAsync(PaymentRequest, PaymentRequestChangedHandler) |
Submits a payment request. |
SubmitPaymentRequestAsync(PaymentRequest)
Submits a payment request.
public:
virtual IAsyncOperation<PaymentRequestSubmitResult ^> ^ SubmitPaymentRequestAsync(PaymentRequest ^ paymentRequest) = SubmitPaymentRequestAsync;
/// [Windows.Foundation.Metadata.Overload("SubmitPaymentRequestAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<PaymentRequestSubmitResult> SubmitPaymentRequestAsync(PaymentRequest const& paymentRequest);
[Windows.Foundation.Metadata.Overload("SubmitPaymentRequestAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<PaymentRequestSubmitResult> SubmitPaymentRequestAsync(PaymentRequest paymentRequest);
function submitPaymentRequestAsync(paymentRequest)
Public Function SubmitPaymentRequestAsync (paymentRequest As PaymentRequest) As IAsyncOperation(Of PaymentRequestSubmitResult)
Parameters
- paymentRequest
- PaymentRequest
The payment request.
Returns
When the asynchronous operation completes, it returns a submission result.
- Attributes
Applies to
SubmitPaymentRequestAsync(PaymentRequest, PaymentRequestChangedHandler)
Submits a payment request.
public:
virtual IAsyncOperation<PaymentRequestSubmitResult ^> ^ SubmitPaymentRequestAsync(PaymentRequest ^ paymentRequest, PaymentRequestChangedHandler ^ changeHandler) = SubmitPaymentRequestAsync;
/// [Windows.Foundation.Metadata.Overload("SubmitPaymentRequestWithChangeHandlerAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<PaymentRequestSubmitResult> SubmitPaymentRequestAsync(PaymentRequest const& paymentRequest, PaymentRequestChangedHandler const& changeHandler);
[Windows.Foundation.Metadata.Overload("SubmitPaymentRequestWithChangeHandlerAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<PaymentRequestSubmitResult> SubmitPaymentRequestAsync(PaymentRequest paymentRequest, PaymentRequestChangedHandler changeHandler);
function submitPaymentRequestAsync(paymentRequest, changeHandler)
Public Function SubmitPaymentRequestAsync (paymentRequest As PaymentRequest, changeHandler As PaymentRequestChangedHandler) As IAsyncOperation(Of PaymentRequestSubmitResult)
Parameters
- paymentRequest
- PaymentRequest
The payment request.
- changeHandler
- PaymentRequestChangedHandler
A handler for when the payment request changes.
Returns
When the asynchronous operation completes it returns submission results.
- Attributes