public static PricingVerified Instance(Id proposalId, long price) { PricingVerified pricingVerified = new PricingVerified { OriginatorId = proposalId.Value, Price = price }; return(pricingVerified); }
private PricingAnalysis(Id pricedItemId, long price) { Apply(PricingVerified.Instance(pricedItemId, price)); }
public void When(PricingVerified pricingVerified) { this.Id = Id.FromExisting(pricingVerified.OriginatorId); this.Price = pricingVerified.Price; this.Verified = true; }