From c7ebd4ed29b8090d2d8052f80d0e75a19eeaf18e Mon Sep 17 00:00:00 2001
From: Dominic Charley-Roy <78050200+dcr-stripe@users.noreply.github.com>
Date: Fri, 22 Jul 2022 13:55:37 -0400
Subject: [PATCH] API Updates for beta branch (#1331)
---
OPENAPI_VERSION | 2 +-
lib/QuotePhase.php | 2 +-
lib/Service/PaymentIntentService.php | 4 ----
3 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 48af0461c..6fa005db0 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v170
\ No newline at end of file
+v172
\ No newline at end of file
diff --git a/lib/QuotePhase.php b/lib/QuotePhase.php
index 3fa9e6a38..6b2a17bea 100644
--- a/lib/QuotePhase.php
+++ b/lib/QuotePhase.php
@@ -12,7 +12,7 @@
* @property string $object String representing the object's type. Objects of the same type share the same value.
* @property int $amount_subtotal Total before any discounts or taxes are applied.
* @property int $amount_total Total after discounts and taxes are applied.
- * @property null|string $billing_cycle_anchor If set to new
, the billing_cycle_anchor of the subscription is set to the start of the phase when entering the phase. If unset, then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation.
+ * @property null|string $billing_cycle_anchor If set to reset
, the billing_cycle_anchor of the subscription is set to the start of the phase when entering the phase. If unset, then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation.
* @property null|string $collection_method Either charge_automatically
, or send_invoice
. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions.
* @property (string|\Stripe\TaxRate)[] $default_tax_rates The default tax rates to apply to the subscription during this phase of the quote.
* @property (string|\Stripe\Discount)[] $discounts The stackable discounts that will be applied to the subscription on this phase. Subscription item discounts are applied before subscription discounts.
diff --git a/lib/Service/PaymentIntentService.php b/lib/Service/PaymentIntentService.php
index ab8d3a814..cd39c19e8 100644
--- a/lib/Service/PaymentIntentService.php
+++ b/lib/Service/PaymentIntentService.php
@@ -24,10 +24,6 @@ public function all($params = null, $opts = null)
/**
* Manually reconcile the remaining amount for a customer_balance PaymentIntent.
*
- * This can be used when the cash balance for a
- * customer in manual reconciliation mode received funds.
- *
* @param string $id
* @param null|array $params
* @param null|array|\Stripe\Util\RequestOptions $opts