Skip to content

Commit 572e86c

Browse files
Merge pull request #1794 from stripe/latest-codegen-private-preview
Update generated code for private-preview
2 parents f5c3816 + a5406ad commit 572e86c

4 files changed

Lines changed: 34 additions & 1 deletion

File tree

CODEGEN_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4cd98860940da75ae8dfe7384cea405859800e9c
1+
a527d1f955ea1eab1b7ccdb63001a69d1786fc37

stripe/v2/billing/_license_fee.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ class TransformQuantity(StripeObject):
8585
"""
8686
Unique identifier for the object.
8787
"""
88+
latest_version: str
89+
"""
90+
The ID of the license fee's most recently created version.
91+
"""
8892
licensed_item: "LicensedItem"
8993
"""
9094
A Licensed Item represents a billable item whose pricing is based on license fees. You can use license fees
@@ -114,6 +118,15 @@ class TransformQuantity(StripeObject):
114118
"""
115119
The service cycle configuration for this License Fee.
116120
"""
121+
service_interval: Literal["day", "month", "week", "year"]
122+
"""
123+
The interval for assessing service.
124+
"""
125+
service_interval_count: int
126+
"""
127+
The length of the interval for assessing service. For example, set this to 3 and `service_interval` to `"month"` in
128+
order to specify quarterly service.
129+
"""
117130
tax_behavior: Literal["exclusive", "inclusive"]
118131
"""
119132
The Stripe Tax tax behavior - whether the license fee is inclusive or exclusive of tax.

stripe/v2/billing/_pricing_plan.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ class PricingPlan(StripeObject):
4040
"""
4141
Unique identifier for the object.
4242
"""
43+
latest_version: str
44+
"""
45+
The ID of the latest version of the PricingPlan.
46+
"""
4347
live_version: Optional[str]
4448
"""
4549
The ID of the live version of the PricingPlan.

stripe/v2/billing/_rate_card.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ class ServiceCycle(StripeObject):
4949
"""
5050
Unique identifier for the object.
5151
"""
52+
latest_version: str
53+
"""
54+
The ID of this rate card's most recently created version.
55+
"""
5256
live_version: str
5357
"""
5458
The ID of the Rate Card Version that will be used by all subscriptions when no specific version is specified.
@@ -76,6 +80,18 @@ class ServiceCycle(StripeObject):
7680
This is similar to but distinct from billing interval; the service interval deals with the rate at which the
7781
customer accumulates fees, while the billing interval in Cadence deals with the rate the customer is billed.
7882
"""
83+
service_interval: Literal["day", "month", "week", "year"]
84+
"""
85+
The interval for assessing service. For example, a monthly Rate Card with a rate of $1 for the first 10 "workloads"
86+
and $2 thereafter means "$1 per workload up to 10 workloads during a month of service." This is similar to but
87+
distinct from billing interval; the service interval deals with the rate at which the customer accumulates fees,
88+
while the billing interval in Cadence deals with the rate the customer is billed.
89+
"""
90+
service_interval_count: int
91+
"""
92+
The length of the interval for assessing service. For example, set this to 3 and `service_interval` to `"month"` in
93+
order to specify quarterly service.
94+
"""
7995
tax_behavior: Literal["exclusive", "inclusive"]
8096
"""
8197
The Stripe Tax tax behavior - whether the rates are inclusive or exclusive of tax.

0 commit comments

Comments
 (0)