Server : Apache System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64 User : tradze ( 1001) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/tradze/www/test.tradze.com/Backup25feb2025/vendor/stripe-php/lib/ |
<?php
namespace Stripe;
/**
* Class CountrySpec
*
* @property string $id
* @property string $object
* @property string $default_currency
* @property mixed $supported_bank_account_currencies
* @property string[] $supported_payment_currencies
* @property string[] $supported_payment_methods
* @property mixed $verification_fields
*
* @package Stripe
*/
class CountrySpec extends ApiResource
{
/**
* This is a special case because the country specs endpoint has an
* underscore in it. The parent `className` function strips underscores.
*
* @return string The name of the class.
*/
public static function className()
{
return 'country_spec';
}
/**
* @param array|string $country The ISO country code of the country we
* retrieve the country specfication for, or an options array
* containing an `id` containing that code.
* @param array|string|null $opts
*
* @return CountrySpec
*/
public static function retrieve($country, $opts = null)
{
return self::_retrieve($country, $opts);
}
/**
* @param array|null $params
* @param array|string|null $opts
*
* @return Collection of CountrySpecs
*/
public static function all($params = null, $opts = null)
{
return self::_all($params, $opts);
}
}