| 1 |
# -*- coding: utf-8 -*- |
| 2 |
# File generated from our OpenAPI spec |
| 3 |
from stripe._request_options import RequestOptions |
| 4 |
from typing import List |
| 5 |
from typing_extensions import NotRequired |
| 6 |
|
| 7 |
|
| 8 |
class SubscriptionScheduleCancelParams(RequestOptions): |
| 9 |
expand: NotRequired[List[str]] |
| 10 |
""" |
| 11 |
Specifies which fields in the response should be expanded. |
| 12 |
""" |
| 13 |
invoice_now: NotRequired[bool] |
| 14 |
""" |
| 15 |
If the subscription schedule is `active`, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Defaults to `true`. |
| 16 |
""" |
| 17 |
prorate: NotRequired[bool] |
| 18 |
""" |
| 19 |
If the subscription schedule is `active`, indicates if the cancellation should be prorated. Defaults to `true`. |
| 20 |
""" |