Exemple #1
0
 public Charge(string shortDesc, string longDesc, string officialId, string nemotecnico, string chargeCode, bool isActive, double price, ChargeType chargeType)
     : base(shortDesc, longDesc, officialId, nemotecnico, isActive)
 {
     Price      = price;
     ChargeCode = chargeCode;
     ChargeType = chargeType;
 }
 internal static ChargeType SincronizeObject(ChargeType currentObject, ChargeType newObject)
 {
     currentObject.ChargeTypeCode = newObject.ChargeTypeCode;
     currentObject.VatRate        = newObject.VatRate;
     currentObject.IsVATCharge    = newObject.IsVATCharge;
     currentObject.IsWaterConsume = newObject.IsWaterConsume;
     currentObject.IsBaseFare     = newObject.IsBaseFare;
     currentObject.Clone(currentObject);
     return(currentObject);
 }