C# Class Regalo.Core.Tests.DomainModel.SalesOrders.SalesOrder

Inheritance: AggregateRoot
Afficher le fichier Open project: nbarnwell/Regalo

Méthodes publiques

Méthode Description
AddLine ( string sku, uint quantity ) : void
Create ( System.Guid id ) : void
PlaceOrder ( ) : void

Private Methods

Méthode Description
AddProduct ( string sku, uint quantity ) : void
Apply ( ItemsAddedToOrder evt ) : void
Apply ( SalesOrderCreated evt ) : void
OrderHasProducts ( ) : bool
OrderIncludesProduct ( string sku ) : bool

Method Details

AddLine() public méthode

public AddLine ( string sku, uint quantity ) : void
sku string
quantity uint
Résultat void

Create() public méthode

public Create ( System.Guid id ) : void
id System.Guid
Résultat void

PlaceOrder() public méthode

public PlaceOrder ( ) : void
Résultat void