Skip to content

Latest commit

 

History

History
198 lines (112 loc) · 2.75 KB

LineItem.md

File metadata and controls

198 lines (112 loc) · 2.75 KB

@bigcommerce/checkout-sdk / LineItem

Interface: LineItem

Hierarchy

Table of contents

Properties

Properties

addedByPromotion

addedByPromotion: boolean


brand

brand: string


categories

Optional categories: LineItemCategory[][]


categoryNames

Optional categoryNames: string[]


comparisonPrice

comparisonPrice: number


couponAmount

couponAmount: number


discountAmount

discountAmount: number


discounts

discounts: { discountedAmount: number ; name: string }[]


extendedComparisonPrice

extendedComparisonPrice: number


extendedListPrice

extendedListPrice: number


extendedSalePrice

extendedSalePrice: number


id

id: string | number


imageUrl

imageUrl: string


isTaxable

isTaxable: boolean


listPrice

listPrice: number


name

name: string


options

Optional options: LineItemOption[]


parentId

Optional parentId: null | string


productId

productId: number


quantity

quantity: number


retailPrice

retailPrice: number


salePrice

salePrice: number


sku

sku: string


socialMedia

Optional socialMedia: LineItemSocialData[]


url

url: string


variantId

variantId: number