Bump stripe-php from 16.4.0 to 17.2.1

This commit is contained in:
johnnyq
2025-05-22 12:37:35 -04:00
parent 5361391b3b
commit 6a368840fa
332 changed files with 4978 additions and 4624 deletions

View File

@@ -10,11 +10,11 @@ namespace Stripe\Tax;
* Related guide: <a href="https://stripe.com/docs/tax/settings-api">Using the Settings API</a>
*
* @property string $object String representing the object's type. Objects of the same type share the same value.
* @property \Stripe\StripeObject $defaults
* @property null|\Stripe\StripeObject $head_office The place where your business is located.
* @property (object{tax_behavior: null|string, tax_code: null|string}&\Stripe\StripeObject) $defaults
* @property null|(object{address: (object{city: null|string, country: null|string, line1: null|string, line2: null|string, postal_code: null|string, state: null|string}&\Stripe\StripeObject)}&\Stripe\StripeObject) $head_office The place where your business is located.
* @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 string $status The status of the Tax <code>Settings</code>.
* @property \Stripe\StripeObject $status_details
* @property (object{active?: (object{}&\Stripe\StripeObject), pending?: (object{missing_fields: null|string[]}&\Stripe\StripeObject)}&\Stripe\StripeObject) $status_details
*/
class Settings extends \Stripe\SingletonApiResource
{
@@ -28,9 +28,9 @@ class Settings extends \Stripe\SingletonApiResource
*
* @param null|array|string $opts
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
* @return Settings
*
* @return \Stripe\Tax\Settings
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function retrieve($opts = null)
{
@@ -45,9 +45,9 @@ class Settings extends \Stripe\SingletonApiResource
* @param null|array $params
* @param null|array|string $opts
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return static the updated resource
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function update($params = null, $opts = null)
{
@@ -64,10 +64,10 @@ class Settings extends \Stripe\SingletonApiResource
/**
* @param null|array|string $opts
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return static the saved resource
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @deprecated The `save` method is deprecated and will be removed in a
* future major version of the library. Use the static method `update`
* on the resource instead.