Файловый менеджер - Редактировать - /home/lakoyani/lakoyani.com.fj/Reporting.tar
Назад
ReportType.php 0000777 00000004254 14711037205 0007406 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Reporting; /** * The Report Type resource corresponds to a particular type of report, such as * the "Activity summary" or "Itemized payouts" reports. These objects are * identified by an ID belonging to a set of enumerated values. See * <a href="https://stripe.com/docs/reporting/statements/api">API Access to Reports documentation</a> * for those Report Type IDs, along with required and optional parameters. * * Note that certain report types can only be run based on your live-mode data (not test-mode * data), and will error when queried without a <a href="https://stripe.com/docs/keys#test-live-modes">live-mode API key</a>. * * @property string $id The <a href="https://stripe.com/docs/reporting/statements/api#available-report-types">ID of the Report Type</a>, such as <code>balance.summary.1</code>. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property int $data_available_end Most recent time for which this Report Type is available. Measured in seconds since the Unix epoch. * @property int $data_available_start Earliest time for which this Report Type is available. Measured in seconds since the Unix epoch. * @property null|string[] $default_columns List of column names that are included by default when this Report Type gets run. (If the Report Type doesn't support the <code>columns</code> parameter, this will be null.) * @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 $name Human-readable name of the Report Type * @property int $updated When this Report Type was latest updated. Measured in seconds since the Unix epoch. * @property int $version Version of the Report Type. Different versions report with the same ID will have the same purpose, but may take different run parameters or have different result schemas. */ class ReportType extends \Stripe\ApiResource { const OBJECT_NAME = 'reporting.report_type'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Retrieve; } ReportRun.php 0000777 00000004566 14711037205 0007237 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Reporting; /** * The Report Run object represents an instance of a report type generated with * specific run parameters. Once the object is created, Stripe begins processing the report. * When the report has finished running, it will give you a reference to a file * where you can retrieve your results. For an overview, see * <a href="https://stripe.com/docs/reporting/statements/api">API Access to Reports</a>. * * Note that certain report types can only be run based on your live-mode data (not test-mode * data), and will error when queried without a <a href="https://stripe.com/docs/keys#test-live-modes">live-mode API key</a>. * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string $error If something should go wrong during the run, a message about the failure (populated when <code>status=failed</code>). * @property bool $livemode <code>true</code> if the report is run on live mode data and <code>false</code> if it is run on test mode data. * @property \Stripe\StripeObject $parameters * @property string $report_type The ID of the <a href="https://stripe.com/docs/reports/report-types">report type</a> to run, such as <code>"balance.summary.1"</code>. * @property null|\Stripe\File $result The file object representing the result of the report run (populated when <code>status=succeeded</code>). * @property string $status Status of this report run. This will be <code>pending</code> when the run is initially created. When the run finishes, this will be set to <code>succeeded</code> and the <code>result</code> field will be populated. Rarely, we may encounter an error, at which point this will be set to <code>failed</code> and the <code>error</code> field will be populated. * @property null|int $succeeded_at Timestamp at which this run successfully finished (populated when <code>status=succeeded</code>). Measured in seconds since the Unix epoch. */ class ReportRun extends \Stripe\ApiResource { const OBJECT_NAME = 'reporting.report_run'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Create; use \Stripe\ApiOperations\Retrieve; } ReportRunService.php 0000777 00000003311 14711054616 0010550 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Service\Reporting; class ReportRunService extends \Stripe\Service\AbstractService { /** * Returns a list of Report Runs, with the most recent 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\Reporting\ReportRun> */ public function all($params = null, $opts = null) { return $this->requestCollection('get', '/v1/reporting/report_runs', $params, $opts); } /** * Creates a new object and begin running the report. (Certain report types require * a <a href="https://stripe.com/docs/keys#test-live-modes">live-mode API key</a>.). * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Reporting\ReportRun */ public function create($params = null, $opts = null) { return $this->request('post', '/v1/reporting/report_runs', $params, $opts); } /** * Retrieves the details of an existing Report Run. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Reporting\ReportRun */ public function retrieve($id, $params = null, $opts = null) { return $this->request('get', $this->buildPath('/v1/reporting/report_runs/%s', $id), $params, $opts); } } ReportingServiceFactory.php 0000777 00000001241 14711054616 0012111 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Service\Reporting; /** * Service factory class for API resources in the Reporting namespace. * * @property ReportRunService $reportRuns * @property ReportTypeService $reportTypes */ class ReportingServiceFactory extends \Stripe\Service\AbstractServiceFactory { /** * @var array<string, string> */ private static $classMap = [ 'reportRuns' => ReportRunService::class, 'reportTypes' => ReportTypeService::class, ]; protected function getServiceClass($name) { return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; } } ReportTypeService.php 0000777 00000002335 14711054616 0010732 0 ustar 00 <?php // File generated from our OpenAPI spec namespace Stripe\Service\Reporting; class ReportTypeService extends \Stripe\Service\AbstractService { /** * Returns a full list of Report Types. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection<\Stripe\Reporting\ReportType> */ public function all($params = null, $opts = null) { return $this->requestCollection('get', '/v1/reporting/report_types', $params, $opts); } /** * Retrieves the details of a Report Type. (Certain report types require a <a * href="https://stripe.com/docs/keys#test-live-modes">live-mode API key</a>.). * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Reporting\ReportType */ public function retrieve($id, $params = null, $opts = null) { return $this->request('get', $this->buildPath('/v1/reporting/report_types/%s', $id), $params, $opts); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка