Skip to content

Commit

Permalink
Merge 97ccaf7 into 4a517d3
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] authored Apr 15, 2024
2 parents 4a517d3 + 97ccaf7 commit d563cbf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v951
v956
3 changes: 0 additions & 3 deletions stripe/_dispute.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,6 @@ class Card(StripeObject):
"""

card: Optional[Card]
"""
Card specific dispute details.
"""
type: Literal["card"]
"""
Payment method type.
Expand Down
4 changes: 2 additions & 2 deletions stripe/billing/_meter_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ class CreateParams(RequestOptions):
"""
The payload of the event. This must contain a field with the event's numerical value and a field to map the event to a customer.
"""
timestamp: int
timestamp: NotRequired[int]
"""
The time of the event. Measured in seconds since the Unix epoch.
The time of the event. Measured in seconds since the Unix epoch. Defaults to current timestamp if not specified.
"""

created: int
Expand Down
4 changes: 2 additions & 2 deletions stripe/billing/_meter_event_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class CreateParams(TypedDict):
"""
The payload of the event. This must contain a field with the event's numerical value and a field to map the event to a customer.
"""
timestamp: int
timestamp: NotRequired[int]
"""
The time of the event. Measured in seconds since the Unix epoch.
The time of the event. Measured in seconds since the Unix epoch. Defaults to current timestamp if not specified.
"""

def create(
Expand Down

0 comments on commit d563cbf

Please sign in to comment.