Skip to content

Commit cdd806e

Browse files
Update generated code from sdk-codegen canary 4608c25712d0cc7ca01066bdbe456b07f997bfda
1 parent 9dc3aae commit cdd806e

193 files changed

Lines changed: 1327 additions & 267 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎init.php‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,6 +1497,8 @@
14971497
require __DIR__ . '/lib/Person.php';
14981498
require __DIR__ . '/lib/Plan.php';
14991499
require __DIR__ . '/lib/Price.php';
1500+
require __DIR__ . '/lib/PricingExperiment.php';
1501+
require __DIR__ . '/lib/PricingExperimentAssignment.php';
15001502
require __DIR__ . '/lib/Privacy/RedactionJob.php';
15011503
require __DIR__ . '/lib/Privacy/RedactionJobValidationError.php';
15021504
require __DIR__ . '/lib/Product.php';
@@ -1641,6 +1643,7 @@
16411643
require __DIR__ . '/lib/Service/PayoutService.php';
16421644
require __DIR__ . '/lib/Service/PlanService.php';
16431645
require __DIR__ . '/lib/Service/PriceService.php';
1646+
require __DIR__ . '/lib/Service/PricingExperimentService.php';
16441647
require __DIR__ . '/lib/Service/Privacy/PrivacyServiceFactory.php';
16451648
require __DIR__ . '/lib/Service/Privacy/RedactionJobService.php';
16461649
require __DIR__ . '/lib/Service/ProductCatalog/ProductCatalogServiceFactory.php';
@@ -1985,6 +1988,7 @@
19851988
require __DIR__ . '/lib/V2/Core/AccountPerson.php';
19861989
require __DIR__ . '/lib/V2/Core/AccountPersonToken.php';
19871990
require __DIR__ . '/lib/V2/Core/AccountSession.php';
1991+
require __DIR__ . '/lib/V2/Core/AccountTaxInformationRequirementsUpdateResult.php';
19881992
require __DIR__ . '/lib/V2/Core/AccountToken.php';
19891993
require __DIR__ . '/lib/V2/Core/ApprovalRequest.php';
19901994
require __DIR__ . '/lib/V2/Core/BatchJob.php';

‎lib/Account.php‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
* For new integrations, we recommend using the <a href="/api/v2/core/accounts">Accounts v2 API</a>, in place of /v1/accounts and /v1/customers to represent a user.
99
*
1010
* This is an object representing a Stripe account. You can retrieve it to see
11-
* properties on the account like its current requirements or if the account is
12-
* enabled to make live charges or receive payouts.
11+
* properties on the account like whether the account is enabled to make live charges
12+
* or receive payouts. Connect platforms can also retrieve a connected account to see
13+
* its current requirements.
1314
*
1415
* For accounts where <a href="/api/accounts/object#account_object-controller-requirement_collection">controller.requirement_collection</a>
1516
* is <code>application</code>, which includes Custom accounts, the properties below are always
@@ -97,7 +98,7 @@ public static function create($params = null, $options = null)
9798
/**
9899
* With <a href="/connect">Connect</a>, you can delete accounts you manage.
99100
*
100-
* Test-mode accounts can be deleted at any time.
101+
* Sandbox accounts can be deleted at any time.
101102
*
102103
* Live-mode accounts that have access to the standard dashboard and Stripe is
103104
* responsible for negative account balances cannot be deleted, which includes

‎lib/AccountNotice.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @property null|int $deadline When present, the deadline for sending the notice to meet the relevant regulations.
1616
* @property null|(object{plain_text: string, recipient: string, subject: string}&StripeObject) $email Information about the email when sent.
1717
* @property null|(object{capability: null|string, issuing_credit_underwriting_record?: null|string, issuing_dispute: null|string}&StripeObject) $linked_objects Information about objects related to the notice.
18-
* @property bool $livemode If the object exists in live mode, the value is <code>true</code>. If the object exists in test mode, the value is <code>false</code>.
18+
* @property bool $livemode If the object exists in live mode, the value is <code>true</code>. Otherwise, the value is <code>false</code>, including for objects in a sandbox.
1919
* @property null|StripeObject $metadata Set of <a href="https://docs.stripe.com/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
2020
* @property string $reason Reason the notice is being sent. The reason determines what copy the notice must contain. See the <a href="https://docs.stripe.com/issuing/compliance-us/issuing-regulated-customer-notices">regulated customer notices</a> guide. All reasons might not apply to your integration, and Stripe might add new reasons in the future, so we recommend an internal warning when you receive an unknown reason.
2121
* @property null|int $sent_at Date when the notice was sent. When absent, you must send the notice, update the content of the email and date when it was sent.

‎lib/AccountSession.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* @property string $client_secret <p>The client secret of this AccountSession. Used on the client to set up secure access to the given <code>account</code>.</p><p>The client secret can be used to provide access to <code>account</code> from your frontend. It should not be stored, logged, or exposed to anyone other than the connected account. Make sure that you have TLS enabled on any page that includes the client secret.</p><p>Refer to our docs to <a href="https://docs.stripe.com/connect/get-started-connect-embedded-components">setup Connect embedded components</a> and learn about how <code>client_secret</code> should be handled.</p>
1919
* @property (object{account_management: (object{enabled: bool, features: (object{disable_stripe_user_authentication: bool, external_account_collection: bool}&StripeObject)}&StripeObject), account_onboarding: (object{enabled: bool, features: (object{disable_stripe_user_authentication: bool, external_account_collection: bool}&StripeObject)}&StripeObject), agentic_commerce_settings?: null|(object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), balance_report: (object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), balances: (object{enabled: bool, features: (object{disable_stripe_user_authentication: bool, edit_payout_schedule: bool, external_account_collection: bool, instant_payouts: bool, standard_payouts: bool}&StripeObject)}&StripeObject), bills?: null|(object{enabled: bool, features: (object{bill_management: bool, disable_stripe_user_authentication: bool, send_money: bool}&StripeObject)}&StripeObject), business_profile_management?: null|(object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), capital_financing?: null|(object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), capital_financing_application?: null|(object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), capital_financing_manual_payment?: null|(object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), capital_financing_promotion?: null|(object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), check_scanning?: null|(object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), disputes_list: (object{enabled: bool, features: (object{capture_payments: bool, destination_on_behalf_of_charge_management: bool, dispute_management: bool, refund_management: bool, smart_disputes_management: bool}&StripeObject)}&StripeObject), documents: (object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), export_tax_transactions?: null|(object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), financial_account: (object{enabled: bool, features: (object{disable_stripe_user_authentication: bool, external_account_collection: bool, send_money: bool, transfer_balance: bool}&StripeObject)}&StripeObject), financial_account_rewards?: null|(object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), financial_account_transactions: (object{enabled: bool, features: (object{card_spend_dispute_management: bool}&StripeObject)}&StripeObject), financial_accounts?: null|(object{enabled: bool, features: (object{bill_management: bool, card_management: bool, disable_stripe_user_authentication: bool, edit_payout_schedule: bool, send_money: bool}&StripeObject)}&StripeObject), financial_accounts_transactions?: null|(object{enabled: bool, features: (object{capture_payments: bool, card_management: bool, card_spend_dispute_management: bool, destination_on_behalf_of_charge_management: bool, dispute_management: bool, refund_management: bool}&StripeObject)}&StripeObject), instant_payouts_promotion: (object{enabled: bool, features: (object{disable_stripe_user_authentication: bool, external_account_collection: bool, instant_payouts: bool}&StripeObject)}&StripeObject), issuing_card: (object{enabled: bool, features: (object{card_management: bool, card_spend_dispute_management: bool, cardholder_management: bool, spend_control_management: bool}&StripeObject)}&StripeObject), issuing_cards_list: (object{enabled: bool, features: (object{card_management: bool, card_spend_dispute_management: bool, cardholder_management: bool, disable_stripe_user_authentication: bool, spend_control_management: bool}&StripeObject)}&StripeObject), network_cost_passthrough_report?: null|(object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), notification_banner: (object{enabled: bool, features: (object{disable_stripe_user_authentication: bool, external_account_collection: bool}&StripeObject)}&StripeObject), payment_details: (object{enabled: bool, features: (object{capture_payments: bool, destination_on_behalf_of_charge_management: bool, dispute_management: bool, refund_management: bool, smart_disputes_management: bool}&StripeObject)}&StripeObject), payment_disputes: (object{enabled: bool, features: (object{destination_on_behalf_of_charge_management: bool, dispute_management: bool, refund_management: bool, smart_disputes_management: bool}&StripeObject)}&StripeObject), payment_method_settings: (object{enabled: bool, features: (object{disable_stripe_user_authentication: bool}&StripeObject)}&StripeObject), payments: (object{enabled: bool, features: (object{capture_payments: bool, destination_on_behalf_of_charge_management: bool, dispute_management: bool, refund_management: bool, smart_disputes_management: bool}&StripeObject)}&StripeObject), payout_details: (object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), payout_reconciliation_report: (object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), payouts: (object{enabled: bool, features: (object{disable_stripe_user_authentication: bool, edit_payout_schedule: bool, external_account_collection: bool, instant_payouts: bool, standard_payouts: bool}&StripeObject)}&StripeObject), payouts_list: (object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), product_tax_code_selector?: null|(object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), recipients_list?: null|(object{enabled: bool, features: (object{disable_stripe_user_authentication: bool, send_money: bool}&StripeObject)}&StripeObject), reporting_chart: (object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), tax_registrations: (object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), tax_settings: (object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), tax_threshold_monitoring?: null|(object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), terminal_hardware_orders: (object{enabled: bool, features: (object{}&StripeObject)}&StripeObject), terminal_hardware_shop: (object{enabled: bool, features: (object{}&StripeObject)}&StripeObject)}&StripeObject) $components
2020
* @property int $expires_at The timestamp at which this AccountSession will expire.
21-
* @property bool $livemode If the object exists in live mode, the value is <code>true</code>. If the object exists in test mode, the value is <code>false</code>.
21+
* @property bool $livemode If the object exists in live mode, the value is <code>true</code>. Otherwise, the value is <code>false</code>, including for objects in a sandbox.
2222
*/
2323
class AccountSession extends ApiResource
2424
{

‎lib/ApplePayDomain.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @property string $object String representing the object's type. Objects of the same type share the same value.
1010
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
1111
* @property string $domain_name
12-
* @property bool $livemode If the object exists in live mode, the value is <code>true</code>. If the object exists in test mode, the value is <code>false</code>.
12+
* @property bool $livemode If the object exists in live mode, the value is <code>true</code>. Otherwise, the value is <code>false</code>, including for objects in a sandbox.
1313
*/
1414
class ApplePayDomain extends ApiResource
1515
{

‎lib/Application.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
namespace Stripe;
66

77
/**
8+
* A Connect platform application.
9+
*
810
* @property string $id Unique identifier for the object.
911
* @property string $object String representing the object's type. Objects of the same type share the same value.
1012
* @property null|string $name The name of the application.

‎lib/ApplicationFee.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>.
2424
* @property null|(object{charge?: string, payment_record?: string, payout?: string, transfer?: string, type: string}&StripeObject) $fee_source Polymorphic source of the application fee. Includes the ID of the object the application fee was created from.
2525
* @property null|(object{invoice?: string, type: string}&StripeObject) $funding_source Polymorphic funding source of the application fee. Includes the type and details of the funding source.
26-
* @property bool $livemode If the object exists in live mode, the value is <code>true</code>. If the object exists in test mode, the value is <code>false</code>.
26+
* @property bool $livemode If the object exists in live mode, the value is <code>true</code>. Otherwise, the value is <code>false</code>, including for objects in a sandbox.
2727
* @property null|Charge|string $originating_transaction ID of the corresponding charge on the platform account, if this fee was the result of a charge using the <code>destination</code> parameter.
2828
* @property bool $refunded Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false.
2929
* @property Collection<ApplicationFeeRefund> $refunds A list of refunds that have been applied to the fee.

‎lib/Apps/Install.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* @property null|string $created_by The ID of the embedding platform that created the install, if applicable.
2424
* @property string[] $endpoints_granted The endpoint URLs authorized by the installer.
2525
* @property string[] $endpoints_pending The endpoint URLs requested by the latest app version that the installer has not authorized.
26-
* @property bool $livemode If the object exists in live mode, the value is <code>true</code>. If the object exists in test mode, the value is <code>false</code>.
26+
* @property bool $livemode If the object exists in live mode, the value is <code>true</code>. Otherwise, the value is <code>false</code>, including for objects in a sandbox.
2727
* @property string[] $permissions_granted The permissions authorized by the installer.
2828
* @property string[] $permissions_pending The permissions requested by the latest app version that the installer has not authorized.
2929
* @property string $status The status of the app install.

‎lib/Apps/Secret.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
2121
* @property null|bool $deleted If true, indicates that this secret has been deleted
2222
* @property null|int $expires_at The Unix timestamp for the expiry time of the secret, after which the secret deletes.
23-
* @property bool $livemode If the object exists in live mode, the value is <code>true</code>. If the object exists in test mode, the value is <code>false</code>.
23+
* @property bool $livemode If the object exists in live mode, the value is <code>true</code>. Otherwise, the value is <code>false</code>, including for objects in a sandbox.
2424
* @property string $name A name for the secret that's unique within the scope.
2525
* @property null|string $payload The plaintext secret value to be stored.
2626
* @property (object{type: string, user?: string}&\Stripe\StripeObject) $scope

‎lib/Balance.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* @property null|(object{amount: int, currency: string, source_types?: (object{bank_account?: int, card?: int, fpx?: int}&StripeObject)}&StripeObject)[] $connect_reserved Funds held due to negative balances on connected accounts where <a href="/api/accounts/object#account_object-controller-requirement_collection">account.controller.requirement_collection</a> is <code>application</code>, which includes Custom accounts. You can find the connect reserve balance for each currency and payment type in the <code>source_types</code> property.
1818
* @property null|((object{amount: int, currency: string, net_available?: ((object{amount: int, destination: string, payout_method?: null|string, source_types?: (object{bank_account?: int, card?: int, fpx?: int}&StripeObject)}&StripeObject))[], source_types?: (object{bank_account?: int, card?: int, fpx?: int}&StripeObject)}&StripeObject))[] $instant_available Funds that you can pay out using Instant Payouts.
1919
* @property null|(object{available: (object{amount: int, currency: string, source_types?: (object{bank_account?: int, card?: int, fpx?: int}&StripeObject)}&StripeObject)[]}&StripeObject) $issuing
20-
* @property bool $livemode If the object exists in live mode, the value is <code>true</code>. If the object exists in test mode, the value is <code>false</code>.
20+
* @property bool $livemode If the object exists in live mode, the value is <code>true</code>. Otherwise, the value is <code>false</code>, including for objects in a sandbox.
2121
* @property (object{amount: int, currency: string, source_types?: (object{bank_account?: int, card?: int, fpx?: int}&StripeObject)}&StripeObject)[] $pending Funds that aren't available in the balance yet. You can find the pending balance for each currency and each payment type in the <code>source_types</code> property.
2222
* @property null|(object{available: (object{amount: int, currency: string, source_types?: (object{bank_account?: int, card?: int, fpx?: int}&StripeObject)}&StripeObject)[], pending: (object{amount: int, currency: string, source_types?: (object{bank_account?: int, card?: int, fpx?: int}&StripeObject)}&StripeObject)[]}&StripeObject) $refund_and_dispute_prefunding
2323
* @property null|(object{available: (object{amount: int, currency: string, source_types?: (object{bank_account?: int, card?: int, fpx?: int}&StripeObject)}&StripeObject)[], pending: (object{amount: int, currency: string, source_types?: (object{bank_account?: int, card?: int, fpx?: int}&StripeObject)}&StripeObject)[]}&StripeObject) $risk_reserved

0 commit comments

Comments
 (0)