Skip to content

Commit

Permalink
Update generated code for v1102
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jun 26, 2024
1 parent 7b08994 commit bf12abe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1101
v1102
4 changes: 2 additions & 2 deletions stripe/_margin.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class RetrieveParams(RequestOptions):
@classmethod
def create(cls, **params: Unpack["Margin.CreateParams"]) -> "Margin":
"""
Create a margin object to be used with invoices, invoice items, and invoice line items for a customer to represent a partner discount.A margin has a percent_off which is the percent that will be taken off the subtotal after all items and other discounts and promotions) of any invoices for a customer. Calculation of prorations do not include any partner margins applied on the original invoice item.
Create a margin object to be used with invoices, invoice items, and invoice line items for a customer to represent a partner discount. A margin has a percent_off which is the percent that will be taken off the subtotal after all items and other discounts and promotions) of any invoices for a customer. Calculation of prorations do not include any partner margins applied on the original invoice item.
"""
return cast(
"Margin",
Expand All @@ -146,7 +146,7 @@ async def create_async(
cls, **params: Unpack["Margin.CreateParams"]
) -> "Margin":
"""
Create a margin object to be used with invoices, invoice items, and invoice line items for a customer to represent a partner discount.A margin has a percent_off which is the percent that will be taken off the subtotal after all items and other discounts and promotions) of any invoices for a customer. Calculation of prorations do not include any partner margins applied on the original invoice item.
Create a margin object to be used with invoices, invoice items, and invoice line items for a customer to represent a partner discount. A margin has a percent_off which is the percent that will be taken off the subtotal after all items and other discounts and promotions) of any invoices for a customer. Calculation of prorations do not include any partner margins applied on the original invoice item.
"""
return cast(
"Margin",
Expand Down
4 changes: 2 additions & 2 deletions stripe/_margin_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def create(
options: RequestOptions = {},
) -> Margin:
"""
Create a margin object to be used with invoices, invoice items, and invoice line items for a customer to represent a partner discount.A margin has a percent_off which is the percent that will be taken off the subtotal after all items and other discounts and promotions) of any invoices for a customer. Calculation of prorations do not include any partner margins applied on the original invoice item.
Create a margin object to be used with invoices, invoice items, and invoice line items for a customer to represent a partner discount. A margin has a percent_off which is the percent that will be taken off the subtotal after all items and other discounts and promotions) of any invoices for a customer. Calculation of prorations do not include any partner margins applied on the original invoice item.
"""
return cast(
Margin,
Expand All @@ -144,7 +144,7 @@ async def create_async(
options: RequestOptions = {},
) -> Margin:
"""
Create a margin object to be used with invoices, invoice items, and invoice line items for a customer to represent a partner discount.A margin has a percent_off which is the percent that will be taken off the subtotal after all items and other discounts and promotions) of any invoices for a customer. Calculation of prorations do not include any partner margins applied on the original invoice item.
Create a margin object to be used with invoices, invoice items, and invoice line items for a customer to represent a partner discount. A margin has a percent_off which is the percent that will be taken off the subtotal after all items and other discounts and promotions) of any invoices for a customer. Calculation of prorations do not include any partner margins applied on the original invoice item.
"""
return cast(
Margin,
Expand Down

0 comments on commit bf12abe

Please sign in to comment.