示例#1
0
        private readonly Date notifydate;               //MSarza [20150820]

        public CffCustomerInformation(CffCustomer customer, short stopCredit, decimal creditLimit, Date listDate, Date nextCall,
                                      short customerNoCalls, IDate lastPaid, decimal lastAmount, ClientCustomerTerm clientCustomerTerm, AgeingBalances ageingBalances)
        {
            this.customer           = customer;
            this.stopCredit         = stopCredit;
            this.creditLimit        = creditLimit;
            this.listDate           = listDate;
            NextCall                = nextCall;
            noCalls                 = customerNoCalls;
            this.lastPaid           = lastPaid;
            this.lastAmount         = lastAmount;
            this.clientCustomerTerm = clientCustomerTerm;
            this.ageingBalances     = ageingBalances;
        }
 public CffCustomerInformation Build(CffCustomer customer, IDate lastPaid, decimal lastAmount, 
     ClientCustomerTerm clientCustomerTerm, AgeingBalances ageingBalances)
 {
     return new CffCustomerInformation(customer,
                                       reader.ToSmallInteger("StopCredit"),
                                       reader.ToDecimal("CreditLimit"),
                                       reader.ToDate("Created"),
                                       reader.ToDate("NextCall"),
                                       reader.ToSmallInteger("customerNoCalls"),
                                       lastPaid, lastAmount,
                                       clientCustomerTerm, ageingBalances,
                                       reader.ToString("Address1"),
                                       reader.ToString("Address2"),
                                       reader.ToString("Address3"),
                                       reader.ToString("Address4"),
                                       reader.ToString("EmailStatmentsAddr"),
                                       reader.ToDate("NotifyDate")
                                       );
 }
示例#3
0
 public CffCustomerInformation(CffCustomer customer, short stopCredit, decimal creditLimit, Date listDate, Date nextCall,
                               short customerNoCalls, IDate lastPaid, decimal lastAmount, ClientCustomerTerm clientCustomerTerm, AgeingBalances ageingBalances,
                               string addr1, string addr2, string addr3, string addr4, string emailStatmentsAddr, Date notifydate)
 {
     this.customer           = customer;
     this.stopCredit         = stopCredit;
     this.creditLimit        = creditLimit;
     this.listDate           = listDate;
     NextCall                = nextCall;
     noCalls                 = customerNoCalls;
     this.lastPaid           = lastPaid;
     this.lastAmount         = lastAmount;
     this.clientCustomerTerm = clientCustomerTerm;
     this.ageingBalances     = ageingBalances;
     this.address1           = addr1;
     this.address2           = addr2;
     this.address3           = addr3;
     this.address4           = addr4;
     this.emailStatmentsAddr = emailStatmentsAddr;
     this.notifydate         = notifydate;               //MSarza [20150820]
 }