From 72519dd8f90aa5d6e82a9260a6d21bc98447f7e5 Mon Sep 17 00:00:00 2001 From: Kamil Pajdzik <99290280+kamil-stripe@users.noreply.github.com> Date: Mon, 25 Jul 2022 07:37:41 -0700 Subject: [PATCH] API Updates (#1332) --- OPENAPI_VERSION | 2 +- lib/Customer.php | 2 ++ lib/Service/PaymentIntentService.php | 4 ---- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index f95a4f0ea..6fa005db0 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v165 \ No newline at end of file +v172 \ No newline at end of file diff --git a/lib/Customer.php b/lib/Customer.php index 4ea4df4c9..a75ba63fc 100644 --- a/lib/Customer.php +++ b/lib/Customer.php @@ -19,11 +19,13 @@ * @property null|\Stripe\CashBalance $cash_balance The current funds being held by Stripe on behalf of the customer. These funds can be applied towards payment intents with source "cash_balance".The settings[reconciliation_mode] field describes whether these funds are applied to such payment intents manually or automatically. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string $currency Three-letter ISO code for the currency the customer can be charged in for recurring billing purposes. + * @property null|string $default_currency The default three-letter ISO code for the currency that the customer will be charged in for billing purposes. * @property null|string|\Stripe\Account|\Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source $default_source
ID of the default payment source for the customer.
If you are using payment methods created via the PaymentMethods API, see the invoice_settings.default_payment_method field instead.
* @property null|bool $delinquentWhen the customer's latest invoice is billed by charging automatically, delinquent
is true
if the invoice's latest charge failed. When the customer's latest invoice is billed by sending an invoice, delinquent
is true
if the invoice isn't paid by its due date.
If an invoice is marked uncollectible by dunning, delinquent
doesn't get reset to false
.
true
if the object exists in live mode or the value false
if the object exists in test mode.
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