Open
Conversation
d793bbe to
d63aff8
Compare
#2032) Add link to Stripe's Discord server to the readme for easier discovery
* Convert int64 to string * Add Int64 type * Add tests * Incorporate feedback and fix tests
* update supported versions * add new version * Update README.md Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com> --------- Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
* Update generated code for v2189 and * Update generated code for v2202 and * Update generated code for v2202 and * Update generated code for v2203 and * Update generated code for v2204 and * Update generated code for v2204 and * Removed extra RateLimitException.php from init.php --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: David Brownman <xavdid@stripe.com> Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com> Co-authored-by: Prathmesh Ranaut <prathmesh@stripe.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Codegen for openapi v2204 and proto spec .
Changelog
ProductCatalog.TrialOffer,Tax.Location, andV2.Core.BatchJobcreatemethod on resourceProductCatalog.TrialOfferall,create, andretrievemethods on resourceTax.Locationcancel,create, andretrievemethods on resourceV2.Core.BatchJobperformance_locationonTax.CalculationLineItemandTax\Calculation.create().$params.line_itemperformanceon enumsTax.Calculation.shipping_cost.tax_breakdown[].sourcing,Tax.CalculationLineItem.tax_breakdown[].sourcing, andTax.Transaction.shipping_cost.tax_breakdown[].sourcingadmissions_tax,attendance_tax,entertainment_tax,gross_receipts_tax,hospitality_tax,luxury_tax,resort_tax, andtourism_taxon enumsTax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type,Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type,Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type, andTax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_typetrial_offeronInvoice.create_preview().$params.schedule_detail.amendment.item_action.add,Invoice.create_preview().$params.schedule_detail.amendment.item_action.set,Invoice.create_preview().$params.schedule_detail.phase.item,Quote.create().$params.line.action.add_item,Quote.create().$params.line.action.set_item,Quote.update().$params.line.action.add_item,Quote.update().$params.line.action.set_item,QuoteLine.actions[].add_item,QuoteLine.actions[].set_items[],QuotePreviewSubscriptionSchedule.phases[].items[],SubscriptionSchedule.amend().$params.amendment.item_action.add,SubscriptionSchedule.amend().$params.amendment.item_action.set,SubscriptionSchedule.create().$params.phase.item,SubscriptionSchedule.phases[].items[], andSubscriptionSchedule.update().$params.phase.itemrisk_reservedonBalancesource_typeonCharge.payment_method_details.stripe_balance,ConfirmationToken.create().$params.payment_method_datum.stripe_balance,ConfirmationToken.payment_method_preview.stripe_balance,PaymentAttemptRecord.payment_method_details.stripe_balance,PaymentIntent.confirm().$params.payment_method_datum.stripe_balance,PaymentIntent.create().$params.payment_method_datum.stripe_balance,PaymentIntent.update().$params.payment_method_datum.stripe_balance,PaymentMethod.create().$params.stripe_balance,PaymentMethod.stripe_balance,PaymentRecord.payment_method_details.stripe_balance,SetupIntent.confirm().$params.payment_method_datum.stripe_balance,SetupIntent.create().$params.payment_method_datum.stripe_balance, andSetupIntent.update().$params.payment_method_datum.stripe_balancetax_detailsonCheckout\Session.create().$params.line_item.price_datum.product_datum,Checkout\Session.update().$params.line_item.price_datum.product_datum,Invoice.add_lines().$params.line.price_datum.product_datum,Invoice.update_lines().$params.line.price_datum.product_datum,InvoiceLineItem.update().$params.price_datum.product_datum,PaymentLink.create().$params.line_item.price_datum.product_datum,Plan.create().$params.product,Price.create().$params.product_datum,Product.create().$params, andProduct.update().$paramspending_invoice_item_intervalonCheckout\Session.update().$params.subscription_datumhostedandui_modeonFinancialConnections.SessionandFinancialConnections\Session.create().$paramsurlonFinancialConnections.Sessionexpires_after_secondsonInvoice.create().$params.payment_setting.payment_method_option.pix,Invoice.payment_settings.payment_method_options.pix,Invoice.update().$params.payment_setting.payment_method_option.pix,QuotePreviewInvoice.payment_settings.payment_method_options.pix,Subscription.create().$params.payment_setting.payment_method_option.pix,Subscription.payment_settings.payment_method_options.pix, andSubscription.update().$params.payment_setting.payment_method_option.pixcurrent_trialonInvoice.create_preview().$params.subscription_detail.item,Subscription.create().$params.item,Subscription.update().$params.item,SubscriptionItem.create().$params,SubscriptionItem.update().$params, andSubscriptionItemsurchargeonPaymentIntent.amount_details,PaymentIntent.capture().$params.amount_detail,PaymentIntent.confirm().$params.amount_detail,PaymentIntent.create().$params.amount_detail,PaymentIntent.increment_authorization().$params.amount_detail, andPaymentIntent.update().$params.amount_detailamount_detailsandpayment_detailsonPaymentIntent.decrement_authorization().$paramsmanaged_paymentsonPaymentLink.create().$paramsandPaymentLinkbilling_cycle_anchoronSubscription.create().$params.trial_setting.end_behavior,Subscription.trial_settings.end_behavior, andSubscription.update().$params.trial_setting.end_behavioradmissions_tax,attendance_tax,entertainment_tax,gross_receipts_tax,hospitality_tax,luxury_tax,resort_tax, andtourism_taxonTax.Registration.country_options.usadmissions_tax,attendance_tax,entertainment_tax,gross_receipts_tax,hospitality_tax,luxury_tax,resort_tax, andtourism_taxon enumTax.Registration.country_options.us.typerequirementsonTaxCodeV2.Billing.Cadence.settings_data.collection.payment_method_options.card.mandate_options.amount,V2.Billing.CollectionSetting.payment_method_options.card.mandate_options.amount,V2.Billing.CollectionSettingVersion.payment_method_options.card.mandate_options.amount,V2\Billing\CollectionSetting.create().$params.payment_method_option.card.mandate_option.amount, andV2\Billing\CollectionSetting.update().$params.payment_method_option.card.mandate_option.amountfromlongIntegertoint64_stringar_bank_account,co_bank_account, andeg_bank_accounton enumV2.Core.Account.configuration.recipient.default_outbound_destination.typetimezoneonV2.Core.Account.defaults,V2\Core\Account.create().$params.default, andV2\Core\Account.update().$params.defaultazure_event_gridonV2.Core.EventDestinationandV2\Core\EventDestination.create().$paramsno_azure_partner_topic_existson enumV2.Core.EventDestination.status_details.disabled.reasonazure_event_gridon enumV2.Core.EventDestination.typesupported_currenciesonV2.Core.Vault.GbBankAccount,V2.Core.Vault.UsBankAccount, andV2.MoneyManagement.PayoutMethod.cardV2.Core.Vault.GbBankAccount.sort_codeandV2\Core\Vault\GbBankAccount.create().$params.sort_codeto be optionalrestrictedonV2.MoneyManagement.PayoutMethodcurrenciesonV2.MoneyManagement.PayoutMethodsBankAccountSpec.countries.value.fields[]counterpartyanddescriptiononV2.MoneyManagement.TransactioncurrencyonV2\Core\Vault\GbBankAccount.create().$params,V2\Core\Vault\UsBankAccount.create().$params,V2\MoneyManagement\OutboundSetupIntent.create().$params.payout_method_datum.bank_account,V2\MoneyManagement\OutboundSetupIntent.create().$params.payout_method_datum.card,V2\MoneyManagement\OutboundSetupIntent.update().$params.payout_method_datum.bank_account, andV2\MoneyManagement\OutboundSetupIntent.update().$params.payout_method_datum.cardibanonV2\Core\Vault\GbBankAccount.create().$paramsV2\Core\Vault\GbBankAccount.create().$params.account_numberto be optionalcurrencyon enumInvalidPaymentMethodException.invalid_paramV2CoreBatchJobBatchFailedEvent,V2CoreBatchJobCanceledEvent,V2CoreBatchJobCompletedEvent,V2CoreBatchJobCreatedEvent,V2CoreBatchJobReadyForUploadEvent,V2CoreBatchJobTimeoutEvent,V2CoreBatchJobUpdatedEvent,V2CoreBatchJobUploadTimeoutEvent,V2CoreBatchJobValidatingEvent, andV2CoreBatchJobValidationFailedEventwith related objectV2.Core.BatchJobservice_period_coupon_with_metered_tiered_item_unsupportedonQuotePreviewInvoice.last_finalization_error