Skip to content

Commit

Permalink
Merge 0f27161 into c31845b
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] authored Oct 17, 2023
2 parents c31845b + 0f27161 commit c00b6d6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v605
v606
1 change: 1 addition & 0 deletions stripe/api_resources/checkout/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -1423,6 +1423,7 @@ class CreateParamsPaymentMethodOptionsPaypal(TypedDict):
setup_future_usage: NotRequired[
"Literal['']|Literal['none', 'off_session']|None"
]
subsellers: NotRequired["List[str]|None"]

class CreateParamsPaymentMethodOptionsPaynow(TypedDict):
setup_future_usage: NotRequired["Literal['none']|None"]
Expand Down
3 changes: 3 additions & 0 deletions stripe/api_resources/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ class Paypal(StripeObject):
setup_future_usage: Optional[
Literal["none", "off_session"]
]
subsellers: Optional[List[str]]

class SepaDebit(StripeObject):
class MandateOptions(StripeObject):
Expand Down Expand Up @@ -773,6 +774,7 @@ class CreateParamsPaymentSettingsPaymentMethodOptionsPaypal(TypedDict):
setup_future_usage: NotRequired[
"Literal['']|Literal['none', 'off_session']|None"
]
subsellers: NotRequired["List[str]|None"]

class CreateParamsPaymentSettingsPaymentMethodOptionsP24(TypedDict):
setup_future_usage: NotRequired["Literal['none']|None"]
Expand Down Expand Up @@ -1263,6 +1265,7 @@ class ModifyParamsPaymentSettingsPaymentMethodOptionsPaypal(TypedDict):
setup_future_usage: NotRequired[
"Literal['']|Literal['none', 'off_session']|None"
]
subsellers: NotRequired["List[str]|None"]

class ModifyParamsPaymentSettingsPaymentMethodOptionsP24(TypedDict):
setup_future_usage: NotRequired["Literal['none']|None"]
Expand Down
4 changes: 4 additions & 0 deletions stripe/api_resources/payment_intent.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,7 @@ class Paypal(StripeObject):
reference: Optional[str]
reference_id: Optional[str]
setup_future_usage: Optional[Literal["none", "off_session"]]
subsellers: Optional[List[str]]

class Pix(StripeObject):
expires_after_seconds: Optional[int]
Expand Down Expand Up @@ -1320,6 +1321,7 @@ class ConfirmParamsPaymentMethodOptionsPaypal(TypedDict):
setup_future_usage: NotRequired[
"Literal['']|Literal['none', 'off_session']|None"
]
subsellers: NotRequired["List[str]|None"]

class ConfirmParamsPaymentMethodOptionsPaynow(TypedDict):
setup_future_usage: NotRequired["Literal['none']|None"]
Expand Down Expand Up @@ -2259,6 +2261,7 @@ class CreateParamsPaymentMethodOptionsPaypal(TypedDict):
setup_future_usage: NotRequired[
"Literal['']|Literal['none', 'off_session']|None"
]
subsellers: NotRequired["List[str]|None"]

class CreateParamsPaymentMethodOptionsPaynow(TypedDict):
setup_future_usage: NotRequired["Literal['none']|None"]
Expand Down Expand Up @@ -3195,6 +3198,7 @@ class ModifyParamsPaymentMethodOptionsPaypal(TypedDict):
setup_future_usage: NotRequired[
"Literal['']|Literal['none', 'off_session']|None"
]
subsellers: NotRequired["List[str]|None"]

class ModifyParamsPaymentMethodOptionsPaynow(TypedDict):
setup_future_usage: NotRequired["Literal['none']|None"]
Expand Down
4 changes: 4 additions & 0 deletions stripe/api_resources/setup_intent.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ class Link(StripeObject):
class Paypal(StripeObject):
billing_agreement_id: Optional[str]
currency: Optional[str]
subsellers: Optional[List[str]]

class SepaDebit(StripeObject):
class MandateOptions(StripeObject):
Expand Down Expand Up @@ -504,6 +505,7 @@ class ConfirmParamsPaymentMethodOptionsSepaDebitMandateOptions(
class ConfirmParamsPaymentMethodOptionsPaypal(TypedDict):
billing_agreement_id: NotRequired["str|None"]
currency: NotRequired["str|None"]
subsellers: NotRequired["List[str]|None"]

class ConfirmParamsPaymentMethodOptionsLink(TypedDict):
persistent_token: NotRequired["str|None"]
Expand Down Expand Up @@ -986,6 +988,7 @@ class CreateParamsPaymentMethodOptionsSepaDebitMandateOptions(
class CreateParamsPaymentMethodOptionsPaypal(TypedDict):
billing_agreement_id: NotRequired["str|None"]
currency: NotRequired["str|None"]
subsellers: NotRequired["List[str]|None"]

class CreateParamsPaymentMethodOptionsLink(TypedDict):
persistent_token: NotRequired["str|None"]
Expand Down Expand Up @@ -1460,6 +1463,7 @@ class ModifyParamsPaymentMethodOptionsSepaDebitMandateOptions(
class ModifyParamsPaymentMethodOptionsPaypal(TypedDict):
billing_agreement_id: NotRequired["str|None"]
currency: NotRequired["str|None"]
subsellers: NotRequired["List[str]|None"]

class ModifyParamsPaymentMethodOptionsLink(TypedDict):
persistent_token: NotRequired["str|None"]
Expand Down

0 comments on commit c00b6d6

Please sign in to comment.