true
if the object exists in live mode or the value false
if the object exists in test mode.
* @property string $name Friendly display name.
* @property string $status Whether this physical bundle can be used to create cards.
From 7165f64ec1b19cb0ce288d553909cd68d8e6a3b1 Mon Sep 17 00:00:00 2001
From: Ramya Rao Transaction
from a calculation.
+ * Creates a Tax Transaction from a calculation, if that calculation hasn’t
+ * expired. Calculations expire after 90 days.
*
* @param null|array $params
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
From e37f8710d0234222408e2a301bdb8ef984cc66a2 Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Tue, 4 Jun 2024 16:43:14 +0000
Subject: [PATCH 04/18] Update generated code for v1062
---
OPENAPI_VERSION | 2 +-
init.php | 1 -
lib/BalanceTransaction.php | 2 +-
lib/Checkout/Session.php | 4 ++--
lib/PlatformTaxFee.php | 17 -----------------
lib/Service/SetupIntentService.php | 4 +++-
lib/Util/ObjectTypes.php | 1 -
7 files changed, 7 insertions(+), 24 deletions(-)
delete mode 100644 lib/PlatformTaxFee.php
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index fb5fdc81b..8770aaa0a 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1060
\ No newline at end of file
+v1062
\ No newline at end of file
diff --git a/init.php b/init.php
index c78f8ce2d..0439b7e86 100644
--- a/init.php
+++ b/init.php
@@ -169,7 +169,6 @@
require __DIR__ . '/lib/Payout.php';
require __DIR__ . '/lib/Person.php';
require __DIR__ . '/lib/Plan.php';
-require __DIR__ . '/lib/PlatformTaxFee.php';
require __DIR__ . '/lib/Price.php';
require __DIR__ . '/lib/Product.php';
require __DIR__ . '/lib/ProductFeature.php';
diff --git a/lib/BalanceTransaction.php b/lib/BalanceTransaction.php
index d88cf9b52..5691d9573 100644
--- a/lib/BalanceTransaction.php
+++ b/lib/BalanceTransaction.php
@@ -22,7 +22,7 @@
* @property \Stripe\StripeObject[] $fee_details Detailed breakdown of fees (in cents (or local equivalent)) paid for this transaction.
* @property int $net Net impact to a Stripe balance (in cents (or local equivalent)). A positive value represents incrementing a Stripe balance, and a negative value decrementing a Stripe balance. You can calculate the net impact of a transaction on a balance by amount
- fee
* @property string $reporting_category Learn more about how reporting categories can help you understand balance transactions from an accounting perspective.
- * @property null|string|\Stripe\ApplicationFee|\Stripe\ApplicationFeeRefund|\Stripe\Charge|\Stripe\ConnectCollectionTransfer|\Stripe\CustomerCashBalanceTransaction|\Stripe\Dispute|\Stripe\Issuing\Authorization|\Stripe\Issuing\Dispute|\Stripe\Issuing\Transaction|\Stripe\Payout|\Stripe\PlatformTaxFee|\Stripe\Refund|\Stripe\ReserveTransaction|\Stripe\TaxDeductedAtSource|\Stripe\Topup|\Stripe\Transfer|\Stripe\TransferReversal $source This transaction relates to the Stripe object.
+ * @property null|string|\Stripe\ApplicationFee|\Stripe\ApplicationFeeRefund|\Stripe\Charge|\Stripe\ConnectCollectionTransfer|\Stripe\CustomerCashBalanceTransaction|\Stripe\Dispute|\Stripe\Issuing\Authorization|\Stripe\Issuing\Dispute|\Stripe\Issuing\Transaction|\Stripe\Payout|\Stripe\Refund|\Stripe\ReserveTransaction|\Stripe\TaxDeductedAtSource|\Stripe\Topup|\Stripe\Transfer|\Stripe\TransferReversal $source This transaction relates to the Stripe object.
* @property string $status The transaction's net funds status in the Stripe balance, which are either available
or pending
.
* @property string $type Transaction type: adjustment
, advance
, advance_funding
, anticipation_repayment
, application_fee
, application_fee_refund
, charge
, climate_order_purchase
, climate_order_refund
, connect_collection_transfer
, contribution
, issuing_authorization_hold
, issuing_authorization_release
, issuing_dispute
, issuing_transaction
, obligation_outbound
, obligation_reversal_inbound
, payment
, payment_failure_refund
, payment_network_reserve_hold
, payment_network_reserve_release
, payment_refund
, payment_reversal
, payment_unreconciled
, payout
, payout_cancel
, payout_failure
, refund
, refund_failure
, reserve_transaction
, reserved_funds
, stripe_fee
, stripe_fx_fee
, tax_fee
, topup
, topup_reversal
, transfer
, transfer_cancel
, transfer_failure
, or transfer_refund
. Learn more about balance transaction types and what they represent. To classify transactions for accounting purposes, consider reporting_category
instead.
*/
diff --git a/lib/Checkout/Session.php b/lib/Checkout/Session.php
index e9101421e..b66c1ead8 100644
--- a/lib/Checkout/Session.php
+++ b/lib/Checkout/Session.php
@@ -50,7 +50,7 @@
* @property null|string $locale The IETF language tag of the locale Checkout is displayed in. If blank or auto
, the browser's locale is used.
* @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 string $mode The mode of the Checkout Session.
- * @property null|string|\Stripe\PaymentIntent $payment_intent The ID of the PaymentIntent for Checkout Sessions in payment
mode.
+ * @property null|string|\Stripe\PaymentIntent $payment_intent The ID of the PaymentIntent for Checkout Sessions in payment
mode. You can't confirm or cancel the PaymentIntent for a Checkout Session. To cancel, expire the Checkout Session instead.
* @property null|string|\Stripe\PaymentLink $payment_link The ID of the Payment Link that created this Session.
* @property null|string $payment_method_collection Configure whether a Checkout Session should collect a payment method. Defaults to always
.
* @property null|\Stripe\StripeObject $payment_method_configuration_details Information about the payment method configuration used for this Checkout session if using dynamic payment methods.
@@ -62,7 +62,7 @@
* @property null|string $redirect_on_completion This parameter applies to ui_mode: embedded
. Learn more about the redirect behavior of embedded sessions. Defaults to always
.
* @property null|string $return_url Applies to Checkout Sessions with ui_mode: embedded
. The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site.
* @property null|\Stripe\StripeObject $saved_payment_method_options Controls saved payment method settings for the session. Only available in payment
and subscription
mode.
- * @property null|string|\Stripe\SetupIntent $setup_intent The ID of the SetupIntent for Checkout Sessions in setup
mode.
+ * @property null|string|\Stripe\SetupIntent $setup_intent The ID of the SetupIntent for Checkout Sessions in setup
mode. You can't confirm or cancel the SetupIntent for a Checkout Session. To cancel, expire the Checkout Session instead.
* @property null|\Stripe\StripeObject $shipping_address_collection When set, provides configuration for Checkout to collect a shipping address from a customer.
* @property null|\Stripe\StripeObject $shipping_cost The details of the customer cost of shipping, including the customer chosen ShippingRate.
* @property null|\Stripe\StripeObject $shipping_details Shipping information for this Checkout Session.
diff --git a/lib/PlatformTaxFee.php b/lib/PlatformTaxFee.php
deleted file mode 100644
index cb9fea7db..000000000
--- a/lib/PlatformTaxFee.php
+++ /dev/null
@@ -1,17 +0,0 @@
-requires_action.
*
* After you cancel it, setup is abandoned and any operations on the SetupIntent
- * fail with an error.
+ * fail with an error. You can’t cancel the SetupIntent for a Checkout Session. Expire the Checkout Session
+ * instead.
*
* @param string $id
* @param null|array $params
diff --git a/lib/Util/ObjectTypes.php b/lib/Util/ObjectTypes.php
index 8ebb68fbc..85589ad7e 100644
--- a/lib/Util/ObjectTypes.php
+++ b/lib/Util/ObjectTypes.php
@@ -101,7 +101,6 @@ class ObjectTypes
\Stripe\Payout::OBJECT_NAME => \Stripe\Payout::class,
\Stripe\Person::OBJECT_NAME => \Stripe\Person::class,
\Stripe\Plan::OBJECT_NAME => \Stripe\Plan::class,
- \Stripe\PlatformTaxFee::OBJECT_NAME => \Stripe\PlatformTaxFee::class,
\Stripe\Price::OBJECT_NAME => \Stripe\Price::class,
\Stripe\Product::OBJECT_NAME => \Stripe\Product::class,
\Stripe\ProductFeature::OBJECT_NAME => \Stripe\ProductFeature::class,
From 7c368f54adbd6f09261e247c288abbfd61dbf340 Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Tue, 4 Jun 2024 21:54:06 +0000
Subject: [PATCH 05/18] Update generated code for v1062
---
lib/Util/ApiVersion.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Util/ApiVersion.php b/lib/Util/ApiVersion.php
index df272af93..e180c3166 100644
--- a/lib/Util/ApiVersion.php
+++ b/lib/Util/ApiVersion.php
@@ -7,5 +7,5 @@
class ApiVersion
{
const CURRENT = '2024-04-10';
- const PREVIEW = '2024-04-11.preview-v2';
+ const PREVIEW = '2024-05-23.preview-v2';
}
From a7dd55dab4614e85f740a75c8b1d63c9e3f5f929 Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Wed, 5 Jun 2024 14:33:39 +0000
Subject: [PATCH 06/18] Update generated code for v1062
---
init.php | 1 +
lib/BalanceTransaction.php | 2 +-
lib/PlatformTaxFee.php | 17 +++++++++++++++++
lib/Util/ObjectTypes.php | 1 +
4 files changed, 20 insertions(+), 1 deletion(-)
create mode 100644 lib/PlatformTaxFee.php
diff --git a/init.php b/init.php
index 0439b7e86..c78f8ce2d 100644
--- a/init.php
+++ b/init.php
@@ -169,6 +169,7 @@
require __DIR__ . '/lib/Payout.php';
require __DIR__ . '/lib/Person.php';
require __DIR__ . '/lib/Plan.php';
+require __DIR__ . '/lib/PlatformTaxFee.php';
require __DIR__ . '/lib/Price.php';
require __DIR__ . '/lib/Product.php';
require __DIR__ . '/lib/ProductFeature.php';
diff --git a/lib/BalanceTransaction.php b/lib/BalanceTransaction.php
index 5691d9573..d88cf9b52 100644
--- a/lib/BalanceTransaction.php
+++ b/lib/BalanceTransaction.php
@@ -22,7 +22,7 @@
* @property \Stripe\StripeObject[] $fee_details Detailed breakdown of fees (in cents (or local equivalent)) paid for this transaction.
* @property int $net Net impact to a Stripe balance (in cents (or local equivalent)). A positive value represents incrementing a Stripe balance, and a negative value decrementing a Stripe balance. You can calculate the net impact of a transaction on a balance by amount
- fee
* @property string $reporting_category Learn more about how reporting categories can help you understand balance transactions from an accounting perspective.
- * @property null|string|\Stripe\ApplicationFee|\Stripe\ApplicationFeeRefund|\Stripe\Charge|\Stripe\ConnectCollectionTransfer|\Stripe\CustomerCashBalanceTransaction|\Stripe\Dispute|\Stripe\Issuing\Authorization|\Stripe\Issuing\Dispute|\Stripe\Issuing\Transaction|\Stripe\Payout|\Stripe\Refund|\Stripe\ReserveTransaction|\Stripe\TaxDeductedAtSource|\Stripe\Topup|\Stripe\Transfer|\Stripe\TransferReversal $source This transaction relates to the Stripe object.
+ * @property null|string|\Stripe\ApplicationFee|\Stripe\ApplicationFeeRefund|\Stripe\Charge|\Stripe\ConnectCollectionTransfer|\Stripe\CustomerCashBalanceTransaction|\Stripe\Dispute|\Stripe\Issuing\Authorization|\Stripe\Issuing\Dispute|\Stripe\Issuing\Transaction|\Stripe\Payout|\Stripe\PlatformTaxFee|\Stripe\Refund|\Stripe\ReserveTransaction|\Stripe\TaxDeductedAtSource|\Stripe\Topup|\Stripe\Transfer|\Stripe\TransferReversal $source This transaction relates to the Stripe object.
* @property string $status The transaction's net funds status in the Stripe balance, which are either available
or pending
.
* @property string $type Transaction type: adjustment
, advance
, advance_funding
, anticipation_repayment
, application_fee
, application_fee_refund
, charge
, climate_order_purchase
, climate_order_refund
, connect_collection_transfer
, contribution
, issuing_authorization_hold
, issuing_authorization_release
, issuing_dispute
, issuing_transaction
, obligation_outbound
, obligation_reversal_inbound
, payment
, payment_failure_refund
, payment_network_reserve_hold
, payment_network_reserve_release
, payment_refund
, payment_reversal
, payment_unreconciled
, payout
, payout_cancel
, payout_failure
, refund
, refund_failure
, reserve_transaction
, reserved_funds
, stripe_fee
, stripe_fx_fee
, tax_fee
, topup
, topup_reversal
, transfer
, transfer_cancel
, transfer_failure
, or transfer_refund
. Learn more about balance transaction types and what they represent. To classify transactions for accounting purposes, consider reporting_category
instead.
*/
diff --git a/lib/PlatformTaxFee.php b/lib/PlatformTaxFee.php
new file mode 100644
index 000000000..cb9fea7db
--- /dev/null
+++ b/lib/PlatformTaxFee.php
@@ -0,0 +1,17 @@
+ \Stripe\Payout::class,
\Stripe\Person::OBJECT_NAME => \Stripe\Person::class,
\Stripe\Plan::OBJECT_NAME => \Stripe\Plan::class,
+ \Stripe\PlatformTaxFee::OBJECT_NAME => \Stripe\PlatformTaxFee::class,
\Stripe\Price::OBJECT_NAME => \Stripe\Price::class,
\Stripe\Product::OBJECT_NAME => \Stripe\Product::class,
\Stripe\ProductFeature::OBJECT_NAME => \Stripe\ProductFeature::class,
From 1e3f2fdd40e97a1e6c23a3396c47bab32b16b13a Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Thu, 6 Jun 2024 16:55:11 +0000
Subject: [PATCH 07/18] Update generated code for v1063
---
OPENAPI_VERSION | 2 +-
lib/Service/Climate/OrderService.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 8770aaa0a..7e826719a 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1062
\ No newline at end of file
+v1063
\ No newline at end of file
diff --git a/lib/Service/Climate/OrderService.php b/lib/Service/Climate/OrderService.php
index 385f266e6..1e42e9423 100644
--- a/lib/Service/Climate/OrderService.php
+++ b/lib/Service/Climate/OrderService.php
@@ -29,7 +29,7 @@ public function all($params = null, $opts = null)
}
/**
- * Cancels a Climate order. You can cancel an order within 30 days of creation.
+ * Cancels a Climate order. You can cancel an order within 24 hours of creation.
* Stripe refunds the reservation amount_subtotal
, but not the
* amount_fees
for user-triggered cancellations. Frontier might cancel
* reservations if suppliers fail to deliver. If Frontier cancels the reservation,
From 89cd283fb29e3149e57a388e76a39545ff301d44 Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Thu, 6 Jun 2024 22:14:01 +0000
Subject: [PATCH 08/18] Update generated code for v1066
---
OPENAPI_VERSION | 2 +-
lib/Subscription.php | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 7e826719a..4b3a898a3 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1063
\ No newline at end of file
+v1066
\ No newline at end of file
diff --git a/lib/Subscription.php b/lib/Subscription.php
index 5d9148319..c16603af9 100644
--- a/lib/Subscription.php
+++ b/lib/Subscription.php
@@ -35,6 +35,7 @@
* @property null|\Stripe\Discount $discount Describes the current discount applied to this subscription, if there is one. When billing, a discount applied to a subscription overrides a discount applied on a customer-wide basis. This field has been deprecated and will be removed in a future API version. Use discounts
instead.
* @property (string|\Stripe\Discount)[] $discounts The discounts applied to the subscription. Subscription item discounts are applied before subscription discounts. Use expand[]=discounts
to expand each discount.
* @property null|int $ended_at If the subscription has ended, the date the subscription ended.
+ * @property \Stripe\StripeObject $invoice_settings
* @property \Stripe\Collection<\Stripe\SubscriptionItem> $items List of subscription items, each with an attached price.
* @property null|string|\Stripe\Invoice $latest_invoice The most recent invoice this subscription has generated.
* @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.
From eb1e7f5d6099db15c2e9317ed9ec653b570c5afb Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Fri, 7 Jun 2024 07:41:36 +0000
Subject: [PATCH 09/18] Update generated code for v1068
---
OPENAPI_VERSION | 2 +-
lib/ShippingRate.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 4b3a898a3..ffca595a9 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1066
\ No newline at end of file
+v1068
\ No newline at end of file
diff --git a/lib/ShippingRate.php b/lib/ShippingRate.php
index c35964426..e90b40c03 100644
--- a/lib/ShippingRate.php
+++ b/lib/ShippingRate.php
@@ -19,7 +19,7 @@
* @property \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 null|string $tax_behavior Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of inclusive
, exclusive
, or unspecified
.
* @property null|string|\Stripe\TaxCode $tax_code A tax code ID. The Shipping tax code is txcd_92010001
.
- * @property string $type The type of calculation to use on the shipping rate. Can only be fixed_amount
for now.
+ * @property string $type The type of calculation to use on the shipping rate.
*/
class ShippingRate extends ApiResource
{
From 8024ad80da3385424045027c3a2073971db7959e Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Fri, 7 Jun 2024 15:17:54 +0000
Subject: [PATCH 10/18] Update generated code for v1069
---
OPENAPI_VERSION | 2 +-
lib/TaxId.php | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index ffca595a9..c546986fe 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1068
\ No newline at end of file
+v1069
\ No newline at end of file
diff --git a/lib/TaxId.php b/lib/TaxId.php
index 28fa8569b..18a214c83 100644
--- a/lib/TaxId.php
+++ b/lib/TaxId.php
@@ -17,7 +17,7 @@
* @property null|string|\Stripe\Customer $customer ID of 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.
* @property null|\Stripe\StripeObject $owner The account or customer the tax ID belongs to.
- * @property string $type Type of the tax ID, one of ad_nrt
, ae_trn
, ar_cuit
, au_abn
, au_arn
, bg_uic
, bh_vat
, bo_tin
, br_cnpj
, br_cpf
, ca_bn
, ca_gst_hst
, ca_pst_bc
, ca_pst_mb
, ca_pst_sk
, ca_qst
, ch_vat
, cl_tin
, cn_tin
, co_nit
, cr_tin
, do_rcn
, ec_ruc
, eg_tin
, es_cif
, eu_oss_vat
, eu_vat
, gb_vat
, ge_vat
, hk_br
, hu_tin
, id_npwp
, il_vat
, in_gst
, is_vat
, jp_cn
, jp_rn
, jp_trn
, ke_pin
, kr_brn
, kz_bin
, li_uid
, mx_rfc
, my_frp
, my_itn
, my_sst
, ng_tin
, no_vat
, no_voec
, nz_gst
, om_vat
, pe_ruc
, ph_tin
, ro_tin
, rs_pib
, ru_inn
, ru_kpp
, sa_vat
, sg_gst
, sg_uen
, si_tin
, sv_nit
, th_vat
, tr_tin
, tw_vat
, ua_vat
, us_ein
, uy_ruc
, ve_rif
, vn_tin
, or za_vat
. Note that some legacy tax IDs have type unknown
+ * @property string $type Type of the tax ID, one of ad_nrt
, ae_trn
, ar_cuit
, au_abn
, au_arn
, bg_uic
, bh_vat
, bo_tin
, br_cnpj
, br_cpf
, ca_bn
, ca_gst_hst
, ca_pst_bc
, ca_pst_mb
, ca_pst_sk
, ca_qst
, ch_vat
, cl_tin
, cn_tin
, co_nit
, cr_tin
, de_stn
, do_rcn
, ec_ruc
, eg_tin
, es_cif
, eu_oss_vat
, eu_vat
, gb_vat
, ge_vat
, hk_br
, hu_tin
, id_npwp
, il_vat
, in_gst
, is_vat
, jp_cn
, jp_rn
, jp_trn
, ke_pin
, kr_brn
, kz_bin
, li_uid
, mx_rfc
, my_frp
, my_itn
, my_sst
, ng_tin
, no_vat
, no_voec
, nz_gst
, om_vat
, pe_ruc
, ph_tin
, ro_tin
, rs_pib
, ru_inn
, ru_kpp
, sa_vat
, sg_gst
, sg_uen
, si_tin
, sv_nit
, th_vat
, tr_tin
, tw_vat
, ua_vat
, us_ein
, uy_ruc
, ve_rif
, vn_tin
, or za_vat
. Note that some legacy tax IDs have type unknown
* @property string $value Value of the tax ID.
* @property null|\Stripe\StripeObject $verification Tax ID verification information.
*/
@@ -46,6 +46,7 @@ class TaxId extends ApiResource
const TYPE_CN_TIN = 'cn_tin';
const TYPE_CO_NIT = 'co_nit';
const TYPE_CR_TIN = 'cr_tin';
+ const TYPE_DE_STN = 'de_stn';
const TYPE_DO_RCN = 'do_rcn';
const TYPE_EC_RUC = 'ec_ruc';
const TYPE_EG_TIN = 'eg_tin';
From b45dfea9fda58708c1500b74b5a02429d925435d Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Fri, 7 Jun 2024 19:27:31 +0000
Subject: [PATCH 11/18] Update generated code for v1071
---
OPENAPI_VERSION | 2 +-
lib/BankAccount.php | 3 +--
lib/Token.php | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index c546986fe..0fdcb0230 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1069
\ No newline at end of file
+v1071
\ No newline at end of file
diff --git a/lib/BankAccount.php b/lib/BankAccount.php
index 9654c7656..ce536a405 100644
--- a/lib/BankAccount.php
+++ b/lib/BankAccount.php
@@ -8,8 +8,7 @@
* These bank accounts are payment methods on Customer
objects.
*
* On the other hand External Accounts are transfer
- * destinations on Account
objects for accounts where controller.requirement_collection
- * is application
, which includes Custom accounts.
+ * destinations on Account
objects for connected accounts.
* They can be bank accounts or debit cards as well, and are documented in the links above.
*
* Related guide: Bank debits and transfers
diff --git a/lib/Token.php b/lib/Token.php
index a4e6516da..7c2fb83a5 100644
--- a/lib/Token.php
+++ b/lib/Token.php
@@ -28,7 +28,7 @@
*
* @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 null|\Stripe\BankAccount $bank_account These bank accounts are payment methods on Customer
objects.
On the other hand External Accounts are transfer destinations on Account
objects for accounts where controller.requirement_collection is application
, which includes Custom accounts. They can be bank accounts or debit cards as well, and are documented in the links above.
Related guide: Bank debits and transfers
+ * @property null|\Stripe\BankAccount $bank_accountThese bank accounts are payment methods on Customer
objects.
On the other hand External Accounts are transfer destinations on Account
objects for connected accounts. They can be bank accounts or debit cards as well, and are documented in the links above.
Related guide: Bank debits and transfers
* @property null|\Stripe\Card $cardYou can store multiple cards on a customer in order to charge the customer later. You can also store multiple debit cards on a recipient in order to transfer to those cards later.
Related guide: Card payments with Sources
* @property null|string $client_ip IP address of the client that generates the token. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. From 93b5bd5da648dfacce7a7bb3dec7ec8653931ccd Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Tue, 11 Jun 2024 16:36:03 +0000 Subject: [PATCH 12/18] Update generated code for v1076 --- OPENAPI_VERSION | 2 +- lib/QuoteLine.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 0fdcb0230..55ad15f2f 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1071 \ No newline at end of file +v1076 \ No newline at end of file diff --git a/lib/QuoteLine.php b/lib/QuoteLine.php index 45dd67920..2326dbdb3 100644 --- a/lib/QuoteLine.php +++ b/lib/QuoteLine.php @@ -11,7 +11,7 @@ * @property string $object String representing the object's type. Objects of the same type share the same value. * @property null|\Stripe\StripeObject[] $actions A list of items the customer is being quoted for. * @property null|\Stripe\StripeObject $applies_to Details to identify the subscription schedule the quote line applies to. - * @property null|string $billing_cycle_anchor For a point-in-time operation, this attribute lets you set or update whether the subscription's billing cycle anchor is reset at thestarts_at
timestamp.
+ * @property null|string $billing_cycle_anchor For point-in-time quote lines (having no ends_at
timestamp), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the Quote Line starts_at
timestamp.For time-span based quote lines (having both starts_at
and ends_at
), the only valid value is automatic
, which removes any previously configured billing cycle anchor resets during the window of time spanning the quote line.
* @property null|\Stripe\StripeObject $cancel_subscription_schedule A point-in-time operation that cancels an existing subscription schedule at the line's starts_at timestamp. Currently only compatible with quote_acceptance_date
for starts_at
. When using cancel_subscription_schedule, the subscription schedule on the quote remains unalterable, except for modifications to the metadata, collection_method or invoice_settings.
* @property null|\Stripe\StripeObject $ends_at Details to identify the end of the time range modified by the proposed change. If not supplied, the quote line is considered a point-in-time operation that only affects the exact timestamp at starts_at
, and a restricted set of attributes is supported on the quote line.
* @property null|string $proration_behavior Changes to how Stripe handles prorations during the quote line's time span. Affects if and how prorations are created when a future phase starts.
From 0ef3c6a9631c2c5f3f912714c994b2fb44789f38 Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Wed, 12 Jun 2024 19:14:16 +0000
Subject: [PATCH 13/18] Update generated code for v1077
---
OPENAPI_VERSION | 2 +-
init.php | 1 -
lib/BalanceTransaction.php | 2 +-
lib/PlatformTaxFee.php | 17 -----------------
lib/Util/ObjectTypes.php | 1 -
5 files changed, 2 insertions(+), 21 deletions(-)
delete mode 100644 lib/PlatformTaxFee.php
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 55ad15f2f..ebd06a813 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1076
\ No newline at end of file
+v1077
\ No newline at end of file
diff --git a/init.php b/init.php
index c78f8ce2d..0439b7e86 100644
--- a/init.php
+++ b/init.php
@@ -169,7 +169,6 @@
require __DIR__ . '/lib/Payout.php';
require __DIR__ . '/lib/Person.php';
require __DIR__ . '/lib/Plan.php';
-require __DIR__ . '/lib/PlatformTaxFee.php';
require __DIR__ . '/lib/Price.php';
require __DIR__ . '/lib/Product.php';
require __DIR__ . '/lib/ProductFeature.php';
diff --git a/lib/BalanceTransaction.php b/lib/BalanceTransaction.php
index d88cf9b52..5691d9573 100644
--- a/lib/BalanceTransaction.php
+++ b/lib/BalanceTransaction.php
@@ -22,7 +22,7 @@
* @property \Stripe\StripeObject[] $fee_details Detailed breakdown of fees (in cents (or local equivalent)) paid for this transaction.
* @property int $net Net impact to a Stripe balance (in cents (or local equivalent)). A positive value represents incrementing a Stripe balance, and a negative value decrementing a Stripe balance. You can calculate the net impact of a transaction on a balance by amount
- fee
* @property string $reporting_category Learn more about how reporting categories can help you understand balance transactions from an accounting perspective.
- * @property null|string|\Stripe\ApplicationFee|\Stripe\ApplicationFeeRefund|\Stripe\Charge|\Stripe\ConnectCollectionTransfer|\Stripe\CustomerCashBalanceTransaction|\Stripe\Dispute|\Stripe\Issuing\Authorization|\Stripe\Issuing\Dispute|\Stripe\Issuing\Transaction|\Stripe\Payout|\Stripe\PlatformTaxFee|\Stripe\Refund|\Stripe\ReserveTransaction|\Stripe\TaxDeductedAtSource|\Stripe\Topup|\Stripe\Transfer|\Stripe\TransferReversal $source This transaction relates to the Stripe object.
+ * @property null|string|\Stripe\ApplicationFee|\Stripe\ApplicationFeeRefund|\Stripe\Charge|\Stripe\ConnectCollectionTransfer|\Stripe\CustomerCashBalanceTransaction|\Stripe\Dispute|\Stripe\Issuing\Authorization|\Stripe\Issuing\Dispute|\Stripe\Issuing\Transaction|\Stripe\Payout|\Stripe\Refund|\Stripe\ReserveTransaction|\Stripe\TaxDeductedAtSource|\Stripe\Topup|\Stripe\Transfer|\Stripe\TransferReversal $source This transaction relates to the Stripe object.
* @property string $status The transaction's net funds status in the Stripe balance, which are either available
or pending
.
* @property string $type Transaction type: adjustment
, advance
, advance_funding
, anticipation_repayment
, application_fee
, application_fee_refund
, charge
, climate_order_purchase
, climate_order_refund
, connect_collection_transfer
, contribution
, issuing_authorization_hold
, issuing_authorization_release
, issuing_dispute
, issuing_transaction
, obligation_outbound
, obligation_reversal_inbound
, payment
, payment_failure_refund
, payment_network_reserve_hold
, payment_network_reserve_release
, payment_refund
, payment_reversal
, payment_unreconciled
, payout
, payout_cancel
, payout_failure
, refund
, refund_failure
, reserve_transaction
, reserved_funds
, stripe_fee
, stripe_fx_fee
, tax_fee
, topup
, topup_reversal
, transfer
, transfer_cancel
, transfer_failure
, or transfer_refund
. Learn more about balance transaction types and what they represent. To classify transactions for accounting purposes, consider reporting_category
instead.
*/
diff --git a/lib/PlatformTaxFee.php b/lib/PlatformTaxFee.php
deleted file mode 100644
index cb9fea7db..000000000
--- a/lib/PlatformTaxFee.php
+++ /dev/null
@@ -1,17 +0,0 @@
- \Stripe\Payout::class,
\Stripe\Person::OBJECT_NAME => \Stripe\Person::class,
\Stripe\Plan::OBJECT_NAME => \Stripe\Plan::class,
- \Stripe\PlatformTaxFee::OBJECT_NAME => \Stripe\PlatformTaxFee::class,
\Stripe\Price::OBJECT_NAME => \Stripe\Price::class,
\Stripe\Product::OBJECT_NAME => \Stripe\Product::class,
\Stripe\ProductFeature::OBJECT_NAME => \Stripe\ProductFeature::class,
From 99fbf1bbbdcd0e4fcc3153b6ddbc98d43ef1127e Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Wed, 12 Jun 2024 19:39:10 +0000
Subject: [PATCH 14/18] Update generated code for v1077
---
init.php | 1 +
lib/BalanceTransaction.php | 2 +-
lib/PlatformTaxFee.php | 17 +++++++++++++++++
lib/Service/AccountLinkService.php | 2 --
lib/Service/AccountNoticeService.php | 2 --
lib/Service/AccountService.php | 2 --
lib/Service/AccountSessionService.php | 2 --
lib/Service/ApplePayDomainService.php | 2 --
lib/Service/ApplicationFeeService.php | 2 --
lib/Service/Apps/SecretService.php | 2 --
lib/Service/BalanceService.php | 2 --
lib/Service/BalanceTransactionService.php | 2 --
.../Billing/MeterEventAdjustmentService.php | 2 --
lib/Service/Billing/MeterEventService.php | 2 --
lib/Service/Billing/MeterService.php | 2 --
.../BillingPortal/ConfigurationService.php | 2 --
lib/Service/BillingPortal/SessionService.php | 2 --
lib/Service/Capital/FinancingOfferService.php | 2 --
lib/Service/Capital/FinancingSummaryService.php | 2 --
.../Capital/FinancingTransactionService.php | 2 --
lib/Service/ChargeService.php | 2 --
lib/Service/Checkout/SessionService.php | 2 --
lib/Service/Climate/OrderService.php | 2 --
lib/Service/Climate/ProductService.php | 2 --
lib/Service/Climate/SupplierService.php | 2 --
lib/Service/ConfirmationTokenService.php | 2 --
lib/Service/CountrySpecService.php | 2 --
lib/Service/CouponService.php | 2 --
lib/Service/CreditNoteService.php | 2 --
lib/Service/CustomerService.php | 2 --
lib/Service/CustomerSessionService.php | 2 --
lib/Service/DisputeService.php | 2 --
.../Entitlements/ActiveEntitlementService.php | 2 --
lib/Service/Entitlements/FeatureService.php | 2 --
lib/Service/EphemeralKeyService.php | 2 --
lib/Service/EventService.php | 2 --
lib/Service/ExchangeRateService.php | 2 --
lib/Service/FileLinkService.php | 2 --
lib/Service/FileService.php | 2 --
.../FinancialConnections/AccountService.php | 2 --
.../FinancialConnections/SessionService.php | 2 --
.../FinancialConnections/TransactionService.php | 2 --
lib/Service/Forwarding/RequestService.php | 2 --
lib/Service/GiftCards/CardService.php | 2 --
lib/Service/GiftCards/TransactionService.php | 2 --
.../Identity/VerificationReportService.php | 2 --
.../Identity/VerificationSessionService.php | 2 --
lib/Service/InvoiceItemService.php | 2 --
lib/Service/InvoiceService.php | 2 --
lib/Service/Issuing/AuthorizationService.php | 2 --
lib/Service/Issuing/CardService.php | 2 --
lib/Service/Issuing/CardholderService.php | 2 --
.../Issuing/CreditUnderwritingRecordService.php | 2 --
lib/Service/Issuing/DisputeService.php | 2 --
.../Issuing/PersonalizationDesignService.php | 2 --
lib/Service/Issuing/PhysicalBundleService.php | 2 --
lib/Service/Issuing/TokenService.php | 2 --
lib/Service/Issuing/TransactionService.php | 2 --
lib/Service/MandateService.php | 2 --
lib/Service/MarginService.php | 2 --
lib/Service/OrderService.php | 2 --
lib/Service/PaymentIntentService.php | 2 --
lib/Service/PaymentLinkService.php | 2 --
.../PaymentMethodConfigurationService.php | 2 --
lib/Service/PaymentMethodDomainService.php | 2 --
lib/Service/PaymentMethodService.php | 2 --
lib/Service/PayoutService.php | 2 --
lib/Service/PlanService.php | 2 --
lib/Service/PriceService.php | 2 --
lib/Service/ProductService.php | 2 --
lib/Service/PromotionCodeService.php | 2 --
lib/Service/QuotePhaseService.php | 2 --
lib/Service/QuoteService.php | 2 --
lib/Service/Radar/EarlyFraudWarningService.php | 2 --
lib/Service/Radar/ValueListItemService.php | 2 --
lib/Service/Radar/ValueListService.php | 2 --
lib/Service/RefundService.php | 2 --
lib/Service/Reporting/ReportRunService.php | 2 --
lib/Service/Reporting/ReportTypeService.php | 2 --
lib/Service/ReviewService.php | 2 --
lib/Service/SetupAttemptService.php | 2 --
lib/Service/SetupIntentService.php | 2 --
lib/Service/ShippingRateService.php | 2 --
lib/Service/Sigma/ScheduledQueryRunService.php | 2 --
lib/Service/SourceService.php | 2 --
lib/Service/SubscriptionItemService.php | 2 --
lib/Service/SubscriptionScheduleService.php | 2 --
lib/Service/SubscriptionService.php | 2 --
lib/Service/Tax/CalculationService.php | 2 --
lib/Service/Tax/FormService.php | 2 --
lib/Service/Tax/RegistrationService.php | 2 --
lib/Service/Tax/SettingsService.php | 2 --
lib/Service/Tax/TransactionService.php | 2 --
lib/Service/TaxCodeService.php | 2 --
lib/Service/TaxIdService.php | 2 --
lib/Service/TaxRateService.php | 2 --
lib/Service/Terminal/ConfigurationService.php | 2 --
lib/Service/Terminal/ConnectionTokenService.php | 2 --
lib/Service/Terminal/LocationService.php | 2 --
lib/Service/Terminal/ReaderService.php | 2 --
.../TestHelpers/ConfirmationTokenService.php | 2 --
lib/Service/TestHelpers/CustomerService.php | 2 --
.../Issuing/AuthorizationService.php | 2 --
lib/Service/TestHelpers/Issuing/CardService.php | 2 --
.../Issuing/PersonalizationDesignService.php | 2 --
.../TestHelpers/Issuing/TransactionService.php | 2 --
lib/Service/TestHelpers/RefundService.php | 2 --
.../TestHelpers/Terminal/ReaderService.php | 2 --
lib/Service/TestHelpers/TestClockService.php | 2 --
.../Treasury/InboundTransferService.php | 2 --
.../Treasury/OutboundPaymentService.php | 2 --
.../Treasury/OutboundTransferService.php | 2 --
.../Treasury/ReceivedCreditService.php | 2 --
.../Treasury/ReceivedDebitService.php | 2 --
lib/Service/TokenService.php | 2 --
lib/Service/TopupService.php | 2 --
lib/Service/TransferService.php | 2 --
lib/Service/Treasury/CreditReversalService.php | 2 --
lib/Service/Treasury/DebitReversalService.php | 2 --
.../Treasury/FinancialAccountService.php | 2 --
lib/Service/Treasury/InboundTransferService.php | 2 --
lib/Service/Treasury/OutboundPaymentService.php | 2 --
.../Treasury/OutboundTransferService.php | 2 --
lib/Service/Treasury/ReceivedCreditService.php | 2 --
lib/Service/Treasury/ReceivedDebitService.php | 2 --
.../Treasury/TransactionEntryService.php | 2 --
lib/Service/Treasury/TransactionService.php | 2 --
lib/Service/WebhookEndpointService.php | 2 --
lib/Util/ObjectTypes.php | 1 +
129 files changed, 20 insertions(+), 251 deletions(-)
create mode 100644 lib/PlatformTaxFee.php
diff --git a/init.php b/init.php
index 0439b7e86..c78f8ce2d 100644
--- a/init.php
+++ b/init.php
@@ -169,6 +169,7 @@
require __DIR__ . '/lib/Payout.php';
require __DIR__ . '/lib/Person.php';
require __DIR__ . '/lib/Plan.php';
+require __DIR__ . '/lib/PlatformTaxFee.php';
require __DIR__ . '/lib/Price.php';
require __DIR__ . '/lib/Product.php';
require __DIR__ . '/lib/ProductFeature.php';
diff --git a/lib/BalanceTransaction.php b/lib/BalanceTransaction.php
index 5691d9573..d88cf9b52 100644
--- a/lib/BalanceTransaction.php
+++ b/lib/BalanceTransaction.php
@@ -22,7 +22,7 @@
* @property \Stripe\StripeObject[] $fee_details Detailed breakdown of fees (in cents (or local equivalent)) paid for this transaction.
* @property int $net Net impact to a Stripe balance (in cents (or local equivalent)). A positive value represents incrementing a Stripe balance, and a negative value decrementing a Stripe balance. You can calculate the net impact of a transaction on a balance by amount
- fee
* @property string $reporting_category Learn more about how reporting categories can help you understand balance transactions from an accounting perspective.
- * @property null|string|\Stripe\ApplicationFee|\Stripe\ApplicationFeeRefund|\Stripe\Charge|\Stripe\ConnectCollectionTransfer|\Stripe\CustomerCashBalanceTransaction|\Stripe\Dispute|\Stripe\Issuing\Authorization|\Stripe\Issuing\Dispute|\Stripe\Issuing\Transaction|\Stripe\Payout|\Stripe\Refund|\Stripe\ReserveTransaction|\Stripe\TaxDeductedAtSource|\Stripe\Topup|\Stripe\Transfer|\Stripe\TransferReversal $source This transaction relates to the Stripe object.
+ * @property null|string|\Stripe\ApplicationFee|\Stripe\ApplicationFeeRefund|\Stripe\Charge|\Stripe\ConnectCollectionTransfer|\Stripe\CustomerCashBalanceTransaction|\Stripe\Dispute|\Stripe\Issuing\Authorization|\Stripe\Issuing\Dispute|\Stripe\Issuing\Transaction|\Stripe\Payout|\Stripe\PlatformTaxFee|\Stripe\Refund|\Stripe\ReserveTransaction|\Stripe\TaxDeductedAtSource|\Stripe\Topup|\Stripe\Transfer|\Stripe\TransferReversal $source This transaction relates to the Stripe object.
* @property string $status The transaction's net funds status in the Stripe balance, which are either available
or pending
.
* @property string $type Transaction type: adjustment
, advance
, advance_funding
, anticipation_repayment
, application_fee
, application_fee_refund
, charge
, climate_order_purchase
, climate_order_refund
, connect_collection_transfer
, contribution
, issuing_authorization_hold
, issuing_authorization_release
, issuing_dispute
, issuing_transaction
, obligation_outbound
, obligation_reversal_inbound
, payment
, payment_failure_refund
, payment_network_reserve_hold
, payment_network_reserve_release
, payment_refund
, payment_reversal
, payment_unreconciled
, payout
, payout_cancel
, payout_failure
, refund
, refund_failure
, reserve_transaction
, reserved_funds
, stripe_fee
, stripe_fx_fee
, tax_fee
, topup
, topup_reversal
, transfer
, transfer_cancel
, transfer_failure
, or transfer_refund
. Learn more about balance transaction types and what they represent. To classify transactions for accounting purposes, consider reporting_category
instead.
*/
diff --git a/lib/PlatformTaxFee.php b/lib/PlatformTaxFee.php
new file mode 100644
index 000000000..cb9fea7db
--- /dev/null
+++ b/lib/PlatformTaxFee.php
@@ -0,0 +1,17 @@
+ \Stripe\Payout::class,
\Stripe\Person::OBJECT_NAME => \Stripe\Person::class,
\Stripe\Plan::OBJECT_NAME => \Stripe\Plan::class,
+ \Stripe\PlatformTaxFee::OBJECT_NAME => \Stripe\PlatformTaxFee::class,
\Stripe\Price::OBJECT_NAME => \Stripe\Price::class,
\Stripe\Product::OBJECT_NAME => \Stripe\Product::class,
\Stripe\ProductFeature::OBJECT_NAME => \Stripe\ProductFeature::class,
From 0a1e4738e3ff07f701eb0ff682a1a03aa5cca72b Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Wed, 12 Jun 2024 21:16:21 +0000
Subject: [PATCH 15/18] Update generated code for v1077
---
init.php | 1 -
lib/BalanceTransaction.php | 2 +-
lib/PlatformTaxFee.php | 17 -----------------
lib/Service/AccountLinkService.php | 2 ++
lib/Service/AccountNoticeService.php | 2 ++
lib/Service/AccountService.php | 2 ++
lib/Service/AccountSessionService.php | 2 ++
lib/Service/ApplePayDomainService.php | 2 ++
lib/Service/ApplicationFeeService.php | 2 ++
lib/Service/Apps/SecretService.php | 2 ++
lib/Service/BalanceService.php | 2 ++
lib/Service/BalanceTransactionService.php | 2 ++
.../Billing/MeterEventAdjustmentService.php | 2 ++
lib/Service/Billing/MeterEventService.php | 2 ++
lib/Service/Billing/MeterService.php | 2 ++
.../BillingPortal/ConfigurationService.php | 2 ++
lib/Service/BillingPortal/SessionService.php | 2 ++
lib/Service/Capital/FinancingOfferService.php | 2 ++
lib/Service/Capital/FinancingSummaryService.php | 2 ++
.../Capital/FinancingTransactionService.php | 2 ++
lib/Service/ChargeService.php | 2 ++
lib/Service/Checkout/SessionService.php | 2 ++
lib/Service/Climate/OrderService.php | 2 ++
lib/Service/Climate/ProductService.php | 2 ++
lib/Service/Climate/SupplierService.php | 2 ++
lib/Service/ConfirmationTokenService.php | 2 ++
lib/Service/CountrySpecService.php | 2 ++
lib/Service/CouponService.php | 2 ++
lib/Service/CreditNoteService.php | 2 ++
lib/Service/CustomerService.php | 2 ++
lib/Service/CustomerSessionService.php | 2 ++
lib/Service/DisputeService.php | 2 ++
.../Entitlements/ActiveEntitlementService.php | 2 ++
lib/Service/Entitlements/FeatureService.php | 2 ++
lib/Service/EphemeralKeyService.php | 2 ++
lib/Service/EventService.php | 2 ++
lib/Service/ExchangeRateService.php | 2 ++
lib/Service/FileLinkService.php | 2 ++
lib/Service/FileService.php | 2 ++
.../FinancialConnections/AccountService.php | 2 ++
.../FinancialConnections/SessionService.php | 2 ++
.../FinancialConnections/TransactionService.php | 2 ++
lib/Service/Forwarding/RequestService.php | 2 ++
lib/Service/GiftCards/CardService.php | 2 ++
lib/Service/GiftCards/TransactionService.php | 2 ++
.../Identity/VerificationReportService.php | 2 ++
.../Identity/VerificationSessionService.php | 2 ++
lib/Service/InvoiceItemService.php | 2 ++
lib/Service/InvoiceService.php | 2 ++
lib/Service/Issuing/AuthorizationService.php | 2 ++
lib/Service/Issuing/CardService.php | 2 ++
lib/Service/Issuing/CardholderService.php | 2 ++
.../Issuing/CreditUnderwritingRecordService.php | 2 ++
lib/Service/Issuing/DisputeService.php | 2 ++
.../Issuing/PersonalizationDesignService.php | 2 ++
lib/Service/Issuing/PhysicalBundleService.php | 2 ++
lib/Service/Issuing/TokenService.php | 2 ++
lib/Service/Issuing/TransactionService.php | 2 ++
lib/Service/MandateService.php | 2 ++
lib/Service/MarginService.php | 2 ++
lib/Service/OrderService.php | 2 ++
lib/Service/PaymentIntentService.php | 2 ++
lib/Service/PaymentLinkService.php | 2 ++
.../PaymentMethodConfigurationService.php | 2 ++
lib/Service/PaymentMethodDomainService.php | 2 ++
lib/Service/PaymentMethodService.php | 2 ++
lib/Service/PayoutService.php | 2 ++
lib/Service/PlanService.php | 2 ++
lib/Service/PriceService.php | 2 ++
lib/Service/ProductService.php | 2 ++
lib/Service/PromotionCodeService.php | 2 ++
lib/Service/QuotePhaseService.php | 2 ++
lib/Service/QuoteService.php | 2 ++
lib/Service/Radar/EarlyFraudWarningService.php | 2 ++
lib/Service/Radar/ValueListItemService.php | 2 ++
lib/Service/Radar/ValueListService.php | 2 ++
lib/Service/RefundService.php | 2 ++
lib/Service/Reporting/ReportRunService.php | 2 ++
lib/Service/Reporting/ReportTypeService.php | 2 ++
lib/Service/ReviewService.php | 2 ++
lib/Service/SetupAttemptService.php | 2 ++
lib/Service/SetupIntentService.php | 2 ++
lib/Service/ShippingRateService.php | 2 ++
lib/Service/Sigma/ScheduledQueryRunService.php | 2 ++
lib/Service/SourceService.php | 2 ++
lib/Service/SubscriptionItemService.php | 2 ++
lib/Service/SubscriptionScheduleService.php | 2 ++
lib/Service/SubscriptionService.php | 2 ++
lib/Service/Tax/CalculationService.php | 2 ++
lib/Service/Tax/FormService.php | 2 ++
lib/Service/Tax/RegistrationService.php | 2 ++
lib/Service/Tax/SettingsService.php | 2 ++
lib/Service/Tax/TransactionService.php | 2 ++
lib/Service/TaxCodeService.php | 2 ++
lib/Service/TaxIdService.php | 2 ++
lib/Service/TaxRateService.php | 2 ++
lib/Service/Terminal/ConfigurationService.php | 2 ++
lib/Service/Terminal/ConnectionTokenService.php | 2 ++
lib/Service/Terminal/LocationService.php | 2 ++
lib/Service/Terminal/ReaderService.php | 2 ++
.../TestHelpers/ConfirmationTokenService.php | 2 ++
lib/Service/TestHelpers/CustomerService.php | 2 ++
.../Issuing/AuthorizationService.php | 2 ++
lib/Service/TestHelpers/Issuing/CardService.php | 2 ++
.../Issuing/PersonalizationDesignService.php | 2 ++
.../TestHelpers/Issuing/TransactionService.php | 2 ++
lib/Service/TestHelpers/RefundService.php | 2 ++
.../TestHelpers/Terminal/ReaderService.php | 2 ++
lib/Service/TestHelpers/TestClockService.php | 2 ++
.../Treasury/InboundTransferService.php | 2 ++
.../Treasury/OutboundPaymentService.php | 2 ++
.../Treasury/OutboundTransferService.php | 2 ++
.../Treasury/ReceivedCreditService.php | 2 ++
.../Treasury/ReceivedDebitService.php | 2 ++
lib/Service/TokenService.php | 2 ++
lib/Service/TopupService.php | 2 ++
lib/Service/TransferService.php | 2 ++
lib/Service/Treasury/CreditReversalService.php | 2 ++
lib/Service/Treasury/DebitReversalService.php | 2 ++
.../Treasury/FinancialAccountService.php | 2 ++
lib/Service/Treasury/InboundTransferService.php | 2 ++
lib/Service/Treasury/OutboundPaymentService.php | 2 ++
.../Treasury/OutboundTransferService.php | 2 ++
lib/Service/Treasury/ReceivedCreditService.php | 2 ++
lib/Service/Treasury/ReceivedDebitService.php | 2 ++
.../Treasury/TransactionEntryService.php | 2 ++
lib/Service/Treasury/TransactionService.php | 2 ++
lib/Service/WebhookEndpointService.php | 2 ++
lib/Util/ObjectTypes.php | 1 -
129 files changed, 251 insertions(+), 20 deletions(-)
delete mode 100644 lib/PlatformTaxFee.php
diff --git a/init.php b/init.php
index c78f8ce2d..0439b7e86 100644
--- a/init.php
+++ b/init.php
@@ -169,7 +169,6 @@
require __DIR__ . '/lib/Payout.php';
require __DIR__ . '/lib/Person.php';
require __DIR__ . '/lib/Plan.php';
-require __DIR__ . '/lib/PlatformTaxFee.php';
require __DIR__ . '/lib/Price.php';
require __DIR__ . '/lib/Product.php';
require __DIR__ . '/lib/ProductFeature.php';
diff --git a/lib/BalanceTransaction.php b/lib/BalanceTransaction.php
index d88cf9b52..5691d9573 100644
--- a/lib/BalanceTransaction.php
+++ b/lib/BalanceTransaction.php
@@ -22,7 +22,7 @@
* @property \Stripe\StripeObject[] $fee_details Detailed breakdown of fees (in cents (or local equivalent)) paid for this transaction.
* @property int $net Net impact to a Stripe balance (in cents (or local equivalent)). A positive value represents incrementing a Stripe balance, and a negative value decrementing a Stripe balance. You can calculate the net impact of a transaction on a balance by amount
- fee
* @property string $reporting_category Learn more about how reporting categories can help you understand balance transactions from an accounting perspective.
- * @property null|string|\Stripe\ApplicationFee|\Stripe\ApplicationFeeRefund|\Stripe\Charge|\Stripe\ConnectCollectionTransfer|\Stripe\CustomerCashBalanceTransaction|\Stripe\Dispute|\Stripe\Issuing\Authorization|\Stripe\Issuing\Dispute|\Stripe\Issuing\Transaction|\Stripe\Payout|\Stripe\PlatformTaxFee|\Stripe\Refund|\Stripe\ReserveTransaction|\Stripe\TaxDeductedAtSource|\Stripe\Topup|\Stripe\Transfer|\Stripe\TransferReversal $source This transaction relates to the Stripe object.
+ * @property null|string|\Stripe\ApplicationFee|\Stripe\ApplicationFeeRefund|\Stripe\Charge|\Stripe\ConnectCollectionTransfer|\Stripe\CustomerCashBalanceTransaction|\Stripe\Dispute|\Stripe\Issuing\Authorization|\Stripe\Issuing\Dispute|\Stripe\Issuing\Transaction|\Stripe\Payout|\Stripe\Refund|\Stripe\ReserveTransaction|\Stripe\TaxDeductedAtSource|\Stripe\Topup|\Stripe\Transfer|\Stripe\TransferReversal $source This transaction relates to the Stripe object.
* @property string $status The transaction's net funds status in the Stripe balance, which are either available
or pending
.
* @property string $type Transaction type: adjustment
, advance
, advance_funding
, anticipation_repayment
, application_fee
, application_fee_refund
, charge
, climate_order_purchase
, climate_order_refund
, connect_collection_transfer
, contribution
, issuing_authorization_hold
, issuing_authorization_release
, issuing_dispute
, issuing_transaction
, obligation_outbound
, obligation_reversal_inbound
, payment
, payment_failure_refund
, payment_network_reserve_hold
, payment_network_reserve_release
, payment_refund
, payment_reversal
, payment_unreconciled
, payout
, payout_cancel
, payout_failure
, refund
, refund_failure
, reserve_transaction
, reserved_funds
, stripe_fee
, stripe_fx_fee
, tax_fee
, topup
, topup_reversal
, transfer
, transfer_cancel
, transfer_failure
, or transfer_refund
. Learn more about balance transaction types and what they represent. To classify transactions for accounting purposes, consider reporting_category
instead.
*/
diff --git a/lib/PlatformTaxFee.php b/lib/PlatformTaxFee.php
deleted file mode 100644
index cb9fea7db..000000000
--- a/lib/PlatformTaxFee.php
+++ /dev/null
@@ -1,17 +0,0 @@
- \Stripe\Payout::class,
\Stripe\Person::OBJECT_NAME => \Stripe\Person::class,
\Stripe\Plan::OBJECT_NAME => \Stripe\Plan::class,
- \Stripe\PlatformTaxFee::OBJECT_NAME => \Stripe\PlatformTaxFee::class,
\Stripe\Price::OBJECT_NAME => \Stripe\Price::class,
\Stripe\Product::OBJECT_NAME => \Stripe\Product::class,
\Stripe\ProductFeature::OBJECT_NAME => \Stripe\ProductFeature::class,
From 862c5159d684449756f8b9d530714ac756219c22 Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Wed, 12 Jun 2024 22:25:57 +0000
Subject: [PATCH 16/18] Update generated code for v1077
---
init.php | 1 +
lib/BalanceTransaction.php | 2 +-
lib/PlatformTaxFee.php | 17 +++++++++++++++++
lib/Service/AccountLinkService.php | 2 --
lib/Service/AccountNoticeService.php | 2 --
lib/Service/AccountService.php | 2 --
lib/Service/AccountSessionService.php | 2 --
lib/Service/ApplePayDomainService.php | 2 --
lib/Service/ApplicationFeeService.php | 2 --
lib/Service/Apps/SecretService.php | 2 --
lib/Service/BalanceService.php | 2 --
lib/Service/BalanceTransactionService.php | 2 --
.../Billing/MeterEventAdjustmentService.php | 2 --
lib/Service/Billing/MeterEventService.php | 2 --
lib/Service/Billing/MeterService.php | 2 --
.../BillingPortal/ConfigurationService.php | 2 --
lib/Service/BillingPortal/SessionService.php | 2 --
lib/Service/Capital/FinancingOfferService.php | 2 --
lib/Service/Capital/FinancingSummaryService.php | 2 --
.../Capital/FinancingTransactionService.php | 2 --
lib/Service/ChargeService.php | 2 --
lib/Service/Checkout/SessionService.php | 2 --
lib/Service/Climate/OrderService.php | 2 --
lib/Service/Climate/ProductService.php | 2 --
lib/Service/Climate/SupplierService.php | 2 --
lib/Service/ConfirmationTokenService.php | 2 --
lib/Service/CountrySpecService.php | 2 --
lib/Service/CouponService.php | 2 --
lib/Service/CreditNoteService.php | 2 --
lib/Service/CustomerService.php | 2 --
lib/Service/CustomerSessionService.php | 2 --
lib/Service/DisputeService.php | 2 --
.../Entitlements/ActiveEntitlementService.php | 2 --
lib/Service/Entitlements/FeatureService.php | 2 --
lib/Service/EphemeralKeyService.php | 2 --
lib/Service/EventService.php | 2 --
lib/Service/ExchangeRateService.php | 2 --
lib/Service/FileLinkService.php | 2 --
lib/Service/FileService.php | 2 --
.../FinancialConnections/AccountService.php | 2 --
.../FinancialConnections/SessionService.php | 2 --
.../FinancialConnections/TransactionService.php | 2 --
lib/Service/Forwarding/RequestService.php | 2 --
lib/Service/GiftCards/CardService.php | 2 --
lib/Service/GiftCards/TransactionService.php | 2 --
.../Identity/VerificationReportService.php | 2 --
.../Identity/VerificationSessionService.php | 2 --
lib/Service/InvoiceItemService.php | 2 --
lib/Service/InvoiceService.php | 2 --
lib/Service/Issuing/AuthorizationService.php | 2 --
lib/Service/Issuing/CardService.php | 2 --
lib/Service/Issuing/CardholderService.php | 2 --
.../Issuing/CreditUnderwritingRecordService.php | 2 --
lib/Service/Issuing/DisputeService.php | 2 --
.../Issuing/PersonalizationDesignService.php | 2 --
lib/Service/Issuing/PhysicalBundleService.php | 2 --
lib/Service/Issuing/TokenService.php | 2 --
lib/Service/Issuing/TransactionService.php | 2 --
lib/Service/MandateService.php | 2 --
lib/Service/MarginService.php | 2 --
lib/Service/OrderService.php | 2 --
lib/Service/PaymentIntentService.php | 2 --
lib/Service/PaymentLinkService.php | 2 --
.../PaymentMethodConfigurationService.php | 2 --
lib/Service/PaymentMethodDomainService.php | 2 --
lib/Service/PaymentMethodService.php | 2 --
lib/Service/PayoutService.php | 2 --
lib/Service/PlanService.php | 2 --
lib/Service/PriceService.php | 2 --
lib/Service/ProductService.php | 2 --
lib/Service/PromotionCodeService.php | 2 --
lib/Service/QuotePhaseService.php | 2 --
lib/Service/QuoteService.php | 2 --
lib/Service/Radar/EarlyFraudWarningService.php | 2 --
lib/Service/Radar/ValueListItemService.php | 2 --
lib/Service/Radar/ValueListService.php | 2 --
lib/Service/RefundService.php | 2 --
lib/Service/Reporting/ReportRunService.php | 2 --
lib/Service/Reporting/ReportTypeService.php | 2 --
lib/Service/ReviewService.php | 2 --
lib/Service/SetupAttemptService.php | 2 --
lib/Service/SetupIntentService.php | 2 --
lib/Service/ShippingRateService.php | 2 --
lib/Service/Sigma/ScheduledQueryRunService.php | 2 --
lib/Service/SourceService.php | 2 --
lib/Service/SubscriptionItemService.php | 2 --
lib/Service/SubscriptionScheduleService.php | 2 --
lib/Service/SubscriptionService.php | 2 --
lib/Service/Tax/CalculationService.php | 2 --
lib/Service/Tax/FormService.php | 2 --
lib/Service/Tax/RegistrationService.php | 2 --
lib/Service/Tax/SettingsService.php | 2 --
lib/Service/Tax/TransactionService.php | 2 --
lib/Service/TaxCodeService.php | 2 --
lib/Service/TaxIdService.php | 2 --
lib/Service/TaxRateService.php | 2 --
lib/Service/Terminal/ConfigurationService.php | 2 --
lib/Service/Terminal/ConnectionTokenService.php | 2 --
lib/Service/Terminal/LocationService.php | 2 --
lib/Service/Terminal/ReaderService.php | 2 --
.../TestHelpers/ConfirmationTokenService.php | 2 --
lib/Service/TestHelpers/CustomerService.php | 2 --
.../Issuing/AuthorizationService.php | 2 --
lib/Service/TestHelpers/Issuing/CardService.php | 2 --
.../Issuing/PersonalizationDesignService.php | 2 --
.../TestHelpers/Issuing/TransactionService.php | 2 --
lib/Service/TestHelpers/RefundService.php | 2 --
.../TestHelpers/Terminal/ReaderService.php | 2 --
lib/Service/TestHelpers/TestClockService.php | 2 --
.../Treasury/InboundTransferService.php | 2 --
.../Treasury/OutboundPaymentService.php | 2 --
.../Treasury/OutboundTransferService.php | 2 --
.../Treasury/ReceivedCreditService.php | 2 --
.../Treasury/ReceivedDebitService.php | 2 --
lib/Service/TokenService.php | 2 --
lib/Service/TopupService.php | 2 --
lib/Service/TransferService.php | 2 --
lib/Service/Treasury/CreditReversalService.php | 2 --
lib/Service/Treasury/DebitReversalService.php | 2 --
.../Treasury/FinancialAccountService.php | 2 --
lib/Service/Treasury/InboundTransferService.php | 2 --
lib/Service/Treasury/OutboundPaymentService.php | 2 --
.../Treasury/OutboundTransferService.php | 2 --
lib/Service/Treasury/ReceivedCreditService.php | 2 --
lib/Service/Treasury/ReceivedDebitService.php | 2 --
.../Treasury/TransactionEntryService.php | 2 --
lib/Service/Treasury/TransactionService.php | 2 --
lib/Service/WebhookEndpointService.php | 2 --
lib/Util/ObjectTypes.php | 1 +
129 files changed, 20 insertions(+), 251 deletions(-)
create mode 100644 lib/PlatformTaxFee.php
diff --git a/init.php b/init.php
index 0439b7e86..c78f8ce2d 100644
--- a/init.php
+++ b/init.php
@@ -169,6 +169,7 @@
require __DIR__ . '/lib/Payout.php';
require __DIR__ . '/lib/Person.php';
require __DIR__ . '/lib/Plan.php';
+require __DIR__ . '/lib/PlatformTaxFee.php';
require __DIR__ . '/lib/Price.php';
require __DIR__ . '/lib/Product.php';
require __DIR__ . '/lib/ProductFeature.php';
diff --git a/lib/BalanceTransaction.php b/lib/BalanceTransaction.php
index 5691d9573..d88cf9b52 100644
--- a/lib/BalanceTransaction.php
+++ b/lib/BalanceTransaction.php
@@ -22,7 +22,7 @@
* @property \Stripe\StripeObject[] $fee_details Detailed breakdown of fees (in cents (or local equivalent)) paid for this transaction.
* @property int $net Net impact to a Stripe balance (in cents (or local equivalent)). A positive value represents incrementing a Stripe balance, and a negative value decrementing a Stripe balance. You can calculate the net impact of a transaction on a balance by amount
- fee
* @property string $reporting_category Learn more about how reporting categories can help you understand balance transactions from an accounting perspective.
- * @property null|string|\Stripe\ApplicationFee|\Stripe\ApplicationFeeRefund|\Stripe\Charge|\Stripe\ConnectCollectionTransfer|\Stripe\CustomerCashBalanceTransaction|\Stripe\Dispute|\Stripe\Issuing\Authorization|\Stripe\Issuing\Dispute|\Stripe\Issuing\Transaction|\Stripe\Payout|\Stripe\Refund|\Stripe\ReserveTransaction|\Stripe\TaxDeductedAtSource|\Stripe\Topup|\Stripe\Transfer|\Stripe\TransferReversal $source This transaction relates to the Stripe object.
+ * @property null|string|\Stripe\ApplicationFee|\Stripe\ApplicationFeeRefund|\Stripe\Charge|\Stripe\ConnectCollectionTransfer|\Stripe\CustomerCashBalanceTransaction|\Stripe\Dispute|\Stripe\Issuing\Authorization|\Stripe\Issuing\Dispute|\Stripe\Issuing\Transaction|\Stripe\Payout|\Stripe\PlatformTaxFee|\Stripe\Refund|\Stripe\ReserveTransaction|\Stripe\TaxDeductedAtSource|\Stripe\Topup|\Stripe\Transfer|\Stripe\TransferReversal $source This transaction relates to the Stripe object.
* @property string $status The transaction's net funds status in the Stripe balance, which are either available
or pending
.
* @property string $type Transaction type: adjustment
, advance
, advance_funding
, anticipation_repayment
, application_fee
, application_fee_refund
, charge
, climate_order_purchase
, climate_order_refund
, connect_collection_transfer
, contribution
, issuing_authorization_hold
, issuing_authorization_release
, issuing_dispute
, issuing_transaction
, obligation_outbound
, obligation_reversal_inbound
, payment
, payment_failure_refund
, payment_network_reserve_hold
, payment_network_reserve_release
, payment_refund
, payment_reversal
, payment_unreconciled
, payout
, payout_cancel
, payout_failure
, refund
, refund_failure
, reserve_transaction
, reserved_funds
, stripe_fee
, stripe_fx_fee
, tax_fee
, topup
, topup_reversal
, transfer
, transfer_cancel
, transfer_failure
, or transfer_refund
. Learn more about balance transaction types and what they represent. To classify transactions for accounting purposes, consider reporting_category
instead.
*/
diff --git a/lib/PlatformTaxFee.php b/lib/PlatformTaxFee.php
new file mode 100644
index 000000000..cb9fea7db
--- /dev/null
+++ b/lib/PlatformTaxFee.php
@@ -0,0 +1,17 @@
+ \Stripe\Payout::class,
\Stripe\Person::OBJECT_NAME => \Stripe\Person::class,
\Stripe\Plan::OBJECT_NAME => \Stripe\Plan::class,
+ \Stripe\PlatformTaxFee::OBJECT_NAME => \Stripe\PlatformTaxFee::class,
\Stripe\Price::OBJECT_NAME => \Stripe\Price::class,
\Stripe\Product::OBJECT_NAME => \Stripe\Product::class,
\Stripe\ProductFeature::OBJECT_NAME => \Stripe\ProductFeature::class,
From 2f978f3a9f62c5868f4a48d48a7d28954e3c230b Mon Sep 17 00:00:00 2001
From: "stripe-openapi[bot]"
<105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Thu, 13 Jun 2024 13:43:30 -0700
Subject: [PATCH 17/18] Update generated code (#1706)
* Update generated code for v1060
* Update generated code for v1062
* Update generated code for v1062
* Update generated code for v1063
* Update generated code for v1066
* Update generated code for v1068
* Update generated code for v1069
* Update generated code for v1071
* Update generated code for v1072
* Update generated code for v1075
* Update generated code for v1077
* Update generated code for v1077
* Update generated code for v1077
* Update generated code for v1077
---------
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
---
OPENAPI_VERSION | 2 +-
lib/BankAccount.php | 3 +--
lib/Checkout/Session.php | 4 ++--
lib/PaymentMethod.php | 4 ++++
lib/PaymentMethodConfiguration.php | 1 +
lib/Service/AccountLinkService.php | 2 --
lib/Service/AccountService.php | 2 --
lib/Service/AccountSessionService.php | 2 --
lib/Service/ApplePayDomainService.php | 2 --
lib/Service/ApplicationFeeService.php | 2 --
lib/Service/Apps/SecretService.php | 2 --
lib/Service/BalanceService.php | 2 --
lib/Service/BalanceTransactionService.php | 2 --
lib/Service/Billing/MeterEventAdjustmentService.php | 2 --
lib/Service/Billing/MeterEventService.php | 2 --
lib/Service/Billing/MeterService.php | 2 --
lib/Service/BillingPortal/ConfigurationService.php | 2 --
lib/Service/BillingPortal/SessionService.php | 2 --
lib/Service/ChargeService.php | 2 --
lib/Service/Checkout/SessionService.php | 2 --
lib/Service/Climate/OrderService.php | 4 +---
lib/Service/Climate/ProductService.php | 2 --
lib/Service/Climate/SupplierService.php | 2 --
lib/Service/ConfirmationTokenService.php | 2 --
lib/Service/CountrySpecService.php | 2 --
lib/Service/CouponService.php | 2 --
lib/Service/CreditNoteService.php | 2 --
lib/Service/CustomerService.php | 2 --
lib/Service/CustomerSessionService.php | 2 --
lib/Service/DisputeService.php | 2 --
lib/Service/Entitlements/ActiveEntitlementService.php | 2 --
lib/Service/Entitlements/FeatureService.php | 2 --
lib/Service/EphemeralKeyService.php | 2 --
lib/Service/EventService.php | 2 --
lib/Service/ExchangeRateService.php | 2 --
lib/Service/FileLinkService.php | 2 --
lib/Service/FileService.php | 2 --
lib/Service/FinancialConnections/AccountService.php | 2 --
lib/Service/FinancialConnections/SessionService.php | 2 --
lib/Service/FinancialConnections/TransactionService.php | 2 --
lib/Service/Forwarding/RequestService.php | 2 --
lib/Service/Identity/VerificationReportService.php | 2 --
lib/Service/Identity/VerificationSessionService.php | 2 --
lib/Service/InvoiceItemService.php | 2 --
lib/Service/InvoiceService.php | 2 --
lib/Service/Issuing/AuthorizationService.php | 2 --
lib/Service/Issuing/CardService.php | 2 --
lib/Service/Issuing/CardholderService.php | 2 --
lib/Service/Issuing/DisputeService.php | 2 --
lib/Service/Issuing/PersonalizationDesignService.php | 2 --
lib/Service/Issuing/PhysicalBundleService.php | 2 --
lib/Service/Issuing/TokenService.php | 2 --
lib/Service/Issuing/TransactionService.php | 2 --
lib/Service/MandateService.php | 2 --
lib/Service/PaymentIntentService.php | 2 --
lib/Service/PaymentLinkService.php | 2 --
lib/Service/PaymentMethodConfigurationService.php | 2 --
lib/Service/PaymentMethodDomainService.php | 2 --
lib/Service/PaymentMethodService.php | 2 --
lib/Service/PayoutService.php | 2 --
lib/Service/PlanService.php | 2 --
lib/Service/PriceService.php | 2 --
lib/Service/ProductService.php | 2 --
lib/Service/PromotionCodeService.php | 2 --
lib/Service/QuoteService.php | 2 --
lib/Service/Radar/EarlyFraudWarningService.php | 2 --
lib/Service/Radar/ValueListItemService.php | 2 --
lib/Service/Radar/ValueListService.php | 2 --
lib/Service/RefundService.php | 2 --
lib/Service/Reporting/ReportRunService.php | 2 --
lib/Service/Reporting/ReportTypeService.php | 2 --
lib/Service/ReviewService.php | 2 --
lib/Service/SetupAttemptService.php | 2 --
lib/Service/SetupIntentService.php | 6 +++---
lib/Service/ShippingRateService.php | 2 --
lib/Service/Sigma/ScheduledQueryRunService.php | 2 --
lib/Service/SourceService.php | 2 --
lib/Service/SubscriptionItemService.php | 2 --
lib/Service/SubscriptionScheduleService.php | 2 --
lib/Service/SubscriptionService.php | 2 --
lib/Service/Tax/CalculationService.php | 2 --
lib/Service/Tax/RegistrationService.php | 2 --
lib/Service/Tax/SettingsService.php | 2 --
lib/Service/Tax/TransactionService.php | 5 ++---
lib/Service/TaxCodeService.php | 2 --
lib/Service/TaxIdService.php | 2 --
lib/Service/TaxRateService.php | 2 --
lib/Service/Terminal/ConfigurationService.php | 2 --
lib/Service/Terminal/ConnectionTokenService.php | 2 --
lib/Service/Terminal/LocationService.php | 2 --
lib/Service/Terminal/ReaderService.php | 2 --
lib/Service/TestHelpers/ConfirmationTokenService.php | 2 --
lib/Service/TestHelpers/CustomerService.php | 2 --
lib/Service/TestHelpers/Issuing/AuthorizationService.php | 2 --
lib/Service/TestHelpers/Issuing/CardService.php | 2 --
.../TestHelpers/Issuing/PersonalizationDesignService.php | 2 --
lib/Service/TestHelpers/Issuing/TransactionService.php | 2 --
lib/Service/TestHelpers/RefundService.php | 2 --
lib/Service/TestHelpers/Terminal/ReaderService.php | 2 --
lib/Service/TestHelpers/TestClockService.php | 2 --
lib/Service/TestHelpers/Treasury/InboundTransferService.php | 2 --
lib/Service/TestHelpers/Treasury/OutboundPaymentService.php | 2 --
.../TestHelpers/Treasury/OutboundTransferService.php | 2 --
lib/Service/TestHelpers/Treasury/ReceivedCreditService.php | 2 --
lib/Service/TestHelpers/Treasury/ReceivedDebitService.php | 2 --
lib/Service/TokenService.php | 2 --
lib/Service/TopupService.php | 2 --
lib/Service/TransferService.php | 2 --
lib/Service/Treasury/CreditReversalService.php | 2 --
lib/Service/Treasury/DebitReversalService.php | 2 --
lib/Service/Treasury/FinancialAccountService.php | 2 --
lib/Service/Treasury/InboundTransferService.php | 2 --
lib/Service/Treasury/OutboundPaymentService.php | 2 --
lib/Service/Treasury/OutboundTransferService.php | 2 --
lib/Service/Treasury/ReceivedCreditService.php | 2 --
lib/Service/Treasury/ReceivedDebitService.php | 2 --
lib/Service/Treasury/TransactionEntryService.php | 2 --
lib/Service/Treasury/TransactionService.php | 2 --
lib/Service/WebhookEndpointService.php | 2 --
lib/ShippingRate.php | 2 +-
lib/Subscription.php | 1 +
lib/TaxId.php | 3 ++-
lib/Token.php | 2 +-
123 files changed, 20 insertions(+), 239 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 4161e81ad..ebd06a813 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1058
\ No newline at end of file
+v1077
\ No newline at end of file
diff --git a/lib/BankAccount.php b/lib/BankAccount.php
index 9654c7656..ce536a405 100644
--- a/lib/BankAccount.php
+++ b/lib/BankAccount.php
@@ -8,8 +8,7 @@
* These bank accounts are payment methods on Customer
objects.
*
* On the other hand External Accounts are transfer
- * destinations on Account
objects for accounts where controller.requirement_collection
- * is application
, which includes Custom accounts.
+ * destinations on Account
objects for connected accounts.
* They can be bank accounts or debit cards as well, and are documented in the links above.
*
* Related guide: Bank debits and transfers
diff --git a/lib/Checkout/Session.php b/lib/Checkout/Session.php
index e9101421e..b66c1ead8 100644
--- a/lib/Checkout/Session.php
+++ b/lib/Checkout/Session.php
@@ -50,7 +50,7 @@
* @property null|string $locale The IETF language tag of the locale Checkout is displayed in. If blank or auto
, the browser's locale is used.
* @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 string $mode The mode of the Checkout Session.
- * @property null|string|\Stripe\PaymentIntent $payment_intent The ID of the PaymentIntent for Checkout Sessions in payment
mode.
+ * @property null|string|\Stripe\PaymentIntent $payment_intent The ID of the PaymentIntent for Checkout Sessions in payment
mode. You can't confirm or cancel the PaymentIntent for a Checkout Session. To cancel, expire the Checkout Session instead.
* @property null|string|\Stripe\PaymentLink $payment_link The ID of the Payment Link that created this Session.
* @property null|string $payment_method_collection Configure whether a Checkout Session should collect a payment method. Defaults to always
.
* @property null|\Stripe\StripeObject $payment_method_configuration_details Information about the payment method configuration used for this Checkout session if using dynamic payment methods.
@@ -62,7 +62,7 @@
* @property null|string $redirect_on_completion This parameter applies to ui_mode: embedded
. Learn more about the redirect behavior of embedded sessions. Defaults to always
.
* @property null|string $return_url Applies to Checkout Sessions with ui_mode: embedded
. The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site.
* @property null|\Stripe\StripeObject $saved_payment_method_options Controls saved payment method settings for the session. Only available in payment
and subscription
mode.
- * @property null|string|\Stripe\SetupIntent $setup_intent The ID of the SetupIntent for Checkout Sessions in setup
mode.
+ * @property null|string|\Stripe\SetupIntent $setup_intent The ID of the SetupIntent for Checkout Sessions in setup
mode. You can't confirm or cancel the SetupIntent for a Checkout Session. To cancel, expire the Checkout Session instead.
* @property null|\Stripe\StripeObject $shipping_address_collection When set, provides configuration for Checkout to collect a shipping address from a customer.
* @property null|\Stripe\StripeObject $shipping_cost The details of the customer cost of shipping, including the customer chosen ShippingRate.
* @property null|\Stripe\StripeObject $shipping_details Shipping information for this Checkout Session.
diff --git a/lib/PaymentMethod.php b/lib/PaymentMethod.php
index 5f5fd3dbc..70ae61200 100644
--- a/lib/PaymentMethod.php
+++ b/lib/PaymentMethod.php
@@ -43,6 +43,7 @@
* @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 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 null|\Stripe\StripeObject $mobilepay
+ * @property null|\Stripe\StripeObject $multibanco
* @property null|\Stripe\StripeObject $oxxo
* @property null|\Stripe\StripeObject $p24
* @property null|\Stripe\StripeObject $paynow
@@ -54,6 +55,7 @@
* @property null|\Stripe\StripeObject $sepa_debit
* @property null|\Stripe\StripeObject $sofort
* @property null|\Stripe\StripeObject $swish
+ * @property null|\Stripe\StripeObject $twint
* @property string $type The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
* @property null|\Stripe\StripeObject $us_bank_account
* @property null|\Stripe\StripeObject $wechat_pay
@@ -93,6 +95,7 @@ class PaymentMethod extends ApiResource
const TYPE_KONBINI = 'konbini';
const TYPE_LINK = 'link';
const TYPE_MOBILEPAY = 'mobilepay';
+ const TYPE_MULTIBANCO = 'multibanco';
const TYPE_OXXO = 'oxxo';
const TYPE_P24 = 'p24';
const TYPE_PAYNOW = 'paynow';
@@ -103,6 +106,7 @@ class PaymentMethod extends ApiResource
const TYPE_SEPA_DEBIT = 'sepa_debit';
const TYPE_SOFORT = 'sofort';
const TYPE_SWISH = 'swish';
+ const TYPE_TWINT = 'twint';
const TYPE_US_BANK_ACCOUNT = 'us_bank_account';
const TYPE_WECHAT_PAY = 'wechat_pay';
const TYPE_ZIP = 'zip';
diff --git a/lib/PaymentMethodConfiguration.php b/lib/PaymentMethodConfiguration.php
index 1815d6d84..ec8d60e8d 100644
--- a/lib/PaymentMethodConfiguration.php
+++ b/lib/PaymentMethodConfiguration.php
@@ -52,6 +52,7 @@
* @property null|\Stripe\StripeObject $link
* @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 null|\Stripe\StripeObject $mobilepay
+ * @property null|\Stripe\StripeObject $multibanco
* @property string $name The configuration's name.
* @property null|\Stripe\StripeObject $oxxo
* @property null|\Stripe\StripeObject $p24
diff --git a/lib/Service/AccountLinkService.php b/lib/Service/AccountLinkService.php
index 0e72d20c2..603d6915b 100644
--- a/lib/Service/AccountLinkService.php
+++ b/lib/Service/AccountLinkService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class AccountLinkService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/AccountService.php b/lib/Service/AccountService.php
index ebec12936..0ef3c6c93 100644
--- a/lib/Service/AccountService.php
+++ b/lib/Service/AccountService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class AccountService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/AccountSessionService.php b/lib/Service/AccountSessionService.php
index 7c1dba0a3..2b681b892 100644
--- a/lib/Service/AccountSessionService.php
+++ b/lib/Service/AccountSessionService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class AccountSessionService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/ApplePayDomainService.php b/lib/Service/ApplePayDomainService.php
index e15852b22..04f5b6300 100644
--- a/lib/Service/ApplePayDomainService.php
+++ b/lib/Service/ApplePayDomainService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ApplePayDomainService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/ApplicationFeeService.php b/lib/Service/ApplicationFeeService.php
index aa0fc3087..8cc42afa8 100644
--- a/lib/Service/ApplicationFeeService.php
+++ b/lib/Service/ApplicationFeeService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ApplicationFeeService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Apps/SecretService.php b/lib/Service/Apps/SecretService.php
index db3e777f4..760d3cb13 100644
--- a/lib/Service/Apps/SecretService.php
+++ b/lib/Service/Apps/SecretService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SecretService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/BalanceService.php b/lib/Service/BalanceService.php
index 3785c205a..dac98eae3 100644
--- a/lib/Service/BalanceService.php
+++ b/lib/Service/BalanceService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class BalanceService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/BalanceTransactionService.php b/lib/Service/BalanceTransactionService.php
index 49a486a18..7ea050cca 100644
--- a/lib/Service/BalanceTransactionService.php
+++ b/lib/Service/BalanceTransactionService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class BalanceTransactionService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Billing/MeterEventAdjustmentService.php b/lib/Service/Billing/MeterEventAdjustmentService.php
index 30d944c4c..90eb97102 100644
--- a/lib/Service/Billing/MeterEventAdjustmentService.php
+++ b/lib/Service/Billing/MeterEventAdjustmentService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class MeterEventAdjustmentService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Billing/MeterEventService.php b/lib/Service/Billing/MeterEventService.php
index cf9b5e282..9c442b735 100644
--- a/lib/Service/Billing/MeterEventService.php
+++ b/lib/Service/Billing/MeterEventService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class MeterEventService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Billing/MeterService.php b/lib/Service/Billing/MeterService.php
index c2ad68ea8..2375a5d43 100644
--- a/lib/Service/Billing/MeterService.php
+++ b/lib/Service/Billing/MeterService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class MeterService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/BillingPortal/ConfigurationService.php b/lib/Service/BillingPortal/ConfigurationService.php
index 983c83d63..dad1380c2 100644
--- a/lib/Service/BillingPortal/ConfigurationService.php
+++ b/lib/Service/BillingPortal/ConfigurationService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ConfigurationService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/BillingPortal/SessionService.php b/lib/Service/BillingPortal/SessionService.php
index 33eef5898..6f7e51742 100644
--- a/lib/Service/BillingPortal/SessionService.php
+++ b/lib/Service/BillingPortal/SessionService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SessionService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/ChargeService.php b/lib/Service/ChargeService.php
index 0610db842..500456f9b 100644
--- a/lib/Service/ChargeService.php
+++ b/lib/Service/ChargeService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ChargeService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Checkout/SessionService.php b/lib/Service/Checkout/SessionService.php
index f6e8e7acc..bed354656 100644
--- a/lib/Service/Checkout/SessionService.php
+++ b/lib/Service/Checkout/SessionService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SessionService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Climate/OrderService.php b/lib/Service/Climate/OrderService.php
index 385f266e6..29917ffa7 100644
--- a/lib/Service/Climate/OrderService.php
+++ b/lib/Service/Climate/OrderService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class OrderService extends \Stripe\Service\AbstractService
@@ -29,7 +27,7 @@ public function all($params = null, $opts = null)
}
/**
- * Cancels a Climate order. You can cancel an order within 30 days of creation.
+ * Cancels a Climate order. You can cancel an order within 24 hours of creation.
* Stripe refunds the reservation amount_subtotal
, but not the
* amount_fees
for user-triggered cancellations. Frontier might cancel
* reservations if suppliers fail to deliver. If Frontier cancels the reservation,
diff --git a/lib/Service/Climate/ProductService.php b/lib/Service/Climate/ProductService.php
index 210473d14..c449b856e 100644
--- a/lib/Service/Climate/ProductService.php
+++ b/lib/Service/Climate/ProductService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ProductService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Climate/SupplierService.php b/lib/Service/Climate/SupplierService.php
index 988c9688a..5ab203d6a 100644
--- a/lib/Service/Climate/SupplierService.php
+++ b/lib/Service/Climate/SupplierService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SupplierService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/ConfirmationTokenService.php b/lib/Service/ConfirmationTokenService.php
index a31b18d79..cdf471050 100644
--- a/lib/Service/ConfirmationTokenService.php
+++ b/lib/Service/ConfirmationTokenService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ConfirmationTokenService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/CountrySpecService.php b/lib/Service/CountrySpecService.php
index 4c29d0489..e4410e129 100644
--- a/lib/Service/CountrySpecService.php
+++ b/lib/Service/CountrySpecService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CountrySpecService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/CouponService.php b/lib/Service/CouponService.php
index faa3ce5a2..d0d4f82ab 100644
--- a/lib/Service/CouponService.php
+++ b/lib/Service/CouponService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CouponService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/CreditNoteService.php b/lib/Service/CreditNoteService.php
index 9b2842ee7..6731730bb 100644
--- a/lib/Service/CreditNoteService.php
+++ b/lib/Service/CreditNoteService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CreditNoteService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/CustomerService.php b/lib/Service/CustomerService.php
index ea2309943..f8d5b1ed4 100644
--- a/lib/Service/CustomerService.php
+++ b/lib/Service/CustomerService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CustomerService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/CustomerSessionService.php b/lib/Service/CustomerSessionService.php
index b0c19b201..7b2d76f20 100644
--- a/lib/Service/CustomerSessionService.php
+++ b/lib/Service/CustomerSessionService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CustomerSessionService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/DisputeService.php b/lib/Service/DisputeService.php
index 24d8d8d91..ea48ceb4a 100644
--- a/lib/Service/DisputeService.php
+++ b/lib/Service/DisputeService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class DisputeService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Entitlements/ActiveEntitlementService.php b/lib/Service/Entitlements/ActiveEntitlementService.php
index 30da5d752..f9760016f 100644
--- a/lib/Service/Entitlements/ActiveEntitlementService.php
+++ b/lib/Service/Entitlements/ActiveEntitlementService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ActiveEntitlementService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Entitlements/FeatureService.php b/lib/Service/Entitlements/FeatureService.php
index f5a8e5c68..a47fc4993 100644
--- a/lib/Service/Entitlements/FeatureService.php
+++ b/lib/Service/Entitlements/FeatureService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class FeatureService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/EphemeralKeyService.php b/lib/Service/EphemeralKeyService.php
index dcfd17bc7..cb2d4a423 100644
--- a/lib/Service/EphemeralKeyService.php
+++ b/lib/Service/EphemeralKeyService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class EphemeralKeyService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/EventService.php b/lib/Service/EventService.php
index 9e0d314ef..0901293af 100644
--- a/lib/Service/EventService.php
+++ b/lib/Service/EventService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class EventService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/ExchangeRateService.php b/lib/Service/ExchangeRateService.php
index a7b6ce36f..ff2223f1f 100644
--- a/lib/Service/ExchangeRateService.php
+++ b/lib/Service/ExchangeRateService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ExchangeRateService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/FileLinkService.php b/lib/Service/FileLinkService.php
index ffd0890b5..68773f0b5 100644
--- a/lib/Service/FileLinkService.php
+++ b/lib/Service/FileLinkService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class FileLinkService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/FileService.php b/lib/Service/FileService.php
index fe015f0f6..87748dddd 100644
--- a/lib/Service/FileService.php
+++ b/lib/Service/FileService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class FileService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/FinancialConnections/AccountService.php b/lib/Service/FinancialConnections/AccountService.php
index 1cb211ec0..dd52243fd 100644
--- a/lib/Service/FinancialConnections/AccountService.php
+++ b/lib/Service/FinancialConnections/AccountService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class AccountService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/FinancialConnections/SessionService.php b/lib/Service/FinancialConnections/SessionService.php
index eee05c915..2ba8c3ae5 100644
--- a/lib/Service/FinancialConnections/SessionService.php
+++ b/lib/Service/FinancialConnections/SessionService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SessionService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/FinancialConnections/TransactionService.php b/lib/Service/FinancialConnections/TransactionService.php
index 2e31075e5..9204b6a3f 100644
--- a/lib/Service/FinancialConnections/TransactionService.php
+++ b/lib/Service/FinancialConnections/TransactionService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class TransactionService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Forwarding/RequestService.php b/lib/Service/Forwarding/RequestService.php
index 2cfe72415..c81a8c524 100644
--- a/lib/Service/Forwarding/RequestService.php
+++ b/lib/Service/Forwarding/RequestService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class RequestService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Identity/VerificationReportService.php b/lib/Service/Identity/VerificationReportService.php
index 0a3b55942..669a4c98f 100644
--- a/lib/Service/Identity/VerificationReportService.php
+++ b/lib/Service/Identity/VerificationReportService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class VerificationReportService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Identity/VerificationSessionService.php b/lib/Service/Identity/VerificationSessionService.php
index 90ed10b6d..b1c0c3c24 100644
--- a/lib/Service/Identity/VerificationSessionService.php
+++ b/lib/Service/Identity/VerificationSessionService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class VerificationSessionService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/InvoiceItemService.php b/lib/Service/InvoiceItemService.php
index 9ee425bbb..642e374b6 100644
--- a/lib/Service/InvoiceItemService.php
+++ b/lib/Service/InvoiceItemService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class InvoiceItemService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/InvoiceService.php b/lib/Service/InvoiceService.php
index d33983c53..1053b5a8f 100644
--- a/lib/Service/InvoiceService.php
+++ b/lib/Service/InvoiceService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class InvoiceService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Issuing/AuthorizationService.php b/lib/Service/Issuing/AuthorizationService.php
index 376f7fbaf..a743ead7c 100644
--- a/lib/Service/Issuing/AuthorizationService.php
+++ b/lib/Service/Issuing/AuthorizationService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class AuthorizationService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Issuing/CardService.php b/lib/Service/Issuing/CardService.php
index 278264caa..27844d090 100644
--- a/lib/Service/Issuing/CardService.php
+++ b/lib/Service/Issuing/CardService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CardService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Issuing/CardholderService.php b/lib/Service/Issuing/CardholderService.php
index 40930d5f1..abc3a887e 100644
--- a/lib/Service/Issuing/CardholderService.php
+++ b/lib/Service/Issuing/CardholderService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CardholderService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Issuing/DisputeService.php b/lib/Service/Issuing/DisputeService.php
index a90372bcc..19f4da434 100644
--- a/lib/Service/Issuing/DisputeService.php
+++ b/lib/Service/Issuing/DisputeService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class DisputeService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Issuing/PersonalizationDesignService.php b/lib/Service/Issuing/PersonalizationDesignService.php
index 7c35f6478..0a54d9e4e 100644
--- a/lib/Service/Issuing/PersonalizationDesignService.php
+++ b/lib/Service/Issuing/PersonalizationDesignService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class PersonalizationDesignService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Issuing/PhysicalBundleService.php b/lib/Service/Issuing/PhysicalBundleService.php
index 558abffdd..620266fef 100644
--- a/lib/Service/Issuing/PhysicalBundleService.php
+++ b/lib/Service/Issuing/PhysicalBundleService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class PhysicalBundleService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Issuing/TokenService.php b/lib/Service/Issuing/TokenService.php
index 9a6832889..f1314c8b7 100644
--- a/lib/Service/Issuing/TokenService.php
+++ b/lib/Service/Issuing/TokenService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class TokenService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Issuing/TransactionService.php b/lib/Service/Issuing/TransactionService.php
index 2d7c6fa28..063295e9a 100644
--- a/lib/Service/Issuing/TransactionService.php
+++ b/lib/Service/Issuing/TransactionService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class TransactionService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/MandateService.php b/lib/Service/MandateService.php
index c9c0ab7e2..7d10f3228 100644
--- a/lib/Service/MandateService.php
+++ b/lib/Service/MandateService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class MandateService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/PaymentIntentService.php b/lib/Service/PaymentIntentService.php
index c4067f54f..99aad6f3e 100644
--- a/lib/Service/PaymentIntentService.php
+++ b/lib/Service/PaymentIntentService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class PaymentIntentService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/PaymentLinkService.php b/lib/Service/PaymentLinkService.php
index 8fd3744e5..d6daa1775 100644
--- a/lib/Service/PaymentLinkService.php
+++ b/lib/Service/PaymentLinkService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class PaymentLinkService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/PaymentMethodConfigurationService.php b/lib/Service/PaymentMethodConfigurationService.php
index 570232646..4bd7b9656 100644
--- a/lib/Service/PaymentMethodConfigurationService.php
+++ b/lib/Service/PaymentMethodConfigurationService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class PaymentMethodConfigurationService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/PaymentMethodDomainService.php b/lib/Service/PaymentMethodDomainService.php
index 96eb4e0ca..c6e7d0840 100644
--- a/lib/Service/PaymentMethodDomainService.php
+++ b/lib/Service/PaymentMethodDomainService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class PaymentMethodDomainService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/PaymentMethodService.php b/lib/Service/PaymentMethodService.php
index 88540f7db..054d03b6c 100644
--- a/lib/Service/PaymentMethodService.php
+++ b/lib/Service/PaymentMethodService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class PaymentMethodService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/PayoutService.php b/lib/Service/PayoutService.php
index 79c0bada6..3bd0eb299 100644
--- a/lib/Service/PayoutService.php
+++ b/lib/Service/PayoutService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class PayoutService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/PlanService.php b/lib/Service/PlanService.php
index 45f41e396..1cea58ea4 100644
--- a/lib/Service/PlanService.php
+++ b/lib/Service/PlanService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class PlanService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/PriceService.php b/lib/Service/PriceService.php
index 805f081b0..7d164ba4d 100644
--- a/lib/Service/PriceService.php
+++ b/lib/Service/PriceService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class PriceService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/ProductService.php b/lib/Service/ProductService.php
index f0b4ecbc1..d3aee577c 100644
--- a/lib/Service/ProductService.php
+++ b/lib/Service/ProductService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ProductService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/PromotionCodeService.php b/lib/Service/PromotionCodeService.php
index 39687d2b1..8e24e73c6 100644
--- a/lib/Service/PromotionCodeService.php
+++ b/lib/Service/PromotionCodeService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class PromotionCodeService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/QuoteService.php b/lib/Service/QuoteService.php
index 1b6b88538..f070cbcf0 100644
--- a/lib/Service/QuoteService.php
+++ b/lib/Service/QuoteService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class QuoteService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Radar/EarlyFraudWarningService.php b/lib/Service/Radar/EarlyFraudWarningService.php
index 332bd8489..3047a9848 100644
--- a/lib/Service/Radar/EarlyFraudWarningService.php
+++ b/lib/Service/Radar/EarlyFraudWarningService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class EarlyFraudWarningService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Radar/ValueListItemService.php b/lib/Service/Radar/ValueListItemService.php
index 553501db0..0113f12b6 100644
--- a/lib/Service/Radar/ValueListItemService.php
+++ b/lib/Service/Radar/ValueListItemService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ValueListItemService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Radar/ValueListService.php b/lib/Service/Radar/ValueListService.php
index 2fa3a463a..125f5d5d5 100644
--- a/lib/Service/Radar/ValueListService.php
+++ b/lib/Service/Radar/ValueListService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ValueListService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/RefundService.php b/lib/Service/RefundService.php
index 84517b48f..d8dcef2be 100644
--- a/lib/Service/RefundService.php
+++ b/lib/Service/RefundService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class RefundService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Reporting/ReportRunService.php b/lib/Service/Reporting/ReportRunService.php
index 332a39608..569bd2477 100644
--- a/lib/Service/Reporting/ReportRunService.php
+++ b/lib/Service/Reporting/ReportRunService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ReportRunService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Reporting/ReportTypeService.php b/lib/Service/Reporting/ReportTypeService.php
index ca1db41d6..0b2dde53d 100644
--- a/lib/Service/Reporting/ReportTypeService.php
+++ b/lib/Service/Reporting/ReportTypeService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ReportTypeService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/ReviewService.php b/lib/Service/ReviewService.php
index 47c14bdd4..b04a8d9e6 100644
--- a/lib/Service/ReviewService.php
+++ b/lib/Service/ReviewService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ReviewService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/SetupAttemptService.php b/lib/Service/SetupAttemptService.php
index 4141eec2c..b6ddbff52 100644
--- a/lib/Service/SetupAttemptService.php
+++ b/lib/Service/SetupAttemptService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SetupAttemptService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/SetupIntentService.php b/lib/Service/SetupIntentService.php
index 195d5616e..e3428da59 100644
--- a/lib/Service/SetupIntentService.php
+++ b/lib/Service/SetupIntentService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SetupIntentService extends \Stripe\Service\AbstractService
@@ -33,7 +31,9 @@ public function all($params = null, $opts = null)
* requires_action
.
*
* After you cancel it, setup is abandoned and any operations on the SetupIntent
- * fail with an error.
+ * fail with an error. You can’t cancel the SetupIntent for a Checkout Session. Expire the Checkout Session
+ * instead.
*
* @param string $id
* @param null|array $params
diff --git a/lib/Service/ShippingRateService.php b/lib/Service/ShippingRateService.php
index 1225d070b..c9015b7fb 100644
--- a/lib/Service/ShippingRateService.php
+++ b/lib/Service/ShippingRateService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ShippingRateService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Sigma/ScheduledQueryRunService.php b/lib/Service/Sigma/ScheduledQueryRunService.php
index 2a8376057..79562e204 100644
--- a/lib/Service/Sigma/ScheduledQueryRunService.php
+++ b/lib/Service/Sigma/ScheduledQueryRunService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ScheduledQueryRunService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/SourceService.php b/lib/Service/SourceService.php
index 139c8d6f6..9b94aeb1c 100644
--- a/lib/Service/SourceService.php
+++ b/lib/Service/SourceService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SourceService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/SubscriptionItemService.php b/lib/Service/SubscriptionItemService.php
index ffcc4db9e..133542f6b 100644
--- a/lib/Service/SubscriptionItemService.php
+++ b/lib/Service/SubscriptionItemService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SubscriptionItemService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/SubscriptionScheduleService.php b/lib/Service/SubscriptionScheduleService.php
index ce6c28a36..3145b3122 100644
--- a/lib/Service/SubscriptionScheduleService.php
+++ b/lib/Service/SubscriptionScheduleService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SubscriptionScheduleService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/SubscriptionService.php b/lib/Service/SubscriptionService.php
index 1185a369d..ba7dcc729 100644
--- a/lib/Service/SubscriptionService.php
+++ b/lib/Service/SubscriptionService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SubscriptionService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Tax/CalculationService.php b/lib/Service/Tax/CalculationService.php
index a3ddf667f..252c599c2 100644
--- a/lib/Service/Tax/CalculationService.php
+++ b/lib/Service/Tax/CalculationService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CalculationService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Tax/RegistrationService.php b/lib/Service/Tax/RegistrationService.php
index a4b4f19f8..db05503a1 100644
--- a/lib/Service/Tax/RegistrationService.php
+++ b/lib/Service/Tax/RegistrationService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class RegistrationService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Tax/SettingsService.php b/lib/Service/Tax/SettingsService.php
index e7d359bd2..38d02cc5b 100644
--- a/lib/Service/Tax/SettingsService.php
+++ b/lib/Service/Tax/SettingsService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class SettingsService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Tax/TransactionService.php b/lib/Service/Tax/TransactionService.php
index 156b38360..416332ee1 100644
--- a/lib/Service/Tax/TransactionService.php
+++ b/lib/Service/Tax/TransactionService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class TransactionService extends \Stripe\Service\AbstractService
@@ -29,7 +27,8 @@ public function allLineItems($id, $params = null, $opts = null)
}
/**
- * Creates a Tax Transaction
from a calculation.
+ * Creates a Tax Transaction from a calculation, if that calculation hasn’t
+ * expired. Calculations expire after 90 days.
*
* @param null|array $params
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
diff --git a/lib/Service/TaxCodeService.php b/lib/Service/TaxCodeService.php
index a75a8a356..7baf4d74b 100644
--- a/lib/Service/TaxCodeService.php
+++ b/lib/Service/TaxCodeService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class TaxCodeService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TaxIdService.php b/lib/Service/TaxIdService.php
index a12644fe1..6593387f6 100644
--- a/lib/Service/TaxIdService.php
+++ b/lib/Service/TaxIdService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class TaxIdService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TaxRateService.php b/lib/Service/TaxRateService.php
index 78aa851e3..5763f0992 100644
--- a/lib/Service/TaxRateService.php
+++ b/lib/Service/TaxRateService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class TaxRateService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Terminal/ConfigurationService.php b/lib/Service/Terminal/ConfigurationService.php
index 96bc7d38a..62350082a 100644
--- a/lib/Service/Terminal/ConfigurationService.php
+++ b/lib/Service/Terminal/ConfigurationService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ConfigurationService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Terminal/ConnectionTokenService.php b/lib/Service/Terminal/ConnectionTokenService.php
index e4ef6076e..8c8235d6d 100644
--- a/lib/Service/Terminal/ConnectionTokenService.php
+++ b/lib/Service/Terminal/ConnectionTokenService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ConnectionTokenService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Terminal/LocationService.php b/lib/Service/Terminal/LocationService.php
index 12da4ed95..980c318a3 100644
--- a/lib/Service/Terminal/LocationService.php
+++ b/lib/Service/Terminal/LocationService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class LocationService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Terminal/ReaderService.php b/lib/Service/Terminal/ReaderService.php
index 488ad518e..f119f8e2b 100644
--- a/lib/Service/Terminal/ReaderService.php
+++ b/lib/Service/Terminal/ReaderService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ReaderService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TestHelpers/ConfirmationTokenService.php b/lib/Service/TestHelpers/ConfirmationTokenService.php
index 0f6f13d1b..a98c0e3a3 100644
--- a/lib/Service/TestHelpers/ConfirmationTokenService.php
+++ b/lib/Service/TestHelpers/ConfirmationTokenService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ConfirmationTokenService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TestHelpers/CustomerService.php b/lib/Service/TestHelpers/CustomerService.php
index ad461f21f..902a93338 100644
--- a/lib/Service/TestHelpers/CustomerService.php
+++ b/lib/Service/TestHelpers/CustomerService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CustomerService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TestHelpers/Issuing/AuthorizationService.php b/lib/Service/TestHelpers/Issuing/AuthorizationService.php
index e621ee349..50db7c836 100644
--- a/lib/Service/TestHelpers/Issuing/AuthorizationService.php
+++ b/lib/Service/TestHelpers/Issuing/AuthorizationService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class AuthorizationService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TestHelpers/Issuing/CardService.php b/lib/Service/TestHelpers/Issuing/CardService.php
index 651f93e8c..78b7b18f5 100644
--- a/lib/Service/TestHelpers/Issuing/CardService.php
+++ b/lib/Service/TestHelpers/Issuing/CardService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CardService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TestHelpers/Issuing/PersonalizationDesignService.php b/lib/Service/TestHelpers/Issuing/PersonalizationDesignService.php
index e9051d729..386fc955f 100644
--- a/lib/Service/TestHelpers/Issuing/PersonalizationDesignService.php
+++ b/lib/Service/TestHelpers/Issuing/PersonalizationDesignService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class PersonalizationDesignService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TestHelpers/Issuing/TransactionService.php b/lib/Service/TestHelpers/Issuing/TransactionService.php
index 6093869c5..0142ecfd4 100644
--- a/lib/Service/TestHelpers/Issuing/TransactionService.php
+++ b/lib/Service/TestHelpers/Issuing/TransactionService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class TransactionService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TestHelpers/RefundService.php b/lib/Service/TestHelpers/RefundService.php
index 497fe506d..512340441 100644
--- a/lib/Service/TestHelpers/RefundService.php
+++ b/lib/Service/TestHelpers/RefundService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class RefundService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TestHelpers/Terminal/ReaderService.php b/lib/Service/TestHelpers/Terminal/ReaderService.php
index 183419aa6..afdecb55b 100644
--- a/lib/Service/TestHelpers/Terminal/ReaderService.php
+++ b/lib/Service/TestHelpers/Terminal/ReaderService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ReaderService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TestHelpers/TestClockService.php b/lib/Service/TestHelpers/TestClockService.php
index 5c22b779c..d938a96b7 100644
--- a/lib/Service/TestHelpers/TestClockService.php
+++ b/lib/Service/TestHelpers/TestClockService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class TestClockService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TestHelpers/Treasury/InboundTransferService.php b/lib/Service/TestHelpers/Treasury/InboundTransferService.php
index b8f0582ed..e293e4fae 100644
--- a/lib/Service/TestHelpers/Treasury/InboundTransferService.php
+++ b/lib/Service/TestHelpers/Treasury/InboundTransferService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class InboundTransferService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TestHelpers/Treasury/OutboundPaymentService.php b/lib/Service/TestHelpers/Treasury/OutboundPaymentService.php
index 0cef507e3..49902252c 100644
--- a/lib/Service/TestHelpers/Treasury/OutboundPaymentService.php
+++ b/lib/Service/TestHelpers/Treasury/OutboundPaymentService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class OutboundPaymentService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TestHelpers/Treasury/OutboundTransferService.php b/lib/Service/TestHelpers/Treasury/OutboundTransferService.php
index 60c7adbae..c15288005 100644
--- a/lib/Service/TestHelpers/Treasury/OutboundTransferService.php
+++ b/lib/Service/TestHelpers/Treasury/OutboundTransferService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class OutboundTransferService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TestHelpers/Treasury/ReceivedCreditService.php b/lib/Service/TestHelpers/Treasury/ReceivedCreditService.php
index 80051900a..b1d865c13 100644
--- a/lib/Service/TestHelpers/Treasury/ReceivedCreditService.php
+++ b/lib/Service/TestHelpers/Treasury/ReceivedCreditService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ReceivedCreditService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TestHelpers/Treasury/ReceivedDebitService.php b/lib/Service/TestHelpers/Treasury/ReceivedDebitService.php
index d8810aa82..bbd0cc9fc 100644
--- a/lib/Service/TestHelpers/Treasury/ReceivedDebitService.php
+++ b/lib/Service/TestHelpers/Treasury/ReceivedDebitService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ReceivedDebitService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TokenService.php b/lib/Service/TokenService.php
index 363b7411e..ea9aa7a7b 100644
--- a/lib/Service/TokenService.php
+++ b/lib/Service/TokenService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class TokenService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TopupService.php b/lib/Service/TopupService.php
index ffb3de04c..2d11619f8 100644
--- a/lib/Service/TopupService.php
+++ b/lib/Service/TopupService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class TopupService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/TransferService.php b/lib/Service/TransferService.php
index fa6577881..26ec45ef8 100644
--- a/lib/Service/TransferService.php
+++ b/lib/Service/TransferService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class TransferService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Treasury/CreditReversalService.php b/lib/Service/Treasury/CreditReversalService.php
index 804ee42b2..5cd422262 100644
--- a/lib/Service/Treasury/CreditReversalService.php
+++ b/lib/Service/Treasury/CreditReversalService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class CreditReversalService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Treasury/DebitReversalService.php b/lib/Service/Treasury/DebitReversalService.php
index 3f11899de..cbeaa111b 100644
--- a/lib/Service/Treasury/DebitReversalService.php
+++ b/lib/Service/Treasury/DebitReversalService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class DebitReversalService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Treasury/FinancialAccountService.php b/lib/Service/Treasury/FinancialAccountService.php
index e61f5d44b..f8ec126f9 100644
--- a/lib/Service/Treasury/FinancialAccountService.php
+++ b/lib/Service/Treasury/FinancialAccountService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class FinancialAccountService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Treasury/InboundTransferService.php b/lib/Service/Treasury/InboundTransferService.php
index 8d81ba3dd..95c7fdc6f 100644
--- a/lib/Service/Treasury/InboundTransferService.php
+++ b/lib/Service/Treasury/InboundTransferService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class InboundTransferService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Treasury/OutboundPaymentService.php b/lib/Service/Treasury/OutboundPaymentService.php
index 561231c3e..53a5e02a5 100644
--- a/lib/Service/Treasury/OutboundPaymentService.php
+++ b/lib/Service/Treasury/OutboundPaymentService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class OutboundPaymentService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Treasury/OutboundTransferService.php b/lib/Service/Treasury/OutboundTransferService.php
index 253d56296..0b2a27382 100644
--- a/lib/Service/Treasury/OutboundTransferService.php
+++ b/lib/Service/Treasury/OutboundTransferService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class OutboundTransferService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Treasury/ReceivedCreditService.php b/lib/Service/Treasury/ReceivedCreditService.php
index adf134cee..8c7412656 100644
--- a/lib/Service/Treasury/ReceivedCreditService.php
+++ b/lib/Service/Treasury/ReceivedCreditService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ReceivedCreditService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Treasury/ReceivedDebitService.php b/lib/Service/Treasury/ReceivedDebitService.php
index c9993dad5..8d856881c 100644
--- a/lib/Service/Treasury/ReceivedDebitService.php
+++ b/lib/Service/Treasury/ReceivedDebitService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class ReceivedDebitService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Treasury/TransactionEntryService.php b/lib/Service/Treasury/TransactionEntryService.php
index c45d1193d..52af51d5a 100644
--- a/lib/Service/Treasury/TransactionEntryService.php
+++ b/lib/Service/Treasury/TransactionEntryService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class TransactionEntryService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/Treasury/TransactionService.php b/lib/Service/Treasury/TransactionService.php
index 92fd02f2c..11eb6a541 100644
--- a/lib/Service/Treasury/TransactionService.php
+++ b/lib/Service/Treasury/TransactionService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class TransactionService extends \Stripe\Service\AbstractService
diff --git a/lib/Service/WebhookEndpointService.php b/lib/Service/WebhookEndpointService.php
index f86119cdb..913f01a70 100644
--- a/lib/Service/WebhookEndpointService.php
+++ b/lib/Service/WebhookEndpointService.php
@@ -6,8 +6,6 @@
/**
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
- */
-/**
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
*/
class WebhookEndpointService extends \Stripe\Service\AbstractService
diff --git a/lib/ShippingRate.php b/lib/ShippingRate.php
index c35964426..e90b40c03 100644
--- a/lib/ShippingRate.php
+++ b/lib/ShippingRate.php
@@ -19,7 +19,7 @@
* @property \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 null|string $tax_behavior Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of inclusive
, exclusive
, or unspecified
.
* @property null|string|\Stripe\TaxCode $tax_code A tax code ID. The Shipping tax code is txcd_92010001
.
- * @property string $type The type of calculation to use on the shipping rate. Can only be fixed_amount
for now.
+ * @property string $type The type of calculation to use on the shipping rate.
*/
class ShippingRate extends ApiResource
{
diff --git a/lib/Subscription.php b/lib/Subscription.php
index 75a3e7cfc..ea78481c7 100644
--- a/lib/Subscription.php
+++ b/lib/Subscription.php
@@ -35,6 +35,7 @@
* @property null|\Stripe\Discount $discount Describes the current discount applied to this subscription, if there is one. When billing, a discount applied to a subscription overrides a discount applied on a customer-wide basis. This field has been deprecated and will be removed in a future API version. Use discounts
instead.
* @property (string|\Stripe\Discount)[] $discounts The discounts applied to the subscription. Subscription item discounts are applied before subscription discounts. Use expand[]=discounts
to expand each discount.
* @property null|int $ended_at If the subscription has ended, the date the subscription ended.
+ * @property \Stripe\StripeObject $invoice_settings
* @property \Stripe\Collection<\Stripe\SubscriptionItem> $items List of subscription items, each with an attached price.
* @property null|string|\Stripe\Invoice $latest_invoice The most recent invoice this subscription has generated.
* @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/TaxId.php b/lib/TaxId.php
index 28fa8569b..18a214c83 100644
--- a/lib/TaxId.php
+++ b/lib/TaxId.php
@@ -17,7 +17,7 @@
* @property null|string|\Stripe\Customer $customer ID of 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.
* @property null|\Stripe\StripeObject $owner The account or customer the tax ID belongs to.
- * @property string $type Type of the tax ID, one of ad_nrt
, ae_trn
, ar_cuit
, au_abn
, au_arn
, bg_uic
, bh_vat
, bo_tin
, br_cnpj
, br_cpf
, ca_bn
, ca_gst_hst
, ca_pst_bc
, ca_pst_mb
, ca_pst_sk
, ca_qst
, ch_vat
, cl_tin
, cn_tin
, co_nit
, cr_tin
, do_rcn
, ec_ruc
, eg_tin
, es_cif
, eu_oss_vat
, eu_vat
, gb_vat
, ge_vat
, hk_br
, hu_tin
, id_npwp
, il_vat
, in_gst
, is_vat
, jp_cn
, jp_rn
, jp_trn
, ke_pin
, kr_brn
, kz_bin
, li_uid
, mx_rfc
, my_frp
, my_itn
, my_sst
, ng_tin
, no_vat
, no_voec
, nz_gst
, om_vat
, pe_ruc
, ph_tin
, ro_tin
, rs_pib
, ru_inn
, ru_kpp
, sa_vat
, sg_gst
, sg_uen
, si_tin
, sv_nit
, th_vat
, tr_tin
, tw_vat
, ua_vat
, us_ein
, uy_ruc
, ve_rif
, vn_tin
, or za_vat
. Note that some legacy tax IDs have type unknown
+ * @property string $type Type of the tax ID, one of ad_nrt
, ae_trn
, ar_cuit
, au_abn
, au_arn
, bg_uic
, bh_vat
, bo_tin
, br_cnpj
, br_cpf
, ca_bn
, ca_gst_hst
, ca_pst_bc
, ca_pst_mb
, ca_pst_sk
, ca_qst
, ch_vat
, cl_tin
, cn_tin
, co_nit
, cr_tin
, de_stn
, do_rcn
, ec_ruc
, eg_tin
, es_cif
, eu_oss_vat
, eu_vat
, gb_vat
, ge_vat
, hk_br
, hu_tin
, id_npwp
, il_vat
, in_gst
, is_vat
, jp_cn
, jp_rn
, jp_trn
, ke_pin
, kr_brn
, kz_bin
, li_uid
, mx_rfc
, my_frp
, my_itn
, my_sst
, ng_tin
, no_vat
, no_voec
, nz_gst
, om_vat
, pe_ruc
, ph_tin
, ro_tin
, rs_pib
, ru_inn
, ru_kpp
, sa_vat
, sg_gst
, sg_uen
, si_tin
, sv_nit
, th_vat
, tr_tin
, tw_vat
, ua_vat
, us_ein
, uy_ruc
, ve_rif
, vn_tin
, or za_vat
. Note that some legacy tax IDs have type unknown
* @property string $value Value of the tax ID.
* @property null|\Stripe\StripeObject $verification Tax ID verification information.
*/
@@ -46,6 +46,7 @@ class TaxId extends ApiResource
const TYPE_CN_TIN = 'cn_tin';
const TYPE_CO_NIT = 'co_nit';
const TYPE_CR_TIN = 'cr_tin';
+ const TYPE_DE_STN = 'de_stn';
const TYPE_DO_RCN = 'do_rcn';
const TYPE_EC_RUC = 'ec_ruc';
const TYPE_EG_TIN = 'eg_tin';
diff --git a/lib/Token.php b/lib/Token.php
index a4e6516da..7c2fb83a5 100644
--- a/lib/Token.php
+++ b/lib/Token.php
@@ -28,7 +28,7 @@
*
* @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 null|\Stripe\BankAccount $bank_account These bank accounts are payment methods on Customer
objects.
On the other hand External Accounts are transfer destinations on Account
objects for accounts where controller.requirement_collection is application
, which includes Custom accounts. They can be bank accounts or debit cards as well, and are documented in the links above.
Related guide: Bank debits and transfers
+ * @property null|\Stripe\BankAccount $bank_accountThese bank accounts are payment methods on Customer
objects.
On the other hand External Accounts are transfer destinations on Account
objects for connected accounts. They can be bank accounts or debit cards as well, and are documented in the links above.
Related guide: Bank debits and transfers
* @property null|\Stripe\Card $cardYou can store multiple cards on a customer in order to charge the customer later. You can also store multiple debit cards on a recipient in order to transfer to those cards later.
Related guide: Card payments with Sources
* @property null|string $client_ip IP address of the client that generates the token. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. From 7e1c4b5d2beadeaeddc42fd1f8a50fdb18b37f30 Mon Sep 17 00:00:00 2001 From: Ramya Rao