GitHub

ShopifyCartLineCost

interface

import { ShopifyCartLineCost } from '@daffodil/driver/shopify'

The cost of the merchandise line that the buyer will pay at checkout.

interface ShopifyCartLineCost {
  __typename: "CartLineCost"
  amountPerQuantity: ShopifyMoneyV2
  compareAtAmountPerQuantity: ShopifyMoneyV2
  subtotalAmount: ShopifyMoneyV2
  totalAmount: ShopifyMoneyV2
}

Properties

__typename
"CartLineCost"
amountPerQuantity
ShopifyMoneyV2

The amount of the merchandise line.

compareAtAmountPerQuantity
ShopifyMoneyV2

The compare at amount of the merchandise line.

subtotalAmount
ShopifyMoneyV2

The cost of the merchandise line before line-level discounts.

totalAmount
ShopifyMoneyV2

The total cost of the merchandise line.