Skip to content

Latest commit

 

History

History
322 lines (177 loc) · 5.29 KB

PhysicalItem.md

File metadata and controls

322 lines (177 loc) · 5.29 KB

@bigcommerce/checkout-sdk / PhysicalItem

Interface: PhysicalItem

Hierarchy

Table of contents

Properties

Properties

addedByPromotion

addedByPromotion: boolean

Inherited from

LineItem.addedByPromotion


brand

brand: string

Inherited from

LineItem.brand


categories

Optional categories: LineItemCategory[][]

Inherited from

LineItem.categories


categoryNames

Optional categoryNames: string[]

Inherited from

LineItem.categoryNames


comparisonPrice

comparisonPrice: number

Inherited from

LineItem.comparisonPrice


couponAmount

couponAmount: number

Inherited from

LineItem.couponAmount


discountAmount

discountAmount: number

Inherited from

LineItem.discountAmount


discounts

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

Inherited from

LineItem.discounts


extendedComparisonPrice

extendedComparisonPrice: number

Inherited from

LineItem.extendedComparisonPrice


extendedListPrice

extendedListPrice: number

Inherited from

LineItem.extendedListPrice


extendedSalePrice

extendedSalePrice: number

Inherited from

LineItem.extendedSalePrice


giftWrapping

Optional giftWrapping: Object

Type declaration

Name Type
amount number
message string
name string

id

id: string | number

Inherited from

LineItem.id


imageUrl

imageUrl: string

Inherited from

LineItem.imageUrl


isShippingRequired

isShippingRequired: boolean


isTaxable

isTaxable: boolean

Inherited from

LineItem.isTaxable


listPrice

listPrice: number

Inherited from

LineItem.listPrice


name

name: string

Inherited from

LineItem.name


options

Optional options: LineItemOption[]

Inherited from

LineItem.options


parentId

Optional parentId: null | string

Inherited from

LineItem.parentId


productId

productId: number

Inherited from

LineItem.productId


quantity

quantity: number

Inherited from

LineItem.quantity


retailPrice

retailPrice: number

Inherited from

LineItem.retailPrice


salePrice

salePrice: number

Inherited from

LineItem.salePrice


sku

sku: string

Inherited from

LineItem.sku


socialMedia

Optional socialMedia: LineItemSocialData[]

Inherited from

LineItem.socialMedia


url

url: string

Inherited from

LineItem.url


variantId

variantId: number

Inherited from

LineItem.variantId