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 v932.
Changelog
risk_controls
on parameter classstripe.Account.CreateParams
and resourcestripe.Account
promotion_code
on parameter classesstripe.Invoice.AddLinesParamsLineDiscount
,stripe.Invoice.CreateParamsDiscount
,stripe.Invoice.ModifyParamsDiscount
,stripe.Invoice.UpdateLinesParamsLineDiscount
,stripe.InvoiceItem.CreateParamsDiscount
,stripe.InvoiceItem.ModifyParamsDiscount
,stripe.InvoiceLineItem.ModifyParamsDiscount
,stripe.Quote.CreateParamsDiscount
,stripe.Quote.CreateParamsLineActionAddDiscount
,stripe.Quote.CreateParamsLineItemDiscount
,stripe.Quote.CreateParamsPhaseLineItemDiscount
,stripe.Quote.ModifyParamsDiscount
,stripe.Quote.ModifyParamsLineActionAddDiscount
,stripe.Quote.ModifyParamsLineItemDiscount
, andstripe.Quote.ModifyParamsPhaseLineItemDiscount
zip
on parameter classesstripe.PaymentMethodConfiguration.CreateParams
andstripe.PaymentMethodConfiguration.ModifyParams
and resourcestripe.PaymentMethodConfiguration
offline
on resource classstripe.SetupAttempt.PaymentMethodDetails.CardPresent
card_present
on parameter classesstripe.SetupIntent.ConfirmParamsPaymentMethodOptions
,stripe.SetupIntent.CreateParamsPaymentMethodOptions
, andstripe.SetupIntent.ModifyParamsPaymentMethodOptions
and resource classstripe.SetupIntent.PaymentMethodOptions
modify
on resourcestripe.entitlements.Feature
email
on resourcestripe.identity.VerificationReport
, parameter classesstripe.identity.VerificationSession.CreateParamsOptions
andstripe.identity.VerificationSession.ModifyParamsOptions
, and resource classesstripe.identity.VerificationSession.Options
andstripe.identity.VerificationSession.VerifiedOutputs
phone
on resourcestripe.identity.VerificationReport
, parameter classesstripe.identity.VerificationSession.CreateParamsOptions
andstripe.identity.VerificationSession.ModifyParamsOptions
, and resource classesstripe.identity.VerificationSession.Options
andstripe.identity.VerificationSession.VerifiedOutputs
verification_flow
on resourcesstripe.identity.VerificationReport
andstripe.identity.VerificationSession
and parameter classstripe.identity.VerificationSession.CreateParams
provided_details
on parameter classesstripe.identity.VerificationSession.CreateParams
andstripe.identity.VerificationSession.ModifyParams
and resourcestripe.identity.VerificationSession
allowed_merchant_countries
on parameter classesstripe.issuing.Card.CreateParamsSpendingControls
,stripe.issuing.Card.ModifyParamsSpendingControls
,stripe.issuing.Cardholder.CreateParamsSpendingControls
, andstripe.issuing.Cardholder.ModifyParamsSpendingControls
and resource classesstripe.issuing.Card.SpendingControls
andstripe.issuing.Cardholder.SpendingControls
blocked_merchant_countries
on parameter classesstripe.issuing.Card.CreateParamsSpendingControls
,stripe.issuing.Card.ModifyParamsSpendingControls
,stripe.issuing.Cardholder.CreateParamsSpendingControls
, andstripe.issuing.Cardholder.ModifyParamsSpendingControls
and resource classesstripe.issuing.Card.SpendingControls
andstripe.issuing.Cardholder.SpendingControls
stripe.checkout.Session.CreateParamsPaymentMethodOptionsSwish
fromLiteral['']|str
tostr
ofreference
verification_flow
on enumsstripe.identity.VerificationReport.type
andstripe.identity.VerificationSession.type
email_unverified_other
on enumstripe.identity.VerificationSession.LastError.code
email_verification_declined
on enumstripe.identity.VerificationSession.LastError.code
phone_unverified_other
on enumstripe.identity.VerificationSession.LastError.code
phone_verification_declined
on enumstripe.identity.VerificationSession.LastError.code
mobile_phone_reader
on enumsstripe.terminal.Reader.device_type
andstripe.terminal.Reader.ListParams.device_type
stripe.identity.VerificationSession.CreateParams
fromLiteral['document', 'id_number']
toNotRequired[Literal['document', 'id_number']]
oftype
stripe.Invoice
,stripe.InvoiceLineItem
,stripe.QuotePreviewInvoice
,stripe.Subscription
, andstripe.SubscriptionItem
fromOptional[List[ExpandableField[Discount]]]
toList[ExpandableField[Discount]]
ofdiscounts
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode
fromOptional[str]
tostr
ofdata
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode
fromOptional[str]
tostr
ofimage_url_png
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode
fromOptional[str]
tostr
ofimage_url_svg
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode
fromOptional[str]
tostr
ofhosted_instructions_url
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode
fromOptional[str]
tostr
ofmobile_auth_url
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode
fromOptional[QrCode]
toQrCode
ofqr_code
stripe.QuoteLine.Action.AddItem
,stripe.QuoteLine.Action.SetItem
,stripe.QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem
,stripe.QuotePreviewSubscriptionSchedule.Phase.Item
,stripe.QuotePreviewSubscriptionSchedule.Phase
,stripe.SubscriptionSchedule.Phase.AddInvoiceItem
,stripe.SubscriptionSchedule.Phase.Item
, andstripe.SubscriptionSchedule.Phase
fromOptional[List[Discount]]
toList[Discount]
ofdiscounts