Skip to content

Commit

Permalink
Codegen for openapi v204 (#1389)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-stripe authored Nov 2, 2022
1 parent ef98d5b commit 25157e3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v203
v204
5 changes: 5 additions & 0 deletions lib/Refund.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
* been created but not yet refunded. Funds will be refunded to the credit or debit
* card that was originally charged.
*
* Stripe Tax users with recurring payments and invoices can create <a
* href="https://stripe.com/docs/api/credit_notes">Credit Notes</a>, which reduce
* overall tax liability because tax is correctly recalculated and apportioned to
* the related invoice.
*
* Related guide: <a href="https://stripe.com/docs/refunds">Refunds</a>.
*
* @property string $id Unique identifier for the object.
Expand Down
8 changes: 6 additions & 2 deletions lib/Service/Issuing/AuthorizationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ public function all($params = null, $opts = null)
* Approves a pending Issuing <code>Authorization</code> object. This request
* should be made within the timeout window of the <a
* href="/docs/issuing/controls/real-time-authorizations">real-time
* authorization</a> flow.
* authorization</a> flow. You can also respond directly to the webhook request to
* approve an authorization (preferred). More details can be found <a
* href="https://site-admin.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">here</a>.
*
* @param string $id
* @param null|array $params
Expand All @@ -46,7 +48,9 @@ public function approve($id, $params = null, $opts = null)
* Declines a pending Issuing <code>Authorization</code> object. This request
* should be made within the timeout window of the <a
* href="/docs/issuing/controls/real-time-authorizations">real time
* authorization</a> flow.
* authorization</a> flow. You can also respond directly to the webhook request to
* decline an authorization (preferred). More details can be found <a
* href="https://site-admin.stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling">here</a>.
*
* @param string $id
* @param null|array $params
Expand Down
1 change: 1 addition & 0 deletions lib/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
* @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* @property null|int $next_pending_invoice_item_invoice Specifies the approximate timestamp on which any pending invoice items will be billed according to the schedule provided at <code>pending_invoice_item_interval</code>.
* @property null|string|\Stripe\Account $on_behalf_of The account (if any) the charge was made on behalf of for charges associated with this subscription. See the Connect documentation for details.
* @property null|\Stripe\StripeObject $pause_collection If specified, payment collection for this subscription will be paused.
* @property null|\Stripe\StripeObject $payment_settings Payment settings passed on to invoices created by the subscription.
* @property null|\Stripe\StripeObject $pending_invoice_item_interval Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling <a href="https://stripe.com/docs/api#create_invoice">Create an invoice</a> for the given subscription at the specified interval.
Expand Down

0 comments on commit 25157e3

Please sign in to comment.