#Piercy-checkout-type-interface
1 messages · Page 1 of 1 (latest)
Hey! I guess it would need the full namespace: Stripe.LineItem.PriceData.TaxBehaviour
I'm getting complaints from my IDE about PriceData not existing under LineItem
Here's the types: https://github.com/stripe/stripe-node/blob/master/types/2020-08-27/Checkout/Sessions.d.ts
Maybe it's Stripe.Checkout.LineItem.PriceData.TaxBehaviour
yeah, Checkout Then doesn't have LineItem.
Package: stripe v8.154.0
import { Stripe } from 'stripe'
export interface CSLineItem {
tax_behavior?: Stripe.Checkout.LineItem.PriceData.TaxBehaviour
}
My guess is it's Stripe.Checkout.SessionCreateParams.LineItem.PriceData.TaxBehaviour
Sorry, just trying to interpret the same type definitions as you!
Yeah that seems to work! perfect, yeah I was trying to trace it through as well, just couldn't work it out.
Thanks that works!
Nice, np!