Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated code #1340

Merged
merged 6 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1058
v1065
90 changes: 90 additions & 0 deletions stripe/_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,12 @@ class Capabilities(StripeObject):
"""
The status of the FPX payments capability of the account, or whether the account can directly process FPX charges.
"""
gb_bank_transfer_payments: Optional[
Literal["active", "inactive", "pending"]
]
"""
The status of the GB customer_balance payments (GBP currency) capability of the account, or whether the account can directly process GB customer_balance charges.
"""
giropay_payments: Optional[Literal["active", "inactive", "pending"]]
"""
The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
Expand All @@ -250,6 +256,12 @@ class Capabilities(StripeObject):
"""
The status of the JCB payments capability of the account, or whether the account (Japan only) can directly process JCB credit card charges in JPY currency.
"""
jp_bank_transfer_payments: Optional[
Literal["active", "inactive", "pending"]
]
"""
The status of the Japanese customer_balance payments (JPY currency) capability of the account, or whether the account can directly process Japanese customer_balance charges.
"""
klarna_payments: Optional[Literal["active", "inactive", "pending"]]
"""
The status of the Klarna payments capability of the account, or whether the account can directly process Klarna charges.
Expand All @@ -270,6 +282,12 @@ class Capabilities(StripeObject):
"""
The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
"""
mx_bank_transfer_payments: Optional[
Literal["active", "inactive", "pending"]
]
"""
The status of the Mexican customer_balance payments (MXN currency) capability of the account, or whether the account can directly process Mexican customer_balance charges.
"""
oxxo_payments: Optional[Literal["active", "inactive", "pending"]]
"""
The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges.
Expand All @@ -292,6 +310,12 @@ class Capabilities(StripeObject):
"""
The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
"""
sepa_bank_transfer_payments: Optional[
Literal["active", "inactive", "pending"]
]
"""
The status of the SEPA customer_balance payments (EUR currency) capability of the account, or whether the account can directly process SEPA customer_balance charges.
"""
sepa_debit_payments: Optional[Literal["active", "inactive", "pending"]]
"""
The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
Expand Down Expand Up @@ -330,6 +354,12 @@ class Capabilities(StripeObject):
"""
The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
"""
us_bank_transfer_payments: Optional[
Literal["active", "inactive", "pending"]
]
"""
The status of the US customer_balance payments (USD currency) capability of the account, or whether the account can directly process US customer_balance charges.
"""
zip_payments: Optional[Literal["active", "inactive", "pending"]]
"""
The status of the Zip capability of the account, or whether the account can directly process Zip charges.
Expand Down Expand Up @@ -1499,6 +1529,12 @@ class CreateParamsCapabilities(TypedDict):
"""
The fpx_payments capability.
"""
gb_bank_transfer_payments: NotRequired[
"Account.CreateParamsCapabilitiesGbBankTransferPayments"
]
"""
The gb_bank_transfer_payments capability.
"""
giropay_payments: NotRequired[
"Account.CreateParamsCapabilitiesGiropayPayments"
]
Expand Down Expand Up @@ -1529,6 +1565,12 @@ class CreateParamsCapabilities(TypedDict):
"""
The jcb_payments capability.
"""
jp_bank_transfer_payments: NotRequired[
"Account.CreateParamsCapabilitiesJpBankTransferPayments"
]
"""
The jp_bank_transfer_payments capability.
"""
klarna_payments: NotRequired[
"Account.CreateParamsCapabilitiesKlarnaPayments"
]
Expand Down Expand Up @@ -1559,6 +1601,12 @@ class CreateParamsCapabilities(TypedDict):
"""
The mobilepay_payments capability.
"""
mx_bank_transfer_payments: NotRequired[
"Account.CreateParamsCapabilitiesMxBankTransferPayments"
]
"""
The mx_bank_transfer_payments capability.
"""
oxxo_payments: NotRequired[
"Account.CreateParamsCapabilitiesOxxoPayments"
]
Expand Down Expand Up @@ -1589,6 +1637,12 @@ class CreateParamsCapabilities(TypedDict):
"""
The revolut_pay_payments capability.
"""
sepa_bank_transfer_payments: NotRequired[
"Account.CreateParamsCapabilitiesSepaBankTransferPayments"
]
"""
The sepa_bank_transfer_payments capability.
"""
sepa_debit_payments: NotRequired[
"Account.CreateParamsCapabilitiesSepaDebitPayments"
]
Expand Down Expand Up @@ -1633,6 +1687,12 @@ class CreateParamsCapabilities(TypedDict):
"""
The us_bank_account_ach_payments capability.
"""
us_bank_transfer_payments: NotRequired[
"Account.CreateParamsCapabilitiesUsBankTransferPayments"
]
"""
The us_bank_transfer_payments capability.
"""
zip_payments: NotRequired[
"Account.CreateParamsCapabilitiesZipPayments"
]
Expand Down Expand Up @@ -1736,6 +1796,12 @@ class CreateParamsCapabilitiesFpxPayments(TypedDict):
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
"""

class CreateParamsCapabilitiesGbBankTransferPayments(TypedDict):
requested: NotRequired[bool]
"""
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
"""

class CreateParamsCapabilitiesGiropayPayments(TypedDict):
requested: NotRequired[bool]
"""
Expand Down Expand Up @@ -1766,6 +1832,12 @@ class CreateParamsCapabilitiesJcbPayments(TypedDict):
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
"""

class CreateParamsCapabilitiesJpBankTransferPayments(TypedDict):
requested: NotRequired[bool]
"""
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
"""

class CreateParamsCapabilitiesKlarnaPayments(TypedDict):
requested: NotRequired[bool]
"""
Expand Down Expand Up @@ -1796,6 +1868,12 @@ class CreateParamsCapabilitiesMobilepayPayments(TypedDict):
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
"""

class CreateParamsCapabilitiesMxBankTransferPayments(TypedDict):
requested: NotRequired[bool]
"""
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
"""

class CreateParamsCapabilitiesOxxoPayments(TypedDict):
requested: NotRequired[bool]
"""
Expand Down Expand Up @@ -1826,6 +1904,12 @@ class CreateParamsCapabilitiesRevolutPayPayments(TypedDict):
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
"""

class CreateParamsCapabilitiesSepaBankTransferPayments(TypedDict):
requested: NotRequired[bool]
"""
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
"""

class CreateParamsCapabilitiesSepaDebitPayments(TypedDict):
requested: NotRequired[bool]
"""
Expand Down Expand Up @@ -1874,6 +1958,12 @@ class CreateParamsCapabilitiesUsBankAccountAchPayments(TypedDict):
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
"""

class CreateParamsCapabilitiesUsBankTransferPayments(TypedDict):
requested: NotRequired[bool]
"""
Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
"""

class CreateParamsCapabilitiesZipPayments(TypedDict):
requested: NotRequired[bool]
"""
Expand Down
Loading
Loading