IOrderService Interface
Namespace: PTS.Modules.Orders.Domain
Assembly: PTS.Modules.Orders.dll
Syntax
public interface IOrderService
Methods
GetDepositAmount(Order)
Gets the deposit amount for Order.
Declaration
decimal GetDepositAmount(Order order)
Parameters
Type | Name | Description |
---|---|---|
Order | order | The order. |
Returns
Type | Description |
---|---|
System.Decimal | The deposit amount. |
GetIssuerAsync(Order)
Gets the issuer of the order.
Declaration
Task<Account> GetIssuerAsync(Order order)
Parameters
Type | Name | Description |
---|---|---|
Order | order | The order. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Account> | The issuer of the order. |
GetReceiverAsync(Order)
Get the receiver of the order.
Declaration
Task<Account> GetReceiverAsync(Order order)
Parameters
Type | Name | Description |
---|---|---|
Order | order | The order. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Account> | The receiver of the order. |