Example #1
0
 public Company(CompanyIdentifier identifier, Money balance, PersonIdentifier bigBoss)
 {
     Identifier = identifier;
     Balance    = balance;
     BigBoss    = bigBoss;
 }
 public TriggerOrder(string description, CompanyIdentifier companyIdentifier, Currency currency)
 {
     Description = description;
     Triggers    = new List <Trigger>();
     Billing     = new Billing(Money.Zero(currency), companyIdentifier);
 }
 public TriggerOrder(string description, CompanyIdentifier companyIdentifier, Currency currency)
 {
     Description   = description;
     Triggers      = ImmutableList.Create <Trigger>();
     ScheduledDate = DateTime.UtcNow + TimeSpan.FromSeconds(5);
 }