CartLine
Describes@ebitex/commerce-sdk 0.2.xSee the changelog:@ebitex/commerce-sdk
Properties
Section titled “Properties”amount?
Section titled “amount?”
optionalamount?:CartMoney
availability?
Section titled “availability?”
optionalavailability?:Availability
available?
Section titled “available?”
optionalavailable?:number
Present only when the key may see counts (as for stock()).
converted
Section titled “converted”converted:
boolean
True when the price was converted from the store’s own currency rather than set for this one.
issue?
Section titled “issue?”
optionalissue?:"unavailable"|"unpriced"
unavailable (no longer sold here) or unpriced: the line contributes nothing to the totals.
name:
string
options
Section titled “options”options:
Record<string,string>
productKey
Section titled “productKey”productKey:
string
quantity
Section titled “quantity”quantity:
number
sku:
string
taxName?
Section titled “taxName?”
optionaltaxName?:string
taxPercent?
Section titled “taxPercent?”
optionaltaxPercent?:number
optionalunit?:CartMoney
Absent on a line with an issue.