From 75160b12821f7f4299cce7f0b69c83c1502ae071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 27 May 2024 13:08:29 +0200 Subject: 2024-02-19 upstream --- .../stripe/stripe-php/lib/Reporting/ReportRun.php | 74 +++++++++++----------- .../stripe/stripe-php/lib/Reporting/ReportType.php | 69 ++++++++++---------- 2 files changed, 72 insertions(+), 71 deletions(-) (limited to 'vendor/stripe/stripe-php/lib/Reporting') diff --git a/vendor/stripe/stripe-php/lib/Reporting/ReportRun.php b/vendor/stripe/stripe-php/lib/Reporting/ReportRun.php index 7c3d2a9..2cf78fa 100644 --- a/vendor/stripe/stripe-php/lib/Reporting/ReportRun.php +++ b/vendor/stripe/stripe-php/lib/Reporting/ReportRun.php @@ -1,37 +1,37 @@ -API Access to - * Reports. - * - * 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 live-mode API key. - * - * @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 status=failed). - * @property bool $livemode true if the report is run on live mode data and false if it is run on test mode data. - * @property \Stripe\StripeObject $parameters - * @property string $report_type The ID of the report type to run, such as "balance.summary.1". - * @property null|\Stripe\File $result The file object representing the result of the report run (populated when status=succeeded). - * @property string $status Status of this report run. This will be pending when the run is initially created. When the run finishes, this will be set to succeeded and the result field will be populated. Rarely, we may encounter an error, at which point this will be set to failed and the error field will be populated. - * @property null|int $succeeded_at Timestamp at which this run successfully finished (populated when status=succeeded). 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; -} +API Access to + * Reports. + * + * 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 live-mode API key. + * + * @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 status=failed). + * @property bool $livemode true if the report is run on live mode data and false if it is run on test mode data. + * @property \Stripe\StripeObject $parameters + * @property string $report_type The ID of the report type to run, such as "balance.summary.1". + * @property null|\Stripe\File $result The file object representing the result of the report run (populated when status=succeeded). + * @property string $status Status of this report run. This will be pending when the run is initially created. When the run finishes, this will be set to succeeded and the result field will be populated. Rarely, we may encounter an error, at which point this will be set to failed and the error field will be populated. + * @property null|int $succeeded_at Timestamp at which this run successfully finished (populated when status=succeeded). 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; +} diff --git a/vendor/stripe/stripe-php/lib/Reporting/ReportType.php b/vendor/stripe/stripe-php/lib/Reporting/ReportType.php index 3bb1460..05a4395 100644 --- a/vendor/stripe/stripe-php/lib/Reporting/ReportType.php +++ b/vendor/stripe/stripe-php/lib/Reporting/ReportType.php @@ -1,34 +1,35 @@ -API Access to Reports - * documentation 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 live-mode API key. - * - * @property string $id The ID of the Report Type, such as balance.summary.1. - * @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 columns parameter, this will be null.) - * @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; -} +API Access to Reports + * documentation 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 live-mode API key. + * + * @property string $id The ID of the Report Type, such as balance.summary.1. + * @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 columns parameter, this will be null.) + * @property bool $livemode Has the value true if the object exists in live mode or the value false 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; +} -- cgit v1.2.3