public CreateDebtDTO(
     int customerId,
     string description,
     double originalValue,
     DateTime dueDate,
     int parcelsQty,
     InterestTypesEnum interestType,
     InterestIntervalsEnum interestInterval,
     double interestPercentage,
     double negotiatorComissionPercentage
     )
 {
     this.CustomerId                    = customerId;
     this.Description                   = description;
     this.OriginalValue                 = originalValue;
     this.DueDate                       = dueDate;
     this.ParcelsQty                    = parcelsQty;
     this.InterestType                  = interestType;
     this.InterestInterval              = interestInterval;
     this.InterestPercentage            = interestPercentage;
     this.NegotiatorComissionPercentage = negotiatorComissionPercentage;
 }
Beispiel #2
0
 public Debt(int id, int customerId, User customer, int negotiatorId, string description, double originalValue, double recalculatedValue, DateTime dueDate, DateTime interestCalcDate, int parcelsQty, InterestTypesEnum interestType, InterestIntervalsEnum interestInterval, double interestPercentage, double negotiatorComissionPercentage)
 {
     this.Id                            = id;
     this.CustomerId                    = customerId;
     this.NegotiatorId                  = negotiatorId;
     this.Description                   = description;
     this.OriginalValue                 = originalValue;
     this.RecalculatedValue             = recalculatedValue;
     this.DueDate                       = dueDate;
     this.InterestCalcDate              = interestCalcDate;
     this.ParcelsQty                    = parcelsQty;
     this.InterestType                  = interestType;
     this.InterestInterval              = interestInterval;
     this.InterestPercentage            = interestPercentage;
     this.NegotiatorComissionPercentage = negotiatorComissionPercentage;
     this.Paid                          = false;
 }