3
3
from typing import List , Optional
4
4
from typing_extensions import Literal
5
5
6
- from ... types import money
6
+ from ..money import Money
7
7
from ..._models import BaseModel
8
- from ... types . hris import benefit_type
8
+ from .benefit_type import BenefitType
9
9
10
10
__all__ = ["PayStatement" , "Earning" , "EmployeeDeduction" , "EmployerContribution" , "Tax" ]
11
11
@@ -60,7 +60,7 @@ class EmployeeDeduction(BaseModel):
60
60
pre_tax : Optional [bool ]
61
61
"""Boolean indicating if the deduction is pre-tax."""
62
62
63
- type : Optional [benefit_type . BenefitType ]
63
+ type : Optional [BenefitType ]
64
64
"""Type of benefit."""
65
65
66
66
@@ -74,7 +74,7 @@ class EmployerContribution(BaseModel):
74
74
name : Optional [str ]
75
75
"""The contribution name from the pay statement."""
76
76
77
- type : Optional [benefit_type . BenefitType ]
77
+ type : Optional [BenefitType ]
78
78
"""Type of benefit."""
79
79
80
80
@@ -104,12 +104,12 @@ class PayStatement(BaseModel):
104
104
105
105
employer_contributions : Optional [List [Optional [EmployerContribution ]]]
106
106
107
- gross_pay : Optional [money . Money ]
107
+ gross_pay : Optional [Money ]
108
108
109
109
individual_id : Optional [str ]
110
110
"""A stable Finch `id` (UUID v4) for an individual in the company"""
111
111
112
- net_pay : Optional [money . Money ]
112
+ net_pay : Optional [Money ]
113
113
114
114
payment_method : Optional [Literal ["check" , "direct_deposit" ]]
115
115
"""The payment method."""
0 commit comments