Exemple #1
0
 public static Offer ForPriceAndAgent(string productCode, DateTime policyFrom, DateTime policyTo, PolicyHolder policyHolder, Price price, string agent) =>
 new Offer(productCode, policyFrom, policyTo, policyHolder, price, agent);
Exemple #2
0
 public static PolicyVersion FromOffer(Policy policy, int version, PolicyHolder policyHolder, Offer offer) => new PolicyVersion(policy, version, policyHolder, offer);
Exemple #3
0
 public static Offer ForPrice(string productCode, DateTime policyFrom, DateTime policyTo, PolicyHolder policyHolder, Price price) =>
 new Offer(productCode, policyFrom, policyTo, policyHolder, price, null);