예제 #1
0
 internal InstalmentDetail(PhysicalOrder owner, OrderInstalmentData data)
     : base("InstalmentDetail", 10)
 {
     this.CreateBusinessItems(owner.Id, data.Sequence, data.Principal, data.Interest, data.DebitInterest, data.PaymentDateTimeOnPlan, data.InterestRate, data.PaidDateTime, data.UpdateTime, data.LotBalance, data.UpdatePersonId);
     this.Initialize(owner.AccountId, owner.Instrument().Id);
 }
예제 #2
0
 internal InstalmentDetail(PhysicalOrder owner, int period, decimal principal, decimal interest, decimal debitInterest, DateTime?paymentDateTimeOnPlan, DateTime?paidDateTime)
     : base("InstalmentDetail", 10)
 {
     this.CreateBusinessItems(owner.Id, period, principal, interest, debitInterest, paymentDateTimeOnPlan, owner.Instalment.InstalmentPolicyDetail(null).InterestRate, paidDateTime, null, owner.LotBalance, null);
     this.Initialize(owner.AccountId, owner.Instrument().Id);
 }