示例#1
0
 public void AddPaymentItem(PaymentItem item)
 {
     if (Installments.Count() <= 0 && PayInSlips.Count() <= 0)
     {
         PaymentItems.Add(item);
     }
 }
示例#2
0
 public void AddPaymentItem(int serviceCode, string serviceName, int quantity, decimal unitAmount, decimal taxOrVat,
                            decimal withHoldingTax, bool isRevenue, bool isLegalPerson, string itemDescription)
 {
     if (Installments.Count() <= 0 && PayInSlips.Count() <= 0)
     {
         PaymentItems.Add(new PaymentItem(
                              //serviceCode,
                              //serviceName,
                              quantity,
                              unitAmount,
                              taxOrVat,
                              withHoldingTax,
                              isRevenue,
                              isLegalPerson,
                              itemDescription));
     }
 }