Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c0dacb8d26f5b7c5d68ef88b3f51d40c1eafeab7
81705b6e2e2e36de0b5623b221a049819f52a023
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2124
v2125
20 changes: 20 additions & 0 deletions stripe/params/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1485,6 +1485,8 @@
InvoiceCreatePreviewParamsScheduleDetailsAmendmentAmendmentStart as InvoiceCreatePreviewParamsScheduleDetailsAmendmentAmendmentStart,
InvoiceCreatePreviewParamsScheduleDetailsAmendmentAmendmentStartAmendmentEnd as InvoiceCreatePreviewParamsScheduleDetailsAmendmentAmendmentStartAmendmentEnd,
InvoiceCreatePreviewParamsScheduleDetailsAmendmentAmendmentStartDiscountEnd as InvoiceCreatePreviewParamsScheduleDetailsAmendmentAmendmentStartDiscountEnd,
InvoiceCreatePreviewParamsScheduleDetailsAmendmentBillingSchedulesAction as InvoiceCreatePreviewParamsScheduleDetailsAmendmentBillingSchedulesAction,
InvoiceCreatePreviewParamsScheduleDetailsAmendmentBillingSchedulesActionAppliesTo as InvoiceCreatePreviewParamsScheduleDetailsAmendmentBillingSchedulesActionAppliesTo,
InvoiceCreatePreviewParamsScheduleDetailsAmendmentDiscountAction as InvoiceCreatePreviewParamsScheduleDetailsAmendmentDiscountAction,
InvoiceCreatePreviewParamsScheduleDetailsAmendmentDiscountActionAdd as InvoiceCreatePreviewParamsScheduleDetailsAmendmentDiscountActionAdd,
InvoiceCreatePreviewParamsScheduleDetailsAmendmentDiscountActionAddDiscountEnd as InvoiceCreatePreviewParamsScheduleDetailsAmendmentDiscountActionAddDiscountEnd,
Expand Down Expand Up @@ -5212,6 +5214,8 @@
SubscriptionScheduleAmendParamsAmendmentAmendmentStart as SubscriptionScheduleAmendParamsAmendmentAmendmentStart,
SubscriptionScheduleAmendParamsAmendmentAmendmentStartAmendmentEnd as SubscriptionScheduleAmendParamsAmendmentAmendmentStartAmendmentEnd,
SubscriptionScheduleAmendParamsAmendmentAmendmentStartDiscountEnd as SubscriptionScheduleAmendParamsAmendmentAmendmentStartDiscountEnd,
SubscriptionScheduleAmendParamsAmendmentBillingSchedulesAction as SubscriptionScheduleAmendParamsAmendmentBillingSchedulesAction,
SubscriptionScheduleAmendParamsAmendmentBillingSchedulesActionAppliesTo as SubscriptionScheduleAmendParamsAmendmentBillingSchedulesActionAppliesTo,
SubscriptionScheduleAmendParamsAmendmentDiscountAction as SubscriptionScheduleAmendParamsAmendmentDiscountAction,
SubscriptionScheduleAmendParamsAmendmentDiscountActionAdd as SubscriptionScheduleAmendParamsAmendmentDiscountActionAdd,
SubscriptionScheduleAmendParamsAmendmentDiscountActionAddDiscountEnd as SubscriptionScheduleAmendParamsAmendmentDiscountActionAddDiscountEnd,
Expand Down Expand Up @@ -9898,6 +9902,14 @@
"stripe.params._invoice_create_preview_params",
False,
),
"InvoiceCreatePreviewParamsScheduleDetailsAmendmentBillingSchedulesAction": (
"stripe.params._invoice_create_preview_params",
False,
),
"InvoiceCreatePreviewParamsScheduleDetailsAmendmentBillingSchedulesActionAppliesTo": (
"stripe.params._invoice_create_preview_params",
False,
),
"InvoiceCreatePreviewParamsScheduleDetailsAmendmentDiscountAction": (
"stripe.params._invoice_create_preview_params",
False,
Expand Down Expand Up @@ -22820,6 +22832,14 @@
"stripe.params._subscription_schedule_amend_params",
False,
),
"SubscriptionScheduleAmendParamsAmendmentBillingSchedulesAction": (
"stripe.params._subscription_schedule_amend_params",
False,
),
"SubscriptionScheduleAmendParamsAmendmentBillingSchedulesActionAppliesTo": (
"stripe.params._subscription_schedule_amend_params",
False,
),
"SubscriptionScheduleAmendParamsAmendmentDiscountAction": (
"stripe.params._subscription_schedule_amend_params",
False,
Expand Down
38 changes: 38 additions & 0 deletions stripe/params/_invoice_create_preview_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,14 @@ class InvoiceCreatePreviewParamsScheduleDetailsAmendment(TypedDict):
"""
Settings related to subscription trials.
"""
billing_schedules_actions: NotRequired[
List[
"InvoiceCreatePreviewParamsScheduleDetailsAmendmentBillingSchedulesAction"
]
]
"""
Actions to apply to the billing schedules.
"""


class InvoiceCreatePreviewParamsScheduleDetailsAmendmentAmendmentEnd(
Expand Down Expand Up @@ -1156,6 +1164,36 @@ class InvoiceCreatePreviewParamsScheduleDetailsAmendmentTrialSettingsEndBehavior
"""


class InvoiceCreatePreviewParamsScheduleDetailsAmendmentBillingSchedulesAction(
TypedDict,
):
applies_to: NotRequired[
List[
"InvoiceCreatePreviewParamsScheduleDetailsAmendmentBillingSchedulesActionAppliesTo"
]
]
"""
Specify which subscription items the billing schedule applies to.
"""
type: Literal["remove", "set"]
"""
Select the action.
"""


class InvoiceCreatePreviewParamsScheduleDetailsAmendmentBillingSchedulesActionAppliesTo(
TypedDict,
):
price: NotRequired[str]
"""
The ID of the price object.
"""
type: Literal["price"]
"""
Controls which subscription items the billing schedule applies to.
"""


class InvoiceCreatePreviewParamsScheduleDetailsBillingMode(TypedDict):
flexible: NotRequired[
"InvoiceCreatePreviewParamsScheduleDetailsBillingModeFlexible"
Expand Down
36 changes: 36 additions & 0 deletions stripe/params/_subscription_schedule_amend_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ class SubscriptionScheduleAmendParamsAmendment(TypedDict):
"""
Settings related to subscription trials.
"""
billing_schedules_actions: NotRequired[
List["SubscriptionScheduleAmendParamsAmendmentBillingSchedulesAction"]
]
"""
Actions to apply to the billing schedules.
"""


class SubscriptionScheduleAmendParamsAmendmentAmendmentEnd(TypedDict):
Expand Down Expand Up @@ -557,6 +563,36 @@ class SubscriptionScheduleAmendParamsAmendmentTrialSettingsEndBehavior(
"""


class SubscriptionScheduleAmendParamsAmendmentBillingSchedulesAction(
TypedDict
):
applies_to: NotRequired[
List[
"SubscriptionScheduleAmendParamsAmendmentBillingSchedulesActionAppliesTo"
]
]
"""
Specify which subscription items the billing schedule applies to.
"""
type: Literal["remove", "set"]
"""
Select the action.
"""


class SubscriptionScheduleAmendParamsAmendmentBillingSchedulesActionAppliesTo(
TypedDict,
):
price: NotRequired[str]
"""
The ID of the price object.
"""
type: Literal["price"]
"""
Controls which subscription items the billing schedule applies to.
"""


class SubscriptionScheduleAmendParamsPrebilling(TypedDict):
bill_from: NotRequired["SubscriptionScheduleAmendParamsPrebillingBillFrom"]
"""
Expand Down
Loading