Skip to content

Commit

Permalink
Merge edc4654 into 4a62cc3
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jun 14, 2024
2 parents 4a62cc3 + edc4654 commit 882aafc
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1077
v1080
4 changes: 2 additions & 2 deletions stripe/_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ class CreateParamsLineItemPriceData(TypedDict):
"""
ID of the product this price belongs to.
Use this to implement a variable-pricing model in your integration. This is required if `product_data` is not specifed.
Use this to implement a variable-pricing model in your integration. This is required if `product_data` is not specified.
"""
tax_behavior: NotRequired[
Literal["exclusive", "inclusive", "unspecified"]
Expand Down Expand Up @@ -2312,7 +2312,7 @@ class ModifyParamsLineItemPriceData(TypedDict):
"""
ID of the product this price belongs to.
Use this to implement a variable-pricing model in your integration. This is required if `product_data` is not specifed.
Use this to implement a variable-pricing model in your integration. This is required if `product_data` is not specified.
"""
tax_behavior: NotRequired[
Literal["exclusive", "inclusive", "unspecified"]
Expand Down
4 changes: 2 additions & 2 deletions stripe/_order_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ class CreateParamsLineItemPriceData(TypedDict):
"""
ID of the product this price belongs to.
Use this to implement a variable-pricing model in your integration. This is required if `product_data` is not specifed.
Use this to implement a variable-pricing model in your integration. This is required if `product_data` is not specified.
"""
tax_behavior: NotRequired[
Literal["exclusive", "inclusive", "unspecified"]
Expand Down Expand Up @@ -1470,7 +1470,7 @@ class UpdateParamsLineItemPriceData(TypedDict):
"""
ID of the product this price belongs to.
Use this to implement a variable-pricing model in your integration. This is required if `product_data` is not specifed.
Use this to implement a variable-pricing model in your integration. This is required if `product_data` is not specified.
"""
tax_behavior: NotRequired[
Literal["exclusive", "inclusive", "unspecified"]
Expand Down
16 changes: 8 additions & 8 deletions stripe/tax/_calculation.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ def _cls_list_line_items(
**params: Unpack["Calculation.ListLineItemsParams"],
) -> ListObject["CalculationLineItem"]:
"""
Retrieves the line items of a persisted tax calculation as a collection.
Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired.
"""
return cast(
ListObject["CalculationLineItem"],
Expand All @@ -764,7 +764,7 @@ def list_line_items(
calculation: str, **params: Unpack["Calculation.ListLineItemsParams"]
) -> ListObject["CalculationLineItem"]:
"""
Retrieves the line items of a persisted tax calculation as a collection.
Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired.
"""
...

Expand All @@ -773,7 +773,7 @@ def list_line_items(
self, **params: Unpack["Calculation.ListLineItemsParams"]
) -> ListObject["CalculationLineItem"]:
"""
Retrieves the line items of a persisted tax calculation as a collection.
Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired.
"""
...

Expand All @@ -782,7 +782,7 @@ def list_line_items( # pyright: ignore[reportGeneralTypeIssues]
self, **params: Unpack["Calculation.ListLineItemsParams"]
) -> ListObject["CalculationLineItem"]:
"""
Retrieves the line items of a persisted tax calculation as a collection.
Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired.
"""
return cast(
ListObject["CalculationLineItem"],
Expand All @@ -802,7 +802,7 @@ async def _cls_list_line_items_async(
**params: Unpack["Calculation.ListLineItemsParams"],
) -> ListObject["CalculationLineItem"]:
"""
Retrieves the line items of a persisted tax calculation as a collection.
Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired.
"""
return cast(
ListObject["CalculationLineItem"],
Expand All @@ -821,7 +821,7 @@ async def list_line_items_async(
calculation: str, **params: Unpack["Calculation.ListLineItemsParams"]
) -> ListObject["CalculationLineItem"]:
"""
Retrieves the line items of a persisted tax calculation as a collection.
Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired.
"""
...

Expand All @@ -830,7 +830,7 @@ async def list_line_items_async(
self, **params: Unpack["Calculation.ListLineItemsParams"]
) -> ListObject["CalculationLineItem"]:
"""
Retrieves the line items of a persisted tax calculation as a collection.
Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired.
"""
...

Expand All @@ -839,7 +839,7 @@ async def list_line_items_async( # pyright: ignore[reportGeneralTypeIssues]
self, **params: Unpack["Calculation.ListLineItemsParams"]
) -> ListObject["CalculationLineItem"]:
"""
Retrieves the line items of a persisted tax calculation as a collection.
Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired.
"""
return cast(
ListObject["CalculationLineItem"],
Expand Down
4 changes: 2 additions & 2 deletions stripe/tax/_calculation_line_item_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def list(
options: RequestOptions = {},
) -> ListObject[CalculationLineItem]:
"""
Retrieves the line items of a persisted tax calculation as a collection.
Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired.
"""
return cast(
ListObject[CalculationLineItem],
Expand All @@ -58,7 +58,7 @@ async def list_async(
options: RequestOptions = {},
) -> ListObject[CalculationLineItem]:
"""
Retrieves the line items of a persisted tax calculation as a collection.
Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired.
"""
return cast(
ListObject[CalculationLineItem],
Expand Down
4 changes: 2 additions & 2 deletions stripe/terminal/_connection_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ class CreateParams(RequestOptions):
"""
location: NotRequired[str]
"""
The id of the location that this connection token is scoped to. If specified the connection token will only be usable with readers assigned to that location, otherwise the connection token will be usable with all readers. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://stripe.com/docs/terminal/fleet/locations#connection-tokens).
The id of the location that this connection token is scoped to. If specified the connection token will only be usable with readers assigned to that location, otherwise the connection token will be usable with all readers. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://docs.stripe.com/terminal/fleet/locations-and-zones?dashboard-or-api=api#connection-tokens).
"""

location: Optional[str]
"""
The id of the location that this connection token is scoped to. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://stripe.com/docs/terminal/fleet/locations#connection-tokens).
The id of the location that this connection token is scoped to. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://docs.stripe.com/terminal/fleet/locations-and-zones?dashboard-or-api=api#connection-tokens).
"""
object: Literal["terminal.connection_token"]
"""
Expand Down
2 changes: 1 addition & 1 deletion stripe/terminal/_connection_token_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class CreateParams(TypedDict):
"""
location: NotRequired[str]
"""
The id of the location that this connection token is scoped to. If specified the connection token will only be usable with readers assigned to that location, otherwise the connection token will be usable with all readers. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://stripe.com/docs/terminal/fleet/locations#connection-tokens).
The id of the location that this connection token is scoped to. If specified the connection token will only be usable with readers assigned to that location, otherwise the connection token will be usable with all readers. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://docs.stripe.com/terminal/fleet/locations-and-zones?dashboard-or-api=api#connection-tokens).
"""

def create(
Expand Down

0 comments on commit 882aafc

Please sign in to comment.