OrderService Class
Assembly: PTS.Modules.Orders.dll
Syntax
public class OrderService : UnitOfWorkService, IServiceProviderAccessor, IOrderService, ISeedWork<IOrderService>, ISeedWork
Inheritance
System.Object
OrderService
Constructors
OrderService(IUnitOfWork)
Declaration
public OrderService(IUnitOfWork unitOfWork)
Parameters
Properties
Accounts
Declaration
public IRepository<Account> Accounts { get; }
Property Value
Orders
Declaration
public IRepository<Order> Orders { get; }
Property Value
Methods
GetDepositAmount(Order)
Declaration
public decimal GetDepositAmount(Order order)
Parameters
Type |
Name |
Description |
Order |
order |
|
Returns
Type |
Description |
System.Decimal |
|
GetIssuerAsync(Order)
Declaration
public Task<Account> GetIssuerAsync(Order order)
Parameters
Type |
Name |
Description |
Order |
order |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Account> |
|
GetReceiverAsync(Order)
Declaration
public Task<Account> GetReceiverAsync(Order order)
Parameters
Type |
Name |
Description |
Order |
order |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Account> |
|
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Extension Methods