File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 2828 'unknown'
2929]
3030
31+
3132PaymentTypesLiterals = Literal [
3233 'standard' ,
3334 'clearing'
3435]
3536
3637
38+ PaymentFeeTypesLiterals = Literal [
39+ 'total' ,
40+ 'markup'
41+ ]
42+
43+
44+ class PaymentFee (TypedDict ):
45+ type : PaymentFeeTypesLiterals
46+ amount : int
47+
48+
3749class Payment (TypedDict ):
3850 id : str
3951 reversal_id : Optional [str ]
@@ -48,6 +60,9 @@ class Payment(TypedDict):
4860 error : Optional [ResourceError ]
4961 metadata : Optional [Dict [str , Any ]]
5062 estimated_completion_date : Optional [str ]
63+ source_settlement_date : Optional [str ]
64+ destination_settlement_date : Optional [str ]
65+ fee : Optional [PaymentFee ]
5166 type : PaymentTypesLiterals
5267 created_at : str
5368 updated_at : str
@@ -59,6 +74,7 @@ class PaymentCreateOpts(TypedDict):
5974 destination : str
6075 description : str
6176 metadata : Optional [Dict [str , Any ]]
77+ fee : Optional [PaymentFee ]
6278
6379
6480class PaymentListOpts (TypedDict ):
Original file line number Diff line number Diff line change 22
33setup (
44 name = 'method-python' ,
5- version = '0.0.19 ' ,
5+ version = '0.0.20 ' ,
66 description = 'Python library for the Method API' ,
77 author = 'Marco del Carmen' ,
88 author_email = 'marco@mdelcarmen.me' ,
You can’t perform that action at this time.
0 commit comments