Skip to content

support new attributes in fee response#388

Open
lovrocolic wants to merge 1 commit intomainfrom
fees-add-attributes
Open

support new attributes in fee response#388
lovrocolic wants to merge 1 commit intomainfrom
fees-add-attributes

Conversation

@lovrocolic
Copy link
Copy Markdown
Collaborator

@lovrocolic lovrocolic commented Apr 8, 2026

Context

sub_total_excluding_taxes_amount_cents and sub_total_excluding_taxes_precise_amount_cents are added in the fee response.

Description

This PR supports those two recently added attributes.

total_amount_cents: Optional[int]
unit_amount_cents: Optional[int] # deprecated
precise_unit_amount: Optional[str]
sub_total_excluding_taxes_amount_cents: Optional[int]
Copy link
Copy Markdown
Contributor

@D1353L D1353L Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see a pattern here that all fields are Optional, but it may be worth revising. Because it's not consistent with other models

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants