IOrderTransactionService Interface
Assembly: PTS.Modules.OrderTransactionAggregate.dll
Syntax
public interface IOrderTransactionService
Methods
GetItemBalanceAsync(Account, Order, Nullable<DateTime>, MoneyAccountType, Nullable<TransactionType>, CurrencyCode, TransactionStatus[])
Declaration
Task<decimal> GetItemBalanceAsync(Account profile, Order order, DateTime? asOf, MoneyAccountType accountType, TransactionType? transactionType, CurrencyCode currency = CurrencyCode.NotSet, params TransactionStatus[] transactionStatuses)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Decimal> |
|
GetPaidAmountAsync(Order)
Declaration
Task<decimal> GetPaidAmountAsync(Order order)
Parameters
Type |
Name |
Description |
Order |
order |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Decimal> |
|
GetRemainingDepositAmountAsync(Order)
Declaration
Task<decimal> GetRemainingDepositAmountAsync(Order order)
Parameters
Type |
Name |
Description |
Order |
order |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Decimal> |
|
GetRemainingPaymentAmountAsync(Order)
Declaration
Task<decimal> GetRemainingPaymentAmountAsync(Order order)
Parameters
Type |
Name |
Description |
Order |
order |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Decimal> |
|
SetPaymentStatusAsync(Order)
Declaration
Task SetPaymentStatusAsync(Order order)
Parameters
Type |
Name |
Description |
Order |
order |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Extension Methods