Typescript SDK Type Docs
    Preparing search index...

    Interface CustomLineItemDraft

    Index

    Properties

    discountedPricePerQuantity?: DiscountedLineItemPriceDraft[]

    Maps to CustomLineItem.discountedPricePerQuantity.

    externalTaxRate?: ExternalTaxRateDraft

    External Tax Rate for the Custom Line Item if the Cart has the External TaxMode.

    money: TypedMoney

    Maps to CustomLineItem.money.

    Maps to CustomLineItem.name.

    quantity: number

    Maps to CustomLineItem.quantity.

    shippingDetails?: ItemShippingDetailsDraft

    Maps to CustomLineItem.shippingDetails.

    slug: string

    Maps to CustomLineItem.slug.

    state?: ItemState[]

    Maps to CustomLineItem.state.

    Maps to CustomLineItem.taxCategory. References a tax category by key. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

    Maps to CustomLineItem.taxedPrice.

    taxRate?: TaxRate

    Maps to CustomLineItem.taxRate.

    totalPrice: TypedMoney

    Maps to CustomLineItem.totalPrice.