예제 #1
0
        /// <summary>
        /// Get information for all payment methods.
        /// </summary>
        /// <returns>Response containing a list of information for all payment methods</returns>
        public async Task <API.PaymentMethod.GetAll.Response> GetAllAsync()
        {
            var request = new PaymentMethodGetAll();
            await ClientService.PerformPostRequestAsync(request);

            return(request.Response);
        }
예제 #2
0
        public async Task DumpPaymentmethodsAsync()
        {
            ClearDebug();
            var request = new PayNL.API.PaymentMethod.GetAll.Request();

            InitRequestDebug(request);
            await ClientService.PerformPostRequestAsync(request);

            DebugRawResponse(request);
            tbMain.Text = request.Response.ToString();
        }