Skip to content

Commit

Permalink
feat(default-currency): Add organization default currency
Browse files Browse the repository at this point in the history
  • Loading branch information
ivannovosad committed Nov 3, 2023
1 parent 36670b4 commit 36f496d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lago_python_client/models/organization.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class Organization(BaseModel):
webhook_url: Optional[str]
webhook_urls: Optional[List[str]]
country: Optional[str]
default_currency: str
address_line1: Optional[str]
address_line2: Optional[str]
state: Optional[str]
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/organization.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"webhook_url": "https://test-example.example",
"webhook_urls": ["https://test-example.example", "https://test-example2.example"],
"country": null,
"default_currency": "USD",
"address_line1": null,
"address_line2": null,
"state": null,
Expand Down
1 change: 1 addition & 0 deletions tests/test_organization_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def organization_object():
webhook_urls=["https://test-example.example", "https://test-example2.example"],
tax_identification_number='EU123456789',
net_payment_term=0,
default_currency='EUR',
billing_configuration=OrganizationBillingConfiguration(
invoice_footer='footer',
invoice_grace_period=3,
Expand Down

0 comments on commit 36f496d

Please sign in to comment.