mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Bump stripe-php from 16.4.0 to 17.2.1
This commit is contained in:
@@ -15,11 +15,11 @@ namespace Stripe;
|
||||
* @property string $id Unique identifier for the object. Represented as the ISO country code for this country.
|
||||
* @property string $object String representing the object's type. Objects of the same type share the same value.
|
||||
* @property string $default_currency The default currency for this country. This applies to both payment methods and bank accounts.
|
||||
* @property \Stripe\StripeObject $supported_bank_account_currencies Currencies that can be accepted in the specific country (for transfers).
|
||||
* @property StripeObject $supported_bank_account_currencies Currencies that can be accepted in the specific country (for transfers).
|
||||
* @property string[] $supported_payment_currencies Currencies that can be accepted in the specified country (for payments).
|
||||
* @property string[] $supported_payment_methods Payment methods available in the specified country. You may need to enable some payment methods (e.g., <a href="https://stripe.com/docs/ach">ACH</a>) on your account before they appear in this list. The <code>stripe</code> payment method refers to <a href="https://stripe.com/docs/connect/destination-charges">charging through your platform</a>.
|
||||
* @property string[] $supported_transfer_countries Countries that can accept transfers from the specified country.
|
||||
* @property \Stripe\StripeObject $verification_fields
|
||||
* @property (object{company: (object{additional: string[], minimum: string[]}&StripeObject), individual: (object{additional: string[], minimum: string[]}&StripeObject)}&StripeObject) $verification_fields
|
||||
*/
|
||||
class CountrySpec extends ApiResource
|
||||
{
|
||||
@@ -28,18 +28,18 @@ class CountrySpec extends ApiResource
|
||||
/**
|
||||
* Lists all Country Spec objects available in the API.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array{ending_before?: string, expand?: string[], limit?: int, starting_after?: string} $params
|
||||
* @param null|array|string $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
* @return Collection<CountrySpec> of ApiResources
|
||||
*
|
||||
* @return \Stripe\Collection<\Stripe\CountrySpec> of ApiResources
|
||||
* @throws Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function all($params = null, $opts = null)
|
||||
{
|
||||
$url = static::classUrl();
|
||||
|
||||
return static::_requestPage($url, \Stripe\Collection::class, $params, $opts);
|
||||
return static::_requestPage($url, Collection::class, $params, $opts);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -48,13 +48,13 @@ class CountrySpec extends ApiResource
|
||||
* @param array|string $id the ID of the API resource to retrieve, or an options array containing an `id` key
|
||||
* @param null|array|string $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
* @return CountrySpec
|
||||
*
|
||||
* @return \Stripe\CountrySpec
|
||||
* @throws Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public static function retrieve($id, $opts = null)
|
||||
{
|
||||
$opts = \Stripe\Util\RequestOptions::parse($opts);
|
||||
$opts = Util\RequestOptions::parse($opts);
|
||||
$instance = new static($id, $opts);
|
||||
$instance->refresh();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user