GitHub

ShopifyCartEstimatedCost

interface

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

The estimated costs that the buyer will pay at checkout. The estimated cost uses CartBuyerIdentity to determine international pricing.

interface ShopifyCartEstimatedCost {
  __typename: "CartEstimatedCost"
  checkoutChargeAmount: ShopifyMoneyV2
  subtotalAmount: ShopifyMoneyV2
  totalAmount: ShopifyMoneyV2
  totalDutyAmount: ShopifyMoneyV2
  totalTaxAmount: ShopifyMoneyV2
}

Properties

__typename
"CartEstimatedCost"
checkoutChargeAmount
ShopifyMoneyV2

The estimated amount, before taxes and discounts, for the customer to pay at checkout. The checkout charge amount doesn't include any deferred payments that'll be paid at a later date. If the cart has no deferred payments, then the checkout charge amount is equivalent tosubtotal_amount.

subtotalAmount
ShopifyMoneyV2

The estimated amount, before taxes and discounts, for the customer to pay.

totalAmount
ShopifyMoneyV2

The estimated total amount for the customer to pay.

totalDutyAmount
ShopifyMoneyV2

The estimated duty amount for the customer to pay at checkout.

totalTaxAmount
ShopifyMoneyV2

The estimated tax amount for the customer to pay at checkout.