Skip to content

Commit

Permalink
Update generated code (#1706)
Browse files Browse the repository at this point in the history
* Update generated code for v1060

* Update generated code for v1062

* Update generated code for v1062

* Update generated code for v1063

* Update generated code for v1066

* Update generated code for v1068

* Update generated code for v1069

* Update generated code for v1071

* Update generated code for v1072

* Update generated code for v1075

* Update generated code for v1077

* Update generated code for v1077

* Update generated code for v1077

* Update generated code for v1077

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Jun 13, 2024
1 parent 7165f64 commit 2f978f3
Show file tree
Hide file tree
Showing 123 changed files with 20 additions and 239 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1058
v1077
3 changes: 1 addition & 2 deletions lib/BankAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
* These bank accounts are payment methods on <code>Customer</code> objects.
*
* On the other hand <a href="/api#external_accounts">External Accounts</a> are transfer
* destinations on <code>Account</code> objects for accounts where <a href="/api/accounts/object#account_object-controller-requirement_collection">controller.requirement_collection</a>
* is <code>application</code>, which includes <a href="/connect/custom-accounts">Custom accounts</a>.
* destinations on <code>Account</code> objects for connected accounts.
* They can be bank accounts or debit cards as well, and are documented in the links above.
*
* Related guide: <a href="/payments/bank-debits-transfers">Bank debits and transfers</a>
Expand Down
4 changes: 2 additions & 2 deletions lib/Checkout/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
* @property null|string $locale The IETF language tag of the locale Checkout is displayed in. If blank or <code>auto</code>, the browser's locale is used.
* @property null|\Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/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.
* @property string $mode The mode of the Checkout Session.
* @property null|string|\Stripe\PaymentIntent $payment_intent The ID of the PaymentIntent for Checkout Sessions in <code>payment</code> mode.
* @property null|string|\Stripe\PaymentIntent $payment_intent The ID of the PaymentIntent for Checkout Sessions in <code>payment</code> mode. You can't confirm or cancel the PaymentIntent for a Checkout Session. To cancel, <a href="https://stripe.com/docs/api/checkout/sessions/expire">expire the Checkout Session</a> instead.
* @property null|string|\Stripe\PaymentLink $payment_link The ID of the Payment Link that created this Session.
* @property null|string $payment_method_collection Configure whether a Checkout Session should collect a payment method. Defaults to <code>always</code>.
* @property null|\Stripe\StripeObject $payment_method_configuration_details Information about the payment method configuration used for this Checkout session if using dynamic payment methods.
Expand All @@ -62,7 +62,7 @@
* @property null|string $redirect_on_completion This parameter applies to <code>ui_mode: embedded</code>. Learn more about the <a href="https://stripe.com/docs/payments/checkout/custom-redirect-behavior">redirect behavior</a> of embedded sessions. Defaults to <code>always</code>.
* @property null|string $return_url Applies to Checkout Sessions with <code>ui_mode: embedded</code>. The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site.
* @property null|\Stripe\StripeObject $saved_payment_method_options Controls saved payment method settings for the session. Only available in <code>payment</code> and <code>subscription</code> mode.
* @property null|string|\Stripe\SetupIntent $setup_intent The ID of the SetupIntent for Checkout Sessions in <code>setup</code> mode.
* @property null|string|\Stripe\SetupIntent $setup_intent The ID of the SetupIntent for Checkout Sessions in <code>setup</code> mode. You can't confirm or cancel the SetupIntent for a Checkout Session. To cancel, <a href="https://stripe.com/docs/api/checkout/sessions/expire">expire the Checkout Session</a> instead.
* @property null|\Stripe\StripeObject $shipping_address_collection When set, provides configuration for Checkout to collect a shipping address from a customer.
* @property null|\Stripe\StripeObject $shipping_cost The details of the customer cost of shipping, including the customer chosen ShippingRate.
* @property null|\Stripe\StripeObject $shipping_details Shipping information for this Checkout Session.
Expand Down
4 changes: 4 additions & 0 deletions lib/PaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
* @property null|\Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/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.
* @property null|\Stripe\StripeObject $mobilepay
* @property null|\Stripe\StripeObject $multibanco
* @property null|\Stripe\StripeObject $oxxo
* @property null|\Stripe\StripeObject $p24
* @property null|\Stripe\StripeObject $paynow
Expand All @@ -54,6 +55,7 @@
* @property null|\Stripe\StripeObject $sepa_debit
* @property null|\Stripe\StripeObject $sofort
* @property null|\Stripe\StripeObject $swish
* @property null|\Stripe\StripeObject $twint
* @property string $type The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
* @property null|\Stripe\StripeObject $us_bank_account
* @property null|\Stripe\StripeObject $wechat_pay
Expand Down Expand Up @@ -93,6 +95,7 @@ class PaymentMethod extends ApiResource
const TYPE_KONBINI = 'konbini';
const TYPE_LINK = 'link';
const TYPE_MOBILEPAY = 'mobilepay';
const TYPE_MULTIBANCO = 'multibanco';
const TYPE_OXXO = 'oxxo';
const TYPE_P24 = 'p24';
const TYPE_PAYNOW = 'paynow';
Expand All @@ -103,6 +106,7 @@ class PaymentMethod extends ApiResource
const TYPE_SEPA_DEBIT = 'sepa_debit';
const TYPE_SOFORT = 'sofort';
const TYPE_SWISH = 'swish';
const TYPE_TWINT = 'twint';
const TYPE_US_BANK_ACCOUNT = 'us_bank_account';
const TYPE_WECHAT_PAY = 'wechat_pay';
const TYPE_ZIP = 'zip';
Expand Down
1 change: 1 addition & 0 deletions lib/PaymentMethodConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
* @property null|\Stripe\StripeObject $link
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
* @property null|\Stripe\StripeObject $mobilepay
* @property null|\Stripe\StripeObject $multibanco
* @property string $name The configuration's name.
* @property null|\Stripe\StripeObject $oxxo
* @property null|\Stripe\StripeObject $p24
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/AccountLinkService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class AccountLinkService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/AccountService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class AccountService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/AccountSessionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class AccountSessionService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/ApplePayDomainService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ApplePayDomainService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/ApplicationFeeService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ApplicationFeeService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/Apps/SecretService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SecretService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/BalanceService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class BalanceService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/BalanceTransactionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class BalanceTransactionService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/Billing/MeterEventAdjustmentService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class MeterEventAdjustmentService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/Billing/MeterEventService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class MeterEventService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/Billing/MeterService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class MeterService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/BillingPortal/ConfigurationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ConfigurationService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/BillingPortal/SessionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SessionService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/ChargeService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ChargeService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/Checkout/SessionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SessionService extends \Stripe\Service\AbstractService
Expand Down
4 changes: 1 addition & 3 deletions lib/Service/Climate/OrderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class OrderService extends \Stripe\Service\AbstractService
Expand All @@ -29,7 +27,7 @@ public function all($params = null, $opts = null)
}

/**
* Cancels a Climate order. You can cancel an order within 30 days of creation.
* Cancels a Climate order. You can cancel an order within 24 hours of creation.
* Stripe refunds the reservation <code>amount_subtotal</code>, but not the
* <code>amount_fees</code> for user-triggered cancellations. Frontier might cancel
* reservations if suppliers fail to deliver. If Frontier cancels the reservation,
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/Climate/ProductService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ProductService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/Climate/SupplierService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SupplierService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/ConfirmationTokenService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ConfirmationTokenService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/CountrySpecService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CountrySpecService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/CouponService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CouponService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/CreditNoteService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CreditNoteService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/CustomerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CustomerService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/CustomerSessionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CustomerSessionService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/DisputeService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class DisputeService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/Entitlements/ActiveEntitlementService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ActiveEntitlementService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/Entitlements/FeatureService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class FeatureService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/EphemeralKeyService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class EphemeralKeyService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/EventService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class EventService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/ExchangeRateService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ExchangeRateService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/FileLinkService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class FileLinkService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/FileService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class FileService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/FinancialConnections/AccountService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class AccountService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/FinancialConnections/SessionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SessionService extends \Stripe\Service\AbstractService
Expand Down
2 changes: 0 additions & 2 deletions lib/Service/FinancialConnections/TransactionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class TransactionService extends \Stripe\Service\AbstractService
Expand Down
Loading

0 comments on commit 2f978f3

Please sign in to comment.