All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.deepdreams.worker.deduction.TCSServicev2022Impl Maven / Gradle / Ivy

There is a newer version: 0.1.1-RELEASE
Show newest version
package tech.deepdreams.worker.deduction;
import java.util.Map;
import tech.deepdreams.worker.api.services.DeductionService;
import tech.deepdreams.worker.api.enums.CountryCode;
import tech.deepdreams.worker.constants.ElementCode;
import tech.deepdreams.worker.constants.LocalConstantCode;

public class TCSServicev2022Impl implements DeductionService{

	
	
	public Double calculateEmployee(Map params) {
		return 0.0 ;
	}
	
	
	public Double calculateEmployer(Map params) {
		Double grossSalary = (Double) params.get(LocalConstantCode.CODE_GROSS_SALARY) ;
		Double benefitsInKindAmount = (Double) params.get(LocalConstantCode.CODE_BENEFITS_IN_KIND) ;
		
		return 0.02 * (grossSalary + benefitsInKindAmount) ;
	}
	
	
	public CountryCode country() {
		return CountryCode.GAB ;
	}
	
	
	public String code() {
		return ElementCode.CODE_TAXE_COMPLEMENTAIRE ;
	}
	
	
	public int version() {
		return 2022 ;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy