< Summary

Information
Class: /home/wethinkcode/student_work/csharp/GroupProject/super-cool-group/weshare-qa/GeneratedApiCode/src/Applications.WeShare.Swagger/Api/PaymentsApi.cs
Assembly: Default
File(s): /home/wethinkcode/student_work/csharp/GroupProject/super-cool-group/weshare-qa/GeneratedApiCode/src/Applications.WeShare.Swagger/Api/PaymentsApi.cs
Line coverage
41%
Covered lines: 78
Uncovered lines: 108
Coverable lines: 186
Total lines: 515
Line coverage: 41.9%
Branch coverage
34%
Covered branches: 15
Total branches: 44
Branch coverage: 34%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

File(s)

/home/wethinkcode/student_work/csharp/GroupProject/super-cool-group/weshare-qa/GeneratedApiCode/src/Applications.WeShare.Swagger/Api/PaymentsApi.cs

#LineLine coverage
 1/*
 2 * WeShare API
 3 *
 4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 5 *
 6 * The version of the OpenAPI document: 1.0
 7 * Generated by: https://github.com/openapitools/openapi-generator.git
 8 */
 9
 10
 11using System;
 12using System.Collections.Generic;
 13using System.Collections.ObjectModel;
 14using System.Linq;
 15using System.Net;
 16using System.Net.Mime;
 17using Applications.WeShare.Swagger.Client;
 18using Applications.WeShare.Swagger.Model;
 19
 20namespace Applications.WeShare.Swagger.Api
 21{
 22
 23    /// <summary>
 24    /// Represents a collection of functions to interact with the API endpoints
 25    /// </summary>
 26    public interface IPaymentsApiSync : IApiAccessor
 27    {
 28        #region Synchronous Operations
 29        /// <summary>
 30        /// Find all payments made by a person
 31        /// </summary>
 32        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 33        /// <param name="personId">The ID of the person</param>
 34        /// <param name="operationIndex">Index associated with the operation.</param>
 35        /// <returns>List&lt;PaymentDTO&gt;</returns>
 36        List<PaymentDTO> FindPaymentsMadeByPerson(int personId, int operationIndex = 0);
 37
 38        /// <summary>
 39        /// Find all payments made by a person
 40        /// </summary>
 41        /// <remarks>
 42        ///
 43        /// </remarks>
 44        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 45        /// <param name="personId">The ID of the person</param>
 46        /// <param name="operationIndex">Index associated with the operation.</param>
 47        /// <returns>ApiResponse of List&lt;PaymentDTO&gt;</returns>
 48        ApiResponse<List<PaymentDTO>> FindPaymentsMadeByPersonWithHttpInfo(int personId, int operationIndex = 0);
 49        /// <summary>
 50        /// Pay a payment request
 51        /// </summary>
 52        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 53        /// <param name="newPaymentDTO"> (optional)</param>
 54        /// <param name="operationIndex">Index associated with the operation.</param>
 55        /// <returns>PaymentDTO</returns>
 56        PaymentDTO PayPaymentRequest(NewPaymentDTO newPaymentDTO = default(NewPaymentDTO), int operationIndex = 0);
 57
 58        /// <summary>
 59        /// Pay a payment request
 60        /// </summary>
 61        /// <remarks>
 62        ///
 63        /// </remarks>
 64        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 65        /// <param name="newPaymentDTO"> (optional)</param>
 66        /// <param name="operationIndex">Index associated with the operation.</param>
 67        /// <returns>ApiResponse of PaymentDTO</returns>
 68        ApiResponse<PaymentDTO> PayPaymentRequestWithHttpInfo(NewPaymentDTO newPaymentDTO = default(NewPaymentDTO), int 
 69        #endregion Synchronous Operations
 70    }
 71
 72    /// <summary>
 73    /// Represents a collection of functions to interact with the API endpoints
 74    /// </summary>
 75    public interface IPaymentsApiAsync : IApiAccessor
 76    {
 77        #region Asynchronous Operations
 78        /// <summary>
 79        /// Find all payments made by a person
 80        /// </summary>
 81        /// <remarks>
 82        ///
 83        /// </remarks>
 84        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 85        /// <param name="personId">The ID of the person</param>
 86        /// <param name="operationIndex">Index associated with the operation.</param>
 87        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
 88        /// <returns>Task of List&lt;PaymentDTO&gt;</returns>
 89        System.Threading.Tasks.Task<List<PaymentDTO>> FindPaymentsMadeByPersonAsync(int personId, int operationIndex = 0
 90
 91        /// <summary>
 92        /// Find all payments made by a person
 93        /// </summary>
 94        /// <remarks>
 95        ///
 96        /// </remarks>
 97        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 98        /// <param name="personId">The ID of the person</param>
 99        /// <param name="operationIndex">Index associated with the operation.</param>
 100        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
 101        /// <returns>Task of ApiResponse (List&lt;PaymentDTO&gt;)</returns>
 102        System.Threading.Tasks.Task<ApiResponse<List<PaymentDTO>>> FindPaymentsMadeByPersonWithHttpInfoAsync(int personI
 103        /// <summary>
 104        /// Pay a payment request
 105        /// </summary>
 106        /// <remarks>
 107        ///
 108        /// </remarks>
 109        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 110        /// <param name="newPaymentDTO"> (optional)</param>
 111        /// <param name="operationIndex">Index associated with the operation.</param>
 112        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
 113        /// <returns>Task of PaymentDTO</returns>
 114        System.Threading.Tasks.Task<PaymentDTO> PayPaymentRequestAsync(NewPaymentDTO newPaymentDTO = default(NewPaymentD
 115
 116        /// <summary>
 117        /// Pay a payment request
 118        /// </summary>
 119        /// <remarks>
 120        ///
 121        /// </remarks>
 122        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 123        /// <param name="newPaymentDTO"> (optional)</param>
 124        /// <param name="operationIndex">Index associated with the operation.</param>
 125        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
 126        /// <returns>Task of ApiResponse (PaymentDTO)</returns>
 127        System.Threading.Tasks.Task<ApiResponse<PaymentDTO>> PayPaymentRequestWithHttpInfoAsync(NewPaymentDTO newPayment
 128        #endregion Asynchronous Operations
 129    }
 130
 131    /// <summary>
 132    /// Represents a collection of functions to interact with the API endpoints
 133    /// </summary>
 134    public interface IPaymentsApi : IPaymentsApiSync, IPaymentsApiAsync
 135    {
 136
 137    }
 138
 139    /// <summary>
 140    /// Represents a collection of functions to interact with the API endpoints
 141    /// </summary>
 142    public partial class PaymentsApi : IPaymentsApi
 143    {
 2144        private Applications.WeShare.Swagger.Client.ExceptionFactory _exceptionFactory = (name, response) => null;
 145
 146        /// <summary>
 147        /// Initializes a new instance of the <see cref="PaymentsApi"/> class.
 148        /// </summary>
 149        /// <returns></returns>
 0150        public PaymentsApi() : this((string)null)
 0151        {
 0152        }
 153
 154        /// <summary>
 155        /// Initializes a new instance of the <see cref="PaymentsApi"/> class.
 156        /// </summary>
 157        /// <returns></returns>
 2158        public PaymentsApi(string basePath)
 2159        {
 2160            this.Configuration = Applications.WeShare.Swagger.Client.Configuration.MergeConfigurations(
 2161                Applications.WeShare.Swagger.Client.GlobalConfiguration.Instance,
 2162                new Applications.WeShare.Swagger.Client.Configuration { BasePath = basePath }
 2163            );
 2164            this.Client = new Applications.WeShare.Swagger.Client.ApiClient(this.Configuration.BasePath);
 2165            this.AsynchronousClient = new Applications.WeShare.Swagger.Client.ApiClient(this.Configuration.BasePath);
 2166            this.ExceptionFactory = Applications.WeShare.Swagger.Client.Configuration.DefaultExceptionFactory;
 2167        }
 168
 169        /// <summary>
 170        /// Initializes a new instance of the <see cref="PaymentsApi"/> class
 171        /// using Configuration object
 172        /// </summary>
 173        /// <param name="configuration">An instance of Configuration</param>
 174        /// <returns></returns>
 0175        public PaymentsApi(Applications.WeShare.Swagger.Client.Configuration configuration)
 0176        {
 0177            if (configuration == null) throw new ArgumentNullException("configuration");
 178
 0179            this.Configuration = Applications.WeShare.Swagger.Client.Configuration.MergeConfigurations(
 0180                Applications.WeShare.Swagger.Client.GlobalConfiguration.Instance,
 0181                configuration
 0182            );
 0183            this.Client = new Applications.WeShare.Swagger.Client.ApiClient(this.Configuration.BasePath);
 0184            this.AsynchronousClient = new Applications.WeShare.Swagger.Client.ApiClient(this.Configuration.BasePath);
 0185            ExceptionFactory = Applications.WeShare.Swagger.Client.Configuration.DefaultExceptionFactory;
 0186        }
 187
 188        /// <summary>
 189        /// Initializes a new instance of the <see cref="PaymentsApi"/> class
 190        /// using a Configuration object and client instance.
 191        /// </summary>
 192        /// <param name="client">The client interface for synchronous API access.</param>
 193        /// <param name="asyncClient">The client interface for asynchronous API access.</param>
 194        /// <param name="configuration">The configuration object.</param>
 0195        public PaymentsApi(Applications.WeShare.Swagger.Client.ISynchronousClient client, Applications.WeShare.Swagger.C
 0196        {
 0197            if (client == null) throw new ArgumentNullException("client");
 0198            if (asyncClient == null) throw new ArgumentNullException("asyncClient");
 0199            if (configuration == null) throw new ArgumentNullException("configuration");
 200
 0201            this.Client = client;
 0202            this.AsynchronousClient = asyncClient;
 0203            this.Configuration = configuration;
 0204            this.ExceptionFactory = Applications.WeShare.Swagger.Client.Configuration.DefaultExceptionFactory;
 0205        }
 206
 207        /// <summary>
 208        /// The client for accessing this underlying API asynchronously.
 209        /// </summary>
 2210        public Applications.WeShare.Swagger.Client.IAsynchronousClient AsynchronousClient { get; set; }
 211
 212        /// <summary>
 213        /// The client for accessing this underlying API synchronously.
 214        /// </summary>
 6215        public Applications.WeShare.Swagger.Client.ISynchronousClient Client { get; set; }
 216
 217        /// <summary>
 218        /// Gets the base path of the API client.
 219        /// </summary>
 220        /// <value>The base path</value>
 221        public string GetBasePath()
 0222        {
 0223            return this.Configuration.BasePath;
 0224        }
 225
 226        /// <summary>
 227        /// Gets or sets the configuration object
 228        /// </summary>
 229        /// <value>An instance of the Configuration</value>
 10230        public Applications.WeShare.Swagger.Client.IReadableConfiguration Configuration { get; set; }
 231
 232        /// <summary>
 233        /// Provides a factory method hook for the creation of exceptions.
 234        /// </summary>
 235        public Applications.WeShare.Swagger.Client.ExceptionFactory ExceptionFactory
 236        {
 237            get
 8238            {
 8239                if (_exceptionFactory != null && _exceptionFactory.GetInvocationList().Length > 1)
 0240                {
 0241                    throw new InvalidOperationException("Multicast delegate for ExceptionFactory is unsupported.");
 242                }
 8243                return _exceptionFactory;
 8244            }
 6245            set { _exceptionFactory = value; }
 246        }
 247
 248        /// <summary>
 249        /// Find all payments made by a person
 250        /// </summary>
 251        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 252        /// <param name="personId">The ID of the person</param>
 253        /// <param name="operationIndex">Index associated with the operation.</param>
 254        /// <returns>List&lt;PaymentDTO&gt;</returns>
 255        public List<PaymentDTO> FindPaymentsMadeByPerson(int personId, int operationIndex = 0)
 1256        {
 1257            Applications.WeShare.Swagger.Client.ApiResponse<List<PaymentDTO>> localVarResponse = FindPaymentsMadeByPerso
 0258            return localVarResponse.Data;
 0259        }
 260
 261        /// <summary>
 262        /// Find all payments made by a person
 263        /// </summary>
 264        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 265        /// <param name="personId">The ID of the person</param>
 266        /// <param name="operationIndex">Index associated with the operation.</param>
 267        /// <returns>ApiResponse of List&lt;PaymentDTO&gt;</returns>
 268        public Applications.WeShare.Swagger.Client.ApiResponse<List<PaymentDTO>> FindPaymentsMadeByPersonWithHttpInfo(in
 2269        {
 2270            Applications.WeShare.Swagger.Client.RequestOptions localVarRequestOptions = new Applications.WeShare.Swagger
 271
 2272            string[] _contentTypes = new string[] {
 2273            };
 274
 275            // to determine the Accept header
 2276            string[] _accepts = new string[] {
 2277                "application/json"
 2278            };
 279
 2280            var localVarContentType = Applications.WeShare.Swagger.Client.ClientUtils.SelectHeaderContentType(_contentTy
 2281            if (localVarContentType != null)
 0282            {
 0283                localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
 0284            }
 285
 2286            var localVarAccept = Applications.WeShare.Swagger.Client.ClientUtils.SelectHeaderAccept(_accepts);
 2287            if (localVarAccept != null)
 2288            {
 2289                localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
 2290            }
 291
 2292            localVarRequestOptions.PathParameters.Add("personId", Applications.WeShare.Swagger.Client.ClientUtils.Parame
 293
 2294            localVarRequestOptions.Operation = "PaymentsApi.FindPaymentsMadeByPerson";
 2295            localVarRequestOptions.OperationIndex = operationIndex;
 296
 297
 298            // make the HTTP request
 2299            var localVarResponse = this.Client.Get<List<PaymentDTO>>("/api/payments/madeby/{personId}", localVarRequestO
 2300            if (this.ExceptionFactory != null)
 2301            {
 2302                Exception _exception = this.ExceptionFactory("FindPaymentsMadeByPerson", localVarResponse);
 2303                if (_exception != null)
 1304                {
 1305                    throw _exception;
 306                }
 1307            }
 308
 1309            return localVarResponse;
 1310        }
 311
 312        /// <summary>
 313        /// Find all payments made by a person
 314        /// </summary>
 315        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 316        /// <param name="personId">The ID of the person</param>
 317        /// <param name="operationIndex">Index associated with the operation.</param>
 318        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
 319        /// <returns>Task of List&lt;PaymentDTO&gt;</returns>
 320        public async System.Threading.Tasks.Task<List<PaymentDTO>> FindPaymentsMadeByPersonAsync(int personId, int opera
 0321        {
 0322            Applications.WeShare.Swagger.Client.ApiResponse<List<PaymentDTO>> localVarResponse = await FindPaymentsMadeB
 0323            return localVarResponse.Data;
 0324        }
 325
 326        /// <summary>
 327        /// Find all payments made by a person
 328        /// </summary>
 329        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 330        /// <param name="personId">The ID of the person</param>
 331        /// <param name="operationIndex">Index associated with the operation.</param>
 332        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
 333        /// <returns>Task of ApiResponse (List&lt;PaymentDTO&gt;)</returns>
 334        public async System.Threading.Tasks.Task<Applications.WeShare.Swagger.Client.ApiResponse<List<PaymentDTO>>> Find
 0335        {
 336
 0337            Applications.WeShare.Swagger.Client.RequestOptions localVarRequestOptions = new Applications.WeShare.Swagger
 338
 0339            string[] _contentTypes = new string[] {
 0340            };
 341
 342            // to determine the Accept header
 0343            string[] _accepts = new string[] {
 0344                "application/json"
 0345            };
 346
 0347            var localVarContentType = Applications.WeShare.Swagger.Client.ClientUtils.SelectHeaderContentType(_contentTy
 0348            if (localVarContentType != null)
 0349            {
 0350                localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
 0351            }
 352
 0353            var localVarAccept = Applications.WeShare.Swagger.Client.ClientUtils.SelectHeaderAccept(_accepts);
 0354            if (localVarAccept != null)
 0355            {
 0356                localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
 0357            }
 358
 0359            localVarRequestOptions.PathParameters.Add("personId", Applications.WeShare.Swagger.Client.ClientUtils.Parame
 360
 0361            localVarRequestOptions.Operation = "PaymentsApi.FindPaymentsMadeByPerson";
 0362            localVarRequestOptions.OperationIndex = operationIndex;
 363
 364
 365            // make the HTTP request
 0366            var localVarResponse = await this.AsynchronousClient.GetAsync<List<PaymentDTO>>("/api/payments/madeby/{perso
 367
 0368            if (this.ExceptionFactory != null)
 0369            {
 0370                Exception _exception = this.ExceptionFactory("FindPaymentsMadeByPerson", localVarResponse);
 0371                if (_exception != null)
 0372                {
 0373                    throw _exception;
 374                }
 0375            }
 376
 0377            return localVarResponse;
 0378        }
 379
 380        /// <summary>
 381        /// Pay a payment request
 382        /// </summary>
 383        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 384        /// <param name="newPaymentDTO"> (optional)</param>
 385        /// <param name="operationIndex">Index associated with the operation.</param>
 386        /// <returns>PaymentDTO</returns>
 387        public PaymentDTO PayPaymentRequest(NewPaymentDTO newPaymentDTO = default(NewPaymentDTO), int operationIndex = 0
 2388        {
 2389            Applications.WeShare.Swagger.Client.ApiResponse<PaymentDTO> localVarResponse = PayPaymentRequestWithHttpInfo
 0390            return localVarResponse.Data;
 0391        }
 392
 393        /// <summary>
 394        /// Pay a payment request
 395        /// </summary>
 396        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 397        /// <param name="newPaymentDTO"> (optional)</param>
 398        /// <param name="operationIndex">Index associated with the operation.</param>
 399        /// <returns>ApiResponse of PaymentDTO</returns>
 400        public Applications.WeShare.Swagger.Client.ApiResponse<PaymentDTO> PayPaymentRequestWithHttpInfo(NewPaymentDTO n
 2401        {
 2402            Applications.WeShare.Swagger.Client.RequestOptions localVarRequestOptions = new Applications.WeShare.Swagger
 403
 2404            string[] _contentTypes = new string[] {
 2405                "application/json"
 2406            };
 407
 408            // to determine the Accept header
 2409            string[] _accepts = new string[] {
 2410                "application/json"
 2411            };
 412
 2413            var localVarContentType = Applications.WeShare.Swagger.Client.ClientUtils.SelectHeaderContentType(_contentTy
 2414            if (localVarContentType != null)
 2415            {
 2416                localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
 2417            }
 418
 2419            var localVarAccept = Applications.WeShare.Swagger.Client.ClientUtils.SelectHeaderAccept(_accepts);
 2420            if (localVarAccept != null)
 2421            {
 2422                localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
 2423            }
 424
 2425            localVarRequestOptions.Data = newPaymentDTO;
 426
 2427            localVarRequestOptions.Operation = "PaymentsApi.PayPaymentRequest";
 2428            localVarRequestOptions.OperationIndex = operationIndex;
 429
 430
 431            // make the HTTP request
 2432            var localVarResponse = this.Client.Post<PaymentDTO>("/api/payments", localVarRequestOptions, this.Configurat
 2433            if (this.ExceptionFactory != null)
 2434            {
 2435                Exception _exception = this.ExceptionFactory("PayPaymentRequest", localVarResponse);
 2436                if (_exception != null)
 2437                {
 2438                    throw _exception;
 439                }
 0440            }
 441
 0442            return localVarResponse;
 0443        }
 444
 445        /// <summary>
 446        /// Pay a payment request
 447        /// </summary>
 448        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 449        /// <param name="newPaymentDTO"> (optional)</param>
 450        /// <param name="operationIndex">Index associated with the operation.</param>
 451        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
 452        /// <returns>Task of PaymentDTO</returns>
 453        public async System.Threading.Tasks.Task<PaymentDTO> PayPaymentRequestAsync(NewPaymentDTO newPaymentDTO = defaul
 0454        {
 0455            Applications.WeShare.Swagger.Client.ApiResponse<PaymentDTO> localVarResponse = await PayPaymentRequestWithHt
 0456            return localVarResponse.Data;
 0457        }
 458
 459        /// <summary>
 460        /// Pay a payment request
 461        /// </summary>
 462        /// <exception cref="Applications.WeShare.Swagger.Client.ApiException">Thrown when fails to make API call</excep
 463        /// <param name="newPaymentDTO"> (optional)</param>
 464        /// <param name="operationIndex">Index associated with the operation.</param>
 465        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
 466        /// <returns>Task of ApiResponse (PaymentDTO)</returns>
 467        public async System.Threading.Tasks.Task<Applications.WeShare.Swagger.Client.ApiResponse<PaymentDTO>> PayPayment
 0468        {
 469
 0470            Applications.WeShare.Swagger.Client.RequestOptions localVarRequestOptions = new Applications.WeShare.Swagger
 471
 0472            string[] _contentTypes = new string[] {
 0473                "application/json"
 0474            };
 475
 476            // to determine the Accept header
 0477            string[] _accepts = new string[] {
 0478                "application/json"
 0479            };
 480
 0481            var localVarContentType = Applications.WeShare.Swagger.Client.ClientUtils.SelectHeaderContentType(_contentTy
 0482            if (localVarContentType != null)
 0483            {
 0484                localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
 0485            }
 486
 0487            var localVarAccept = Applications.WeShare.Swagger.Client.ClientUtils.SelectHeaderAccept(_accepts);
 0488            if (localVarAccept != null)
 0489            {
 0490                localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
 0491            }
 492
 0493            localVarRequestOptions.Data = newPaymentDTO;
 494
 0495            localVarRequestOptions.Operation = "PaymentsApi.PayPaymentRequest";
 0496            localVarRequestOptions.OperationIndex = operationIndex;
 497
 498
 499            // make the HTTP request
 0500            var localVarResponse = await this.AsynchronousClient.PostAsync<PaymentDTO>("/api/payments", localVarRequestO
 501
 0502            if (this.ExceptionFactory != null)
 0503            {
 0504                Exception _exception = this.ExceptionFactory("PayPaymentRequest", localVarResponse);
 0505                if (_exception != null)
 0506                {
 0507                    throw _exception;
 508                }
 0509            }
 510
 0511            return localVarResponse;
 0512        }
 513
 514    }
 515}

Methods/Properties

System.Void Applications.WeShare.Swagger.Api.PaymentsApi::.ctor(System.String)
System.Void Applications.WeShare.Swagger.Api.PaymentsApi::.ctor()
System.Void Applications.WeShare.Swagger.Api.PaymentsApi::.ctor(Applications.WeShare.Swagger.Client.Configuration)
System.Void Applications.WeShare.Swagger.Api.PaymentsApi::.ctor(Applications.WeShare.Swagger.Client.ISynchronousClient,Applications.WeShare.Swagger.Client.IAsynchronousClient,Applications.WeShare.Swagger.Client.IReadableConfiguration)
Applications.WeShare.Swagger.Client.IAsynchronousClient Applications.WeShare.Swagger.Api.PaymentsApi::get_AsynchronousClient()
Applications.WeShare.Swagger.Client.ISynchronousClient Applications.WeShare.Swagger.Api.PaymentsApi::get_Client()
System.String Applications.WeShare.Swagger.Api.PaymentsApi::GetBasePath()
Applications.WeShare.Swagger.Client.IReadableConfiguration Applications.WeShare.Swagger.Api.PaymentsApi::get_Configuration()
Applications.WeShare.Swagger.Client.ExceptionFactory Applications.WeShare.Swagger.Api.PaymentsApi::get_ExceptionFactory()
System.Void Applications.WeShare.Swagger.Api.PaymentsApi::set_ExceptionFactory(Applications.WeShare.Swagger.Client.ExceptionFactory)
System.Collections.Generic.List`1<Applications.WeShare.Swagger.Model.PaymentDTO> Applications.WeShare.Swagger.Api.PaymentsApi::FindPaymentsMadeByPerson(System.Int32,System.Int32)
Applications.WeShare.Swagger.Client.ApiResponse`1<System.Collections.Generic.List`1<Applications.WeShare.Swagger.Model.PaymentDTO>> Applications.WeShare.Swagger.Api.PaymentsApi::FindPaymentsMadeByPersonWithHttpInfo(System.Int32,System.Int32)
System.Void Applications.WeShare.Swagger.Api.PaymentsApi/<FindPaymentsMadeByPersonAsync>d__23::MoveNext()
System.Void Applications.WeShare.Swagger.Api.PaymentsApi/<FindPaymentsMadeByPersonWithHttpInfoAsync>d__24::MoveNext()
Applications.WeShare.Swagger.Model.PaymentDTO Applications.WeShare.Swagger.Api.PaymentsApi::PayPaymentRequest(Applications.WeShare.Swagger.Model.NewPaymentDTO,System.Int32)
Applications.WeShare.Swagger.Client.ApiResponse`1<Applications.WeShare.Swagger.Model.PaymentDTO> Applications.WeShare.Swagger.Api.PaymentsApi::PayPaymentRequestWithHttpInfo(Applications.WeShare.Swagger.Model.NewPaymentDTO,System.Int32)
System.Void Applications.WeShare.Swagger.Api.PaymentsApi/<PayPaymentRequestAsync>d__27::MoveNext()
System.Void Applications.WeShare.Swagger.Api.PaymentsApi/<PayPaymentRequestWithHttpInfoAsync>d__28::MoveNext()