-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e0fe4b
commit a713cb5
Showing
3 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
20 changes: 17 additions & 3 deletions
20
flux_sdk/benefits_administration/capabilities/process_employees_deductions/data_models.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,25 @@ | ||
from typing import Optional | ||
from decimal import Decimal | ||
from datetime import datetime | ||
|
||
from enum import Enum | ||
|
||
class DeductionDetails: | ||
companyId: str | ||
employeeId: str | ||
deductionCode: str | ||
effectiveFrom: datetime | ||
endDate: datetime | ||
totalContribution: Optional[Decimal] | ||
employeeContribution: Optional[Decimal] | ||
domesticPartnerPostTax: Optional[Decimal] | ||
imputedIncome: Optional[Decimal] | ||
companyContribution: Optional[Decimal] | ||
|
||
class DeductionCodeField(Enum): | ||
EMPLOYEE_CONTRIBUTION = "EMPLOYEE_CONTRIBUTION" | ||
COMPANY_CONTRIBUTION = "COMPANY_CONTRIBUTION" | ||
|
||
class ExternalDeductionCodeToRipplingCode: | ||
externalCode: str | ||
ripplingCode: str | ||
ripplingDeductionField: DeductionCodeField | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters