Esempio n. 1
0
        private TAmountInt CompoundPartialWithHealthFactor(decimal compoundBasis, decimal compoundFactor)
        {
            TAmountDec decimalResult = DecFactorResult(compoundBasis, compoundFactor);

            TAmountInt roundedResult = IntRoundUp(decimalResult);

            return(roundedResult);
        }
Esempio n. 2
0
        private TAmountInt EmployerPartialWithSocialFactor(decimal employerBasis, decimal employerFactor)
        {
            TAmountDec decimalResult = DecFactorResult(employerBasis, employerFactor);

            TAmountInt roundedResult = IntRoundUp(decimalResult);

            return(roundedResult);
        }
Esempio n. 3
0
        private TAmountInt EmployeePartialWithHealthFactor(decimal compoundBasis, decimal compoundFactor)
        {
            TAmountDec decimalResult = DecFactorResult(compoundBasis, compoundFactor);

            TAmountDec thirdedResult = OperationsDec.Divide(decimalResult, 3);

            TAmountInt roundedResult = IntRoundUp(thirdedResult);

            return(roundedResult);
        }
 public HealthGuidesBuilder(BundleVersion version,
                            TAmountInt basisMonthlyMinimum, TAmountDec basisAnnualMaximum, TAmountDec factorCompound,
                            TAmountDec incomeEmployMargin, TAmountDec incomeAgreemMargin) : base(version)
 {
     this._BasisMonthlyMinimum = basisMonthlyMinimum;
     this._BasisAnnualMaximum  = basisAnnualMaximum;
     this._FactorCompound      = factorCompound;
     this._IncomeEmployMargin  = incomeEmployMargin;
     this._IncomeAgreemMargin  = incomeAgreemMargin;
 }
Esempio n. 5
0
 public HealthGuides(Period period,
                     TAmountInt basisMonthlyMinimum, TAmountDec basisAnnualMaximum, TAmountDec factorCompound,
                     TAmountDec incomeEmployMargin, TAmountDec incomeAgreemMargin)
 {
     this.InternalPeriod        = period;
     this.__BasisMonthlyMinimum = basisMonthlyMinimum;
     this.__BasisAnnualMaximum  = basisAnnualMaximum;
     this.__FactorCompound      = factorCompound;
     this.__IncomeEmployMargin  = incomeEmployMargin;
     this.__IncomeAgreemMargin  = incomeAgreemMargin;
 }
 public SocialGuidesBuilder(BundleVersion version, TAmountInt basisMonthlyMinimum,
                            TAmountDec basisAnnualMaximum,
                            TAmountDec factorEmployer, TAmountDec factorEmployerHigher,
                            TAmountDec factorEmployee, TAmountDec factorEmployeeGarant,
                            TAmountDec factorReduceGarant,
                            TAmountDec incomeEmployMargin, TAmountDec incomeAgreemMargin) : base(version)
 {
     this._BasisMonthlyMinimum  = basisMonthlyMinimum;
     this._BasisAnnualMaximum   = basisAnnualMaximum;
     this._FactorEmployer       = factorEmployer;
     this._FactorEmployerHigher = factorEmployerHigher;
     this._FactorEmployee       = factorEmployee;
     this._FactorEmployeeGarant = factorEmployeeGarant;
     this._FactorReduceGarant   = factorReduceGarant;
     this._IncomeEmployMargin   = incomeEmployMargin;
     this._IncomeAgreemMargin   = incomeAgreemMargin;
 }
Esempio n. 7
0
 public SocialGuides(Period period, TAmountInt basisMonthlyMinimum,
                     TAmountDec basisAnnualMaximum,
                     TAmountDec factorEmployer, TAmountDec factorEmployerHigher,
                     TAmountDec factorEmployee, TAmountDec factorEmployeeGarant,
                     TAmountDec factorReduceGarant,
                     TAmountDec incomeEmployMargin, TAmountDec incomeAgreemMargin)
 {
     this.InternalPeriod         = period;
     this.__BasisMonthlyMinimum  = basisMonthlyMinimum;
     this.__BasisAnnualMaximum   = basisAnnualMaximum;
     this.__FactorEmployer       = factorEmployer;
     this.__FactorEmployerHigher = factorEmployerHigher;
     this.__FactorEmployee       = factorEmployee;
     this.__FactorEmployeeGarant = factorEmployeeGarant;
     this.__FactorReduceGarant   = factorReduceGarant;
     this.__IncomeEmployMargin   = incomeEmployMargin;
     this.__IncomeAgreemMargin   = incomeAgreemMargin;
 }
Esempio n. 8
0
 public TaxingGuides(Period period,
                     TAmountInt allowancePayer,
                     TAmountInt allowanceDisab1st, TAmountInt allowanceDisab2nd, TAmountInt allowanceDisab3rd,
                     TAmountInt allowanceStudy,
                     TAmountInt allowanceChild1st, TAmountInt allowanceChild2nd, TAmountInt allowanceChild3rd,
                     TAmountDec factorAdvances, TAmountDec factorWithhold, TAmountDec factorSolidary,
                     TAmountInt minValidAmountOfTaxBonus, TAmountInt maxValidAmountOfTaxBonus,
                     TAmountInt minValidIncomeOfTaxBonus, TAmountInt maxValidIncomeOfRounding,
                     TAmountInt maxTaskAgrIncomeWithhold, TAmountInt maxLoLevelIncomeWithhold, TaxingPartnerIncome taxPartnerIncomeWithhold,
                     TAmountInt maxHealthAnnualBasisAdvance, TAmountInt maxSocialAnnualBasisAdvance,
                     TAmountInt maxHealthAnnualBasisWithhold, TAmountInt maxSocialAnnualBasisWithhold,
                     TAmountInt minValidIncomeOfSolidary)
 {
     this.InternalPeriod                 = period;
     this.__AllowancePayer               = allowancePayer;
     this.__AllowanceDisab1st            = allowanceDisab1st;
     this.__AllowanceDisab2nd            = allowanceDisab2nd;
     this.__AllowanceDisab3rd            = allowanceDisab3rd;
     this.__AllowanceStudy               = allowanceStudy;
     this.__AllowanceChild1st            = allowanceChild1st;
     this.__AllowanceChild2nd            = allowanceChild2nd;
     this.__AllowanceChild3rd            = allowanceChild3rd;
     this.__FactorAdvances               = factorAdvances;
     this.__FactorWithhold               = factorWithhold;
     this.__FactorSolidary               = factorSolidary;
     this.__MinValidAmountOfTaxBonus     = minValidAmountOfTaxBonus;
     this.__MaxValidAmountOfTaxBonus     = maxValidAmountOfTaxBonus;
     this.__MinValidIncomeOfTaxBonus     = minValidIncomeOfTaxBonus;
     this.__MaxValidIncomeOfRounding     = maxValidIncomeOfRounding;
     this.__MaxTaskAgrIncomeWithhold     = maxTaskAgrIncomeWithhold;
     this.__MaxLoLevelIncomeWithhold     = maxLoLevelIncomeWithhold;
     this.__TaxPartnerIncomeWithhold     = taxPartnerIncomeWithhold;
     this.__MaxHealthAnnualBasisAdvance  = maxHealthAnnualBasisAdvance;
     this.__MaxSocialAnnualBasisAdvance  = maxSocialAnnualBasisAdvance;
     this.__MaxHealthAnnualBasisWithhold = maxHealthAnnualBasisWithhold;
     this.__MaxSocialAnnualBasisWithhold = maxSocialAnnualBasisWithhold;
     this.__MinValidIncomeOfSolidary     = minValidIncomeOfSolidary;
 }