Skip to content

Commit 5e543c7

Browse files
authored
adds sub_type for presonal loan and credit cards (#30)
1 parent 1cdd303 commit 5e543c7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

method/resources/Account.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ class AccountLiabilityLoan(TypedDict):
158158

159159

160160
class AccountLiabilityCreditCard(AccountLiabilityLoan):
161+
sub_type: Optional[Literal['flexible_spending', 'charge', 'secured', 'unsecured', 'purchase', 'business']]
161162
last_statement_balance: Optional[int]
162163
remaining_statement_balance: Optional[int]
163164
available_credit: Optional[int]
@@ -265,6 +266,7 @@ class AccountLiabilityMortgage(AccountLiabilityLoan):
265266

266267

267268
class AccountLiabilityPersonalLoan(AccountLiabilityLoan):
269+
sub_type: Optional[Literal['line_of_credit', 'heloc', 'secured', 'unsecured', 'note']]
268270
expected_payoff_date: Optional[str]
269271
available_credit: Optional[int]
270272
principal_balance: Optional[int]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='method-python',
5-
version='0.0.39',
5+
version='0.0.40',
66
description='Python library for the Method API',
77
long_description='Python library for the Method API',
88
long_description_content_type='text/x-rst',

0 commit comments

Comments
 (0)