Skip to content

Commit

Permalink
Merge pull request #505 from websideproject/dev
Browse files Browse the repository at this point in the history
Allow discount code to be null
  • Loading branch information
bgervan authored Nov 4, 2024
2 parents adff373 + 3d715fc commit 6ed13a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle_billing_client/models/discount.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class DiscountBase(BaseModel):
description: str
type: Literal["flat", "flat_per_seat", "percentage"]
enabled_for_checkout: bool
code: str
code: str | None = None
currency_code: str | None = None
recur: bool
maximum_recurring_intervals: int | None = None
Expand Down

0 comments on commit 6ed13a3

Please sign in to comment.