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

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

The 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 CFPServicev2022Impl 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.005 * (grossSalary + benefitsInKindAmount) ;
	}
	
	
	public CountryCode country() {
		return CountryCode.GAB ;
	}
	
	
	public String code() {
		return ElementCode.CODE_CFP ;
	}
	
	
	public int version() {
		return 2022 ;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy