Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated code #1473

Merged
merged 3 commits into from
Apr 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v285
v293
2 changes: 2 additions & 0 deletions lib/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ class Invoice extends ApiResource
const COLLECTION_METHOD_CHARGE_AUTOMATICALLY = 'charge_automatically';
const COLLECTION_METHOD_SEND_INVOICE = 'send_invoice';

/** @deprecated */
const STATUS_DELETED = 'deleted';
const STATUS_DRAFT = 'draft';
const STATUS_OPEN = 'open';
const STATUS_PAID = 'paid';
Expand Down
2 changes: 1 addition & 1 deletion lib/Refund.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. (Available on non-card refunds only)
* @property null|string|\Stripe\BalanceTransaction $failure_balance_transaction If the refund failed, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction.
* @property null|string $failure_reason If the refund failed, the reason for refund failure if known. Possible values are <code>lost_or_stolen_card</code>, <code>expired_or_canceled_card</code>, <code>charge_for_pending_refund_disputed</code>, <code>insufficient_funds</code>, <code>declined</code>, <code>merchant_request</code> or <code>unknown</code>.
* @property null|string $instructions_email Email to which refund instructions, if required, are sent to.
* @property null|string $instructions_email For payment methods without native refund support (e.g., Konbini, PromptPay), email for the customer to receive refund instructions.
* @property null|\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|\Stripe\StripeObject $next_action
* @property null|string|\Stripe\PaymentIntent $payment_intent ID of the PaymentIntent that was refunded.
Expand Down
6 changes: 4 additions & 2 deletions lib/Tax/Calculation.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
namespace Stripe\Tax;

/**
* A Tax <code>Calculation</code> allows you to calculate the tax to collect from
* your customer.
* A Tax Calculation allows you to calculate the tax to collect from your customer.
*
* Related guide: <a href="https://stripe.com/docs/tax/custom">Calculate tax in
* your custom payment flow</a>.
*
* @property null|string $id Unique identifier for the calculation.
* @property string $object String representing the object's type. Objects of the same type share the same value.
Expand Down
6 changes: 5 additions & 1 deletion lib/Tax/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
namespace Stripe\Tax;

/**
* A Tax transaction records the tax collected from or refunded to your customer.
* A Tax Transaction records the tax collected from or refunded to your customer.
*
* Related guide: <a
* href="https://stripe.com/docs/tax/custom#tax-transaction">Calculate tax in your
* custom payment flow</a>.
*
* @property string $id Unique identifier for the transaction.
* @property string $object String representing the object's type. Objects of the same type share the same value.
Expand Down