Exemplo n.º 1
0
 public void Deconstruct(out Code dproductCode
                         , out Name dproductName
                         , out decimal dqty
                         , out decimal damount
                         , out decimal dtaxpercent
                         , out decimal ddiscountValue
                         , out BillInvoiceHeader dbillInvoiceHeader)
 {
     dproductCode       = ProductCode;
     dproductName       = ProductName;
     ddiscountValue     = DiscountValue;
     dqty               = Qty;
     damount            = Amount;
     dtaxpercent        = TaxPercent;
     dbillInvoiceHeader = BillInvoiceHeader;
 }
Exemplo n.º 2
0
 public BillInvoiceDetail(Code productCode
                          , Name productName
                          , decimal amount
                          , decimal qty
                          , decimal discountValue
                          , decimal taxPercent
                          , BillInvoiceHeader billInvoiceHeader)
 {
     ProductCode       = productCode;
     ProductName       = productName;
     Amount            = amount;
     Qty               = qty;
     DiscountValue     = discountValue;
     TaxPercent        = taxPercent;
     BillInvoiceHeader = billInvoiceHeader;
 }