Esempio n. 1
0
        public RetentionDetails(int retentionId, IDate releasedDate, Date endOfMonth, decimal nonFactored, decimal factored, RetentionInfo retentionInfo, RetentionDeductable retentionDeductable, decimal nonFactoredReceipts, TransactionsAfterEndOfMonth transactionsAfterEndOfMonth, RetentionSummary retentionSummary, ChargeCollection charges, OverdueFee overdueFee, string status, Int16 hold, int clientFacilityType)
        {
            ArgumentChecker.ThrowIfNull(releasedDate, "releasedDate");
            ArgumentChecker.ThrowIfNull(endOfMonth, "endOfMonth");
            ArgumentChecker.ThrowIfNull(retentionInfo, "retentionInfo");
            ArgumentChecker.ThrowIfNull(retentionDeductable, "deductable");
            ArgumentChecker.ThrowIfNull(transactionsAfterEndOfMonth, "transactionsAfterEndOfMonth");
            ArgumentChecker.ThrowIfNull(retentionSummary, "retentionSummary");
            ArgumentChecker.ThrowIfNull(charges, "charges");
            ArgumentChecker.ThrowIfNull(overdueFee, "overdueFee");
            ArgumentChecker.ThrowIfNullOrEmpty(status, "status");

            this.retentionId                 = retentionId;
            this.releasedDate                = releasedDate;
            this.endOfMonth                  = endOfMonth;
            this.nonFactored                 = nonFactored;
            this.factored                    = factored;
            this.retentionInfo               = retentionInfo;
            this.retentionDeductable         = retentionDeductable;
            this.nonFactoredReceipts         = nonFactoredReceipts;
            this.transactionsAfterEndOfMonth = transactionsAfterEndOfMonth;
            this.retentionSummary            = retentionSummary;
            this.charges             = charges;
            this.overdueFee          = overdueFee;
            this.status              = status;
            this._hold               = hold;
            this._clientFacilityType = clientFacilityType;
        }
Esempio n. 2
0
 public BatchScheduleFinanceInfo(decimal factored, decimal nonFactored, decimal adminFee, decimal adminFeeGST,
                                 decimal factorFee, decimal retention, decimal repurchase, decimal credit,
                                 decimal post, decimal postGST, decimal checkConfirm, decimal totalInvoice,
                                 ChargeCollection charges, int facilityType, decimal nonCompliantFee, decimal retnPercent)
 {
     this.factored        = factored;
     this.nonFactored     = nonFactored;
     this.adminFee        = adminFee;
     this.adminFeeGST     = adminFeeGST;
     this.factorFee       = factorFee;
     this.retention       = retention;
     this.repurchase      = repurchase;
     this.credit          = credit;
     this.post            = post;
     this.postGST         = postGST;
     this.checkConfirm    = checkConfirm;
     this.totalInvoice    = totalInvoice;
     this.charges         = charges;
     this.facilityType    = facilityType;
     this.nonCompliantFee = nonCompliantFee;
     this.retnPercent     = retnPercent;
 }