From 46127abb31843648dfd2b91db1d12d2422b74ab6 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 7 Aug 2023 14:51:41 +0000 Subject: [PATCH 1/5] Update generated code for v450 --- OPENAPI_VERSION | 2 +- lib/TaxRate.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index dae9a81fb..b46614ccd 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v446 \ No newline at end of file +v450 \ No newline at end of file diff --git a/lib/TaxRate.php b/lib/TaxRate.php index c0bc90262..b210270de 100644 --- a/lib/TaxRate.php +++ b/lib/TaxRate.php @@ -16,7 +16,7 @@ * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string $description An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers. * @property string $display_name The display name of the tax rates as it will appear to your customer on their receipt email, PDF, and the hosted invoice page. - * @property null|float $effective_percentage Actual/effective tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage does not include the statutory tax rate of non-taxable jurisdictions. + * @property null|float $effective_percentage Actual/effective tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage reflects the rate actually used to calculate tax based on the product's taxability and whether the user is registered to collect taxes in the corresponding jurisdiction. * @property bool $inclusive This specifies if the tax rate is inclusive or exclusive. * @property null|string $jurisdiction The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice. * @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 77c85f8180393db0d1e32e8cbfb8d8a5d0bf8f38 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 7 Aug 2023 17:18:19 +0000 Subject: [PATCH 2/5] Update generated code for v451 --- OPENAPI_VERSION | 2 +- lib/CreditNoteLineItem.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index b46614ccd..b54aeebde 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v450 \ No newline at end of file +v451 \ No newline at end of file diff --git a/lib/CreditNoteLineItem.php b/lib/CreditNoteLineItem.php index 31b90d5b3..1df1f8bb3 100644 --- a/lib/CreditNoteLineItem.php +++ b/lib/CreditNoteLineItem.php @@ -5,6 +5,8 @@ namespace Stripe; /** + * The credit note line item object. + * * @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 int $amount The integer amount in cents (or local equivalent) representing the gross amount being credited for this line item, excluding (exclusive) tax and discounts. From 7cfc391cbe0a5e627846227a2353ee7b7b6247a7 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 7 Aug 2023 18:50:12 +0000 Subject: [PATCH 3/5] Update generated code for v452 --- OPENAPI_VERSION | 2 +- lib/BalanceTransaction.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index b54aeebde..85c8b08d1 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v451 \ No newline at end of file +v452 \ No newline at end of file diff --git a/lib/BalanceTransaction.php b/lib/BalanceTransaction.php index 3980138fa..23e4fc32d 100644 --- a/lib/BalanceTransaction.php +++ b/lib/BalanceTransaction.php @@ -24,7 +24,7 @@ * @property string $reporting_category Learn more about how reporting categories can help you understand balance transactions from an accounting perspective. * @property null|string|\Stripe\StripeObject $source The Stripe object to which this transaction is related. * @property string $status If the transaction's net funds are available in the Stripe balance yet. Either available or pending. - * @property string $type Transaction type: adjustment, advance, advance_funding, anticipation_repayment, application_fee, application_fee_refund, charge, connect_collection_transfer, contribution, issuing_authorization_hold, issuing_authorization_release, issuing_dispute, issuing_transaction, payment, payment_failure_refund, payment_refund, 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. If you are looking to classify transactions for accounting purposes, you might want to consider reporting_category instead. + * @property string $type Transaction type: adjustment, advance, advance_funding, anticipation_repayment, application_fee, application_fee_refund, charge, connect_collection_transfer, contribution, issuing_authorization_hold, issuing_authorization_release, issuing_dispute, issuing_transaction, payment, payment_failure_refund, payment_refund, payment_reversal, 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. If you are looking to classify transactions for accounting purposes, you might want to consider reporting_category instead. */ class BalanceTransaction extends ApiResource { @@ -49,6 +49,7 @@ class BalanceTransaction extends ApiResource const TYPE_PAYMENT = 'payment'; const TYPE_PAYMENT_FAILURE_REFUND = 'payment_failure_refund'; const TYPE_PAYMENT_REFUND = 'payment_refund'; + const TYPE_PAYMENT_REVERSAL = 'payment_reversal'; const TYPE_PAYOUT = 'payout'; const TYPE_PAYOUT_CANCEL = 'payout_cancel'; const TYPE_PAYOUT_FAILURE = 'payout_failure'; From 8409e53c86fc9bfba024719871df30a1ee22abef Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 9 Aug 2023 14:54:23 +0000 Subject: [PATCH 4/5] Update generated code for v454 --- OPENAPI_VERSION | 2 +- lib/CustomerCashBalanceTransaction.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 85c8b08d1..1c6f65d1b 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v452 \ No newline at end of file +v454 \ No newline at end of file diff --git a/lib/CustomerCashBalanceTransaction.php b/lib/CustomerCashBalanceTransaction.php index 1793247d3..e7d182348 100644 --- a/lib/CustomerCashBalanceTransaction.php +++ b/lib/CustomerCashBalanceTransaction.php @@ -12,6 +12,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\StripeObject $adjusted_for_overdraft * @property null|\Stripe\StripeObject $applied_to_payment * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. @@ -31,6 +32,7 @@ class CustomerCashBalanceTransaction extends ApiResource use ApiOperations\All; use ApiOperations\Retrieve; + const TYPE_ADJUSTED_FOR_OVERDRAFT = 'adjusted_for_overdraft'; const TYPE_APPLIED_TO_PAYMENT = 'applied_to_payment'; const TYPE_FUNDED = 'funded'; const TYPE_FUNDING_REVERSED = 'funding_reversed'; From bafa30a896b1a3f995a6cb8409aa798ff26b48a5 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 9 Aug 2023 23:01:49 +0000 Subject: [PATCH 5/5] Update generated code for v455 --- OPENAPI_VERSION | 2 +- lib/Service/AccountService.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 1c6f65d1b..dad490c23 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v454 \ No newline at end of file +v455 \ No newline at end of file diff --git a/lib/Service/AccountService.php b/lib/Service/AccountService.php index 9cc5713df..6ab79a7e0 100644 --- a/lib/Service/AccountService.php +++ b/lib/Service/AccountService.php @@ -160,8 +160,8 @@ public function createPerson($parentId, $params = null, $opts = null) * zero. * * If you want to delete your own account, use the account information tab in your - * account settings instead. + * href="https://dashboard.stripe.com/settings/account">account information tab in + * your account settings instead. * * @param string $id * @param null|array $params @@ -296,9 +296,9 @@ public function retrievePerson($parentId, $id, $params = null, $opts = null) * Custom Only or Custom and Express below. * * To update your own account, use the Dashboard. Refer to our Connect documentation to learn more - * about updating accounts. + * href="https://dashboard.stripe.com/settings/account">Dashboard. Refer to our + * Connect documentation to learn + * more about updating accounts. * * @param string $id * @param null|array $params