Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public void SetTestPeriod(TariffTestPeriod testPeriod)
 {
     TestPeriod = testPeriod;
 }
Esempio n. 3
0
 public void AddTestPeriod(TariffTestPeriod testPeriod)
 {
     TestPeriod = testPeriod;
 }