-
#1732 Update generated code
-
#1723 Update generated code
- Add support for
issuer
onInvoiceCreateParams
,InvoiceUpcomingLinesParams
,InvoiceUpcomingParams
,InvoiceUpdateParams
, andInvoice
- Add support for
liability
onInvoice.automatic_tax
,InvoiceCreateParams.automatic_tax
,InvoiceUpcomingLinesParams.automatic_tax
,InvoiceUpcomingParams.automatic_tax
,InvoiceUpdateParams.automatic_tax
,Subscription.automatic_tax
,SubscriptionCreateParams.automatic_tax
, andSubscriptionUpdateParams.automatic_tax
- Add support for
on_behalf_of
onInvoiceUpcomingLinesParams
andInvoiceUpcomingParams
- Add support for
pin
onissuing.CardCreateParams
- Add support for
revocation_reason
onMandate.payment_method_details.bacs_debit
- Add support for new value
nn
on enumsPaymentIntentConfirmParams.payment_method_data.ideal.bank
,PaymentIntentCreateParams.payment_method_data.ideal.bank
,PaymentIntentUpdateParams.payment_method_data.ideal.bank
,PaymentMethodCreateParams.ideal.bank
,SetupIntentConfirmParams.payment_method_data.ideal.bank
,SetupIntentCreateParams.payment_method_data.ideal.bank
, andSetupIntentUpdateParams.payment_method_data.ideal.bank
- Add support for
customer_balance
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
- Add support for
invoice_settings
onSubscriptionCreateParams
andSubscriptionUpdateParams
- Add support for
-
#1724 Add webhook parsing method on StripeClient
- Add support for
constructEvent()
instance method onStripeClient
that parses Webhook events and uses the settings inherited from the StripeClient instance to make further requests.
- Add support for
-
#1721 Report usage of
stripe_client
- Reports use of the new
StripeClient
inX-Stripe-Client-Telemetry
. (You can disable telemetry viaStripe.enableTelemetry = false;
, see the README.)
Details
- A different approach to #1698. This one sets
usage
on each callsite toStripeResponseGetter.request
fromStripeClient
, rather than attempting to wrapLiveStripeResponseGetter
. - Modifies
RequestTelemetry
to accept usage and set it appropriately onX-Stripe-Client-Telemetry
. Had to add a parameter to a public method, so I made a new overload and deprecated the old one. Had to disable a linter rule to do this.
- Reports use of the new
-
#1725 Move request telemetry to LiveStripeResponseGetter
-
#1722 Refactor LiveStripeResponseGetter