| 1 |
# -*- coding: utf-8 -*- |
| 2 |
# File generated from our OpenAPI spec |
| 3 |
from typing_extensions import Literal, TypedDict |
| 4 |
|
| 5 |
|
| 6 |
class MeterEventAdjustmentCreateParams(TypedDict): |
| 7 |
cancel: "MeterEventAdjustmentCreateParamsCancel" |
| 8 |
""" |
| 9 |
Specifies which event to cancel. |
| 10 |
""" |
| 11 |
event_name: str |
| 12 |
""" |
| 13 |
The name of the meter event. Corresponds with the `event_name` field on a meter. |
| 14 |
""" |
| 15 |
type: Literal["cancel"] |
| 16 |
""" |
| 17 |
Specifies whether to cancel a single event or a range of events for a time period. Time period cancellation is not supported yet. |
| 18 |
""" |
| 19 |
|
| 20 |
|
| 21 |
class MeterEventAdjustmentCreateParamsCancel(TypedDict): |
| 22 |
identifier: str |
| 23 |
""" |
| 24 |
Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them. |
| 25 |
""" |