From e849dad618d0a82298b4e6327966562732eb3184 Mon Sep 17 00:00:00 2001
From: Dominic Charley-Roy <78050200+dcr-stripe@users.noreply.github.com>
Date: Thu, 5 May 2022 12:02:32 -0400
Subject: [PATCH] API Updates (#1282)
---
lib/Product.php | 1 +
lib/Refund.php | 1 +
2 files changed, 2 insertions(+)
diff --git a/lib/Product.php b/lib/Product.php
index bd1025b3e..d3d21634c 100644
--- a/lib/Product.php
+++ b/lib/Product.php
@@ -27,6 +27,7 @@
* @property null|string $caption A short one-line description of the product, meant to be displayable to the customer. Only applicable to products of type=good
.
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
* @property string[] $deactivate_on An array of connect application identifiers that cannot purchase this product. Only applicable to products of type=good
.
+ * @property null|string|\Stripe\Price $default_price The ID of the Price object that is the default price for this product.
* @property null|string $description The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
* @property string[] $images A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
* @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.
diff --git a/lib/Refund.php b/lib/Refund.php
index f8bfae6e4..4c640119f 100644
--- a/lib/Refund.php
+++ b/lib/Refund.php
@@ -21,6 +21,7 @@
* @property string $description An arbitrary string attached to the object. Often useful for displaying to users. (Available on non-card refunds only)
* @property string|\Stripe\BalanceTransaction $failure_balance_transaction If the refund failed, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction.
* @property string $failure_reason If the refund failed, the reason for refund failure if known. Possible values are lost_or_stolen_card
, expired_or_canceled_card
, or unknown
.
+ * @property string $instructions_email Email to which refund instructions, if required, are sent to.
* @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* @property \Stripe\StripeObject $next_action
* @property null|string|\Stripe\PaymentIntent $payment_intent ID of the PaymentIntent that was refunded.