Файловый менеджер - Редактировать - /home/lakoyani/lakoyani.com.fj/Radar.tar
Назад
RadarServiceFactory.php 0000777 00000001434 14711055716 0011177 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Service\Radar; /** * Service factory class for API resources in the Radar namespace. * * @property EarlyFraudWarningService $earlyFraudWarnings * @property ValueListItemService $valueListItems * @property ValueListService $valueLists */ class RadarServiceFactory extends \Stripe\Service\AbstractServiceFactory { /** * @var array<string, string> */ private static $classMap = [ 'earlyFraudWarnings' => EarlyFraudWarningService::class, 'valueListItems' => ValueListItemService::class, 'valueLists' => ValueListService::class, ]; protected function getServiceClass($name) { return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; } } EarlyFraudWarningService.php 0000777 00000002465 14711055716 0012207 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Service\Radar; class EarlyFraudWarningService extends \Stripe\Service\AbstractService { /** * Returns a list of early fraud warnings. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection<\Stripe\Radar\EarlyFraudWarning> */ public function all($params = null, $opts = null) { return $this->requestCollection('get', '/v1/radar/early_fraud_warnings', $params, $opts); } /** * Retrieves the details of an early fraud warning that has previously been * created. * * Please refer to the <a href="#early_fraud_warning_object">early fraud * warning</a> object reference for more details. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Radar\EarlyFraudWarning */ public function retrieve($id, $params = null, $opts = null) { return $this->request('get', $this->buildPath('/v1/radar/early_fraud_warnings/%s', $id), $params, $opts); } } ValueListService.php 0000777 00000005715 14711055716 0010534 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Service\Radar; class ValueListService extends \Stripe\Service\AbstractService { /** * Returns a list of <code>ValueList</code> objects. The objects are sorted in * descending order by creation date, with the most recently created object * appearing first. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection<\Stripe\Radar\ValueList> */ public function all($params = null, $opts = null) { return $this->requestCollection('get', '/v1/radar/value_lists', $params, $opts); } /** * Creates a new <code>ValueList</code> object, which can then be referenced in * rules. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Radar\ValueList */ public function create($params = null, $opts = null) { return $this->request('post', '/v1/radar/value_lists', $params, $opts); } /** * Deletes a <code>ValueList</code> object, also deleting any items contained * within the value list. To be deleted, a value list must not be referenced in any * rules. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Radar\ValueList */ public function delete($id, $params = null, $opts = null) { return $this->request('delete', $this->buildPath('/v1/radar/value_lists/%s', $id), $params, $opts); } /** * Retrieves a <code>ValueList</code> object. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Radar\ValueList */ public function retrieve($id, $params = null, $opts = null) { return $this->request('get', $this->buildPath('/v1/radar/value_lists/%s', $id), $params, $opts); } /** * Updates a <code>ValueList</code> object by setting the values of the parameters * passed. Any parameters not provided will be left unchanged. Note that * <code>item_type</code> is immutable. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Radar\ValueList */ public function update($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/radar/value_lists/%s', $id), $params, $opts); } } ValueListItemService.php 0000777 00000004452 14711055716 0011350 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Service\Radar; class ValueListItemService extends \Stripe\Service\AbstractService { /** * Returns a list of <code>ValueListItem</code> objects. The objects are sorted in * descending order by creation date, with the most recently created object * appearing first. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection<\Stripe\Radar\ValueListItem> */ public function all($params = null, $opts = null) { return $this->requestCollection('get', '/v1/radar/value_list_items', $params, $opts); } /** * Creates a new <code>ValueListItem</code> object, which is added to the specified * parent value list. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Radar\ValueListItem */ public function create($params = null, $opts = null) { return $this->request('post', '/v1/radar/value_list_items', $params, $opts); } /** * Deletes a <code>ValueListItem</code> object, removing it from its parent value * list. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Radar\ValueListItem */ public function delete($id, $params = null, $opts = null) { return $this->request('delete', $this->buildPath('/v1/radar/value_list_items/%s', $id), $params, $opts); } /** * Retrieves a <code>ValueListItem</code> object. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Radar\ValueListItem */ public function retrieve($id, $params = null, $opts = null) { return $this->request('get', $this->buildPath('/v1/radar/value_list_items/%s', $id), $params, $opts); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка