Example #1
0
        /// <summary>
        /// Get transaction details
        /// </summary>
        /// <param name="transactionId">The ID of the transaction (EX-code)</param>
        /// <param name="entranceCode">The entrancecode of the transaction.</param>
        /// <returns>Transaction details Request</returns>
        public API.Transaction.Details.Request CreateTransactionDetailRequest(string transactionId, string entranceCode)
        {
            var request = new API.Transaction.Details.Request
            {
                TransactionId = transactionId,
                EntranceCode  = entranceCode
            };

            return(request);
        }
Example #2
0
        /// <summary>
        /// Performs a request to get transaction details.
        /// </summary>
        /// <returns>Full response object</returns>
        public async Task <API.Transaction.Details.Response> DetailsAsync(API.Transaction.Details.Request request)
        {
            await ClientService.PerformPostRequestAsync(request);

            return(request.Response);
        }