Created
October 1, 2012 13:57
-
-
Save melkio/3811939 to your computer and use it in GitHub Desktop.
Order configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class OrderConfiguration | |
{ | |
public Guid UserId { get; private set; } | |
public Guid StoreId { get; private set; } | |
public DateTime DispatchDate { get; private set; } | |
public void ForThisUser(Guid userId) | |
{ | |
UserId = userId; | |
} | |
public void ManagingStockFromThisStore(Guid storeId) | |
{ | |
StoreId = storeId; | |
} | |
public void DispatchingOrderNotBefore(DateTime dispatchDate) | |
{ | |
DispatchDate = dispatchDate; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment