public Tariff( string name, PaymentType paymentType, string publicId = null) { Name = name; PaymentType = paymentType; TestPeriod = TariffTestPeriod.Empty(); PublicId = String.IsNullOrEmpty(publicId) ? Guid.NewGuid().ToString() : publicId; AccountingName = name; }
public void SetTestPeriod(TariffTestPeriod testPeriod) { TestPeriod = testPeriod; }
public void AddTestPeriod(TariffTestPeriod testPeriod) { TestPeriod = testPeriod; }