Skip to content

Commit

Permalink
feat(fees): regroup_paid_fees and delete fee endpoint (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienbourdeau authored Jul 18, 2024
1 parent 2dc33b0 commit 83fd526
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lago_python_client/fees/clients.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
from typing import ClassVar, Type

from ..base_client import BaseClient
from ..mixins import FindCommandMixin, FindAllCommandMixin, UpdateCommandMixin
from ..mixins import FindCommandMixin, FindAllCommandMixin, UpdateCommandMixin, DestroyCommandMixin
from ..models.fee import FeeResponse


class FeeClient(
FindCommandMixin[FeeResponse],
FindAllCommandMixin[FeeResponse],
UpdateCommandMixin[FeeResponse],
DestroyCommandMixin[FeeResponse],
BaseClient,
):
API_RESOURCE: ClassVar[str] = 'fees'
Expand Down
2 changes: 2 additions & 0 deletions lago_python_client/models/charge.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Charge(BaseModel):
pay_in_advance: Optional[bool]
prorated: Optional[bool]
invoiceable: Optional[bool]
regroup_paid_fees: Optional[str]
invoice_display_name: Optional[str]
min_amount_cents: Optional[int]
properties: Optional[Dict[str, Any]]
Expand All @@ -42,6 +43,7 @@ class ChargeResponse(BaseResponseModel):
pay_in_advance: Optional[bool]
prorated: Optional[bool]
invoiceable: Optional[bool]
regroup_paid_fees: Optional[str]
invoice_display_name: Optional[str]
min_amount_cents: Optional[int]
properties: Optional[Dict[str, Any]]
Expand Down

0 comments on commit 83fd526

Please sign in to comment.