Example #1
0
        protected async Task <JsonResult> JsonAndStoreError(PayRequest payRequest, TransferErrorReturn errorResponse)
        {
            payRequest.MerchantPayRequestNotification = MerchantPayRequestNotification.Error.ToString();
            await StoreRequestClient.ApiStorePostWithHttpMessagesAsync(payRequest);

            return(Json(errorResponse));
        }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='request'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task ApiStorePostAsync(this ILykkePayServiceStoreRequestMicroService operations, PayRequest request = default(PayRequest), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.ApiStorePostWithHttpMessagesAsync(request, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }