Beispiel #1
0
        public RentPayment AddRent(int LeaseId, decimal ScheduledPaymentAmt, decimal ActualPaymentAmt, PaymentMethod PayMethod,
                                   DateTime PaymentDueDate, DateTime PaymentReceivedDate, decimal Balance, bool IsOnTime, string RentalForMonth,
                                   string RentalForYear, int InChargeTenantId, string Note, DateTime added, DateTime updated)
        {
            var rent = new RentPayment(LeaseId, ScheduledPaymentAmt, ActualPaymentAmt, PayMethod,
                                       PaymentDueDate, PaymentReceivedDate, Balance, IsOnTime, RentalForMonth,
                                       RentalForYear, InChargeTenantId, Note, DateTime.Now, DateTime.Now);

            return(rent);
        }
Beispiel #2
0
 public RentPayment UpdatePayment(RentPayment rent, bool onTime, decimal receivedAmnt, DateTime receivedDate, decimal balance, string note)
 {
     return(rent.Update(onTime, receivedAmnt, receivedDate, balance, note));
 }