OrderTransactionAggregateRoot Class
Namespace: PTS.Modules.OrderTransactionAggregate.Domain
Assembly: PTS.Modules.OrderTransactionAggregate.dll
Syntax
public class OrderTransactionAggregateRoot
Inheritance
System.Object
OrderTransactionAggregateRoot
Properties
Order
Declaration
public virtual Order Order { get; set; }
Property Value
Type | Description |
---|---|
Order |
OrderId
Declaration
public long OrderId { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
OrderOwnerId
Declaration
public long OrderOwnerId { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Transactions
Declaration
public ICollection<OrderTransaction> Transactions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<OrderTransaction> |
Methods
GetRemainingDepositAmountAsync(IOrderTransactionService)
Declaration
public Task<decimal> GetRemainingDepositAmountAsync(IOrderTransactionService service)
Parameters
Type | Name | Description |
---|---|---|
IOrderTransactionService | service |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Decimal> |
GetRemainingPaymentAmountAsync(IOrderTransactionService)
Declaration
public Task<decimal> GetRemainingPaymentAmountAsync(IOrderTransactionService service)
Parameters
Type | Name | Description |
---|---|---|
IOrderTransactionService | service |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Decimal> |
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()