30 lines
974 B
C#
30 lines
974 B
C#
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using _0_Framework.Application;
|
|
using _0_Framework.Application.PaymentGateway;
|
|
|
|
namespace CompanyManagment.App.Contracts.PaymentTransaction;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public interface IPaymentTransactionApplication
|
|
{
|
|
/// <summary>
|
|
/// لیست تراکنش های پرداخت را بر اساس فیلتر مشخص شده برمی گرداند.
|
|
/// </summary>
|
|
/// <param name="searchModel"></param>
|
|
/// <returns></returns>
|
|
Task<List<GetPaymentTransactionListViewModel>> GetPaymentTransactionList(
|
|
GetPaymentTransactionListSearchModel searchModel);
|
|
/// <summary>
|
|
/// ایجاد تراکنش
|
|
/// </summary>
|
|
/// <param name="command"></param>
|
|
/// <returns></returns>
|
|
Task<OperationResult> Create(CreatePaymentTransaction command);
|
|
|
|
Task<WalletAmountResponse> GetWalletAmount(CancellationToken cancellationToken);
|
|
|
|
} |