Skip to content

Commit

Permalink
Update generated code for v1095
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jun 24, 2024
1 parent da062b7 commit 152c61a
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 28 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1094
v1095
1 change: 0 additions & 1 deletion init.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,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';
Expand Down
2 changes: 1 addition & 1 deletion lib/BalanceTransaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 <code>amount</code> - <code>fee</code>
* @property string $reporting_category Learn more about how <a href="https://stripe.com/docs/reports/reporting-categories">reporting categories</a> 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 <code>available</code> or <code>pending</code>.
* @property string $type Transaction type: <code>adjustment</code>, <code>advance</code>, <code>advance_funding</code>, <code>anticipation_repayment</code>, <code>application_fee</code>, <code>application_fee_refund</code>, <code>charge</code>, <code>climate_order_purchase</code>, <code>climate_order_refund</code>, <code>connect_collection_transfer</code>, <code>contribution</code>, <code>issuing_authorization_hold</code>, <code>issuing_authorization_release</code>, <code>issuing_dispute</code>, <code>issuing_transaction</code>, <code>obligation_outbound</code>, <code>obligation_reversal_inbound</code>, <code>payment</code>, <code>payment_failure_refund</code>, <code>payment_network_reserve_hold</code>, <code>payment_network_reserve_release</code>, <code>payment_refund</code>, <code>payment_reversal</code>, <code>payment_unreconciled</code>, <code>payout</code>, <code>payout_cancel</code>, <code>payout_failure</code>, <code>refund</code>, <code>refund_failure</code>, <code>reserve_transaction</code>, <code>reserved_funds</code>, <code>stripe_fee</code>, <code>stripe_fx_fee</code>, <code>tax_fee</code>, <code>topup</code>, <code>topup_reversal</code>, <code>transfer</code>, <code>transfer_cancel</code>, <code>transfer_failure</code>, or <code>transfer_refund</code>. Learn more about <a href="https://stripe.com/docs/reports/balance-transaction-types">balance transaction types and what they represent</a>. To classify transactions for accounting purposes, consider <code>reporting_category</code> instead.
*/
Expand Down
1 change: 0 additions & 1 deletion lib/Charge.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ class Charge extends ApiResource
const OBJECT_NAME = 'charge';

use ApiOperations\NestedResource;
use ApiOperations\Search;
use ApiOperations\Update;

const STATUS_FAILED = 'failed';
Expand Down
1 change: 0 additions & 1 deletion lib/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class Customer extends ApiResource
const OBJECT_NAME = 'customer';

use ApiOperations\NestedResource;
use ApiOperations\Search;
use ApiOperations\Update;

const TAX_EXEMPT_EXEMPT = 'exempt';
Expand Down
1 change: 0 additions & 1 deletion lib/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ class Invoice extends ApiResource
const OBJECT_NAME = 'invoice';

use ApiOperations\NestedResource;
use ApiOperations\Search;
use ApiOperations\Update;

const BILLING_REASON_AUTOMATIC_PENDING_INVOICE_ITEM_INVOICE = 'automatic_pending_invoice_item_invoice';
Expand Down
1 change: 0 additions & 1 deletion lib/PaymentIntent.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ class PaymentIntent extends ApiResource
{
const OBJECT_NAME = 'payment_intent';

use ApiOperations\Search;
use ApiOperations\Update;

const CANCELLATION_REASON_ABANDONED = 'abandoned';
Expand Down
17 changes: 0 additions & 17 deletions lib/PlatformTaxFee.php

This file was deleted.

1 change: 0 additions & 1 deletion lib/Price.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class Price extends ApiResource
{
const OBJECT_NAME = 'price';

use ApiOperations\Search;
use ApiOperations\Update;

const BILLING_SCHEME_PER_UNIT = 'per_unit';
Expand Down
1 change: 0 additions & 1 deletion lib/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ class Product extends ApiResource
const OBJECT_NAME = 'product';

use ApiOperations\NestedResource;
use ApiOperations\Search;
use ApiOperations\Update;

const TYPE_GOOD = 'good';
Expand Down
1 change: 0 additions & 1 deletion lib/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class Subscription extends ApiResource
{
const OBJECT_NAME = 'subscription';

use ApiOperations\Search;
use ApiOperations\Update;

const COLLECTION_METHOD_CHARGE_AUTOMATICALLY = 'charge_automatically';
Expand Down
1 change: 0 additions & 1 deletion lib/Util/ObjectTypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,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,
Expand Down

0 comments on commit 152c61a

Please sign in to comment.