From 07f08ff23f458b761847da097e6e60aaaafe2781 Mon Sep 17 00:00:00 2001
From: pakrym-stripe <99349468+pakrym-stripe@users.noreply.github.com>
Date: Thu, 19 Jan 2023 10:35:53 -0800
Subject: [PATCH] Codegen for openapi v219 (#1424)
---
OPENAPI_VERSION | 2 +-
lib/Event.php | 2 ++
lib/Product.php | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index a75e729f5..f3da18c95 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v216
\ No newline at end of file
+v219
\ No newline at end of file
diff --git a/lib/Event.php b/lib/Event.php
index c934ec2c3..360943f61 100644
--- a/lib/Event.php
+++ b/lib/Event.php
@@ -204,6 +204,8 @@ class Event extends ApiResource
const RECIPIENT_CREATED = 'recipient.created';
const RECIPIENT_DELETED = 'recipient.deleted';
const RECIPIENT_UPDATED = 'recipient.updated';
+ const REFUND_CREATED = 'refund.created';
+ const REFUND_UPDATED = 'refund.updated';
const REPORTING_REPORT_RUN_FAILED = 'reporting.report_run.failed';
const REPORTING_REPORT_RUN_SUCCEEDED = 'reporting.report_run.succeeded';
const REPORTING_REPORT_TYPE_UPDATED = 'reporting.report_type.updated';
diff --git a/lib/Product.php b/lib/Product.php
index d3d21634c..cd135b776 100644
--- a/lib/Product.php
+++ b/lib/Product.php
@@ -38,7 +38,7 @@
* @property null|string $statement_descriptor Extra information about a product which will appear on your customer's credit card statement. In the case that multiple products are billed at once, the first statement descriptor will be used.
* @property null|string|\Stripe\TaxCode $tax_code A tax code ID.
* @property string $type The type of the product. The product is either of type good
, which is eligible for use with Orders and SKUs, or service
, which is eligible for use with Subscriptions and Plans.
- * @property null|string $unit_label A label that represents units of this product in Stripe and on customers’ receipts and invoices. When set, this will be included in associated invoice line item descriptions.
+ * @property null|string $unit_label A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
* @property int $updated Time at which the object was last updated. Measured in seconds since the Unix epoch.
* @property null|string $url A URL of a publicly-accessible webpage for this product.
*/