Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI Update #568

Merged
merged 1 commit into from
Dec 14, 2023
Merged
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
50 changes: 50 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -102976,6 +102976,22 @@
},
"type": "array"
},
"billing_behavior": {
"description": "Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time.`prorate_up_front` will bill for all phases within the current billing cycle up front.",
"enum": [
"prorate_on_next_phase",
"prorate_up_front"
],
"type": "string"
},
"end_behavior": {
"description": "Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running.`cancel` will end the subscription schedule and cancel the underlying subscription.",
"enum": [
"cancel",
"release"
],
"type": "string"
},
"phases": {
"description": "List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase.",
"items": {
Expand Down Expand Up @@ -103844,6 +103860,15 @@
}
],
"description": "Provide any time periods to bill in advance."
},
"proration_behavior": {
"description": "In cases where the `schedule_details` params update the currently active phase, specifies if and how to prorate at the time of the request.",
"enum": [
"always_invoice",
"create_prorations",
"none"
],
"type": "string"
}
},
"title": "schedule_details_params",
Expand Down Expand Up @@ -105778,6 +105803,22 @@
},
"type": "array"
},
"billing_behavior": {
"description": "Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time.`prorate_up_front` will bill for all phases within the current billing cycle up front.",
"enum": [
"prorate_on_next_phase",
"prorate_up_front"
],
"type": "string"
},
"end_behavior": {
"description": "Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running.`cancel` will end the subscription schedule and cancel the underlying subscription.",
"enum": [
"cancel",
"release"
],
"type": "string"
},
"phases": {
"description": "List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase.",
"items": {
Expand Down Expand Up @@ -106646,6 +106687,15 @@
}
],
"description": "Provide any time periods to bill in advance."
},
"proration_behavior": {
"description": "In cases where the `schedule_details` params update the currently active phase, specifies if and how to prorate at the time of the request.",
"enum": [
"always_invoice",
"create_prorations",
"none"
],
"type": "string"
}
},
"title": "schedule_details_params",
Expand Down
Loading