Files
Backend-Api/CompanyManagment.App.Contracts/PaymentTransaction/IPaymentTransactionApplication.cs
2025-07-10 11:55:18 +03:30

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);
}