コード例 #1
0
ファイル: EmailManager.cs プロジェクト: Tekhqs-Net/EbizWebApi
        //Get Email Template
        public async Task <dynamic> SearchEbizWebFormPaymentRcvd(EmailDetailModel model)
        {
            SecurityToken token = await GetSecurityToken();

            var      client = new PaymentGateway.IeBizServiceClient();
            TimeSpan ts     = new TimeSpan(00, 00, 0);

            model.fromPaymentRequestDateTime = model.fromPaymentRequestDateTime.Date + ts;
            TimeSpan ts2 = new TimeSpan(23, 59, 0);

            model.toPaymentRequestDateTime = model.toPaymentRequestDateTime.Date + ts2;
            dynamic response = await client.SearchEbizWebFormReceivedPaymentsAsync(token, model.customerId, model.fromPaymentRequestDateTime, model.toPaymentRequestDateTime, model.searchFilters, model.start, model.limit, model.sort);

            return(response);
        }