GitHub

ShopifyAppliedGiftCard

interface

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

Details about the gift card used on the checkout.

interface ShopifyAppliedGiftCard {
  __typename: "AppliedGiftCard"
  amountUsed: ShopifyMoneyV2
  amountUsedV2: ShopifyMoneyV2
  balance: ShopifyMoneyV2
  balanceV2: ShopifyMoneyV2
  id: string
  lastCharacters: string
  presentmentAmountUsed: ShopifyMoneyV2
}

Properties

__typename
"AppliedGiftCard"
amountUsed
ShopifyMoneyV2

The amount that was taken from the gift card by applying it.

amountUsedV2
ShopifyMoneyV2

The amount that was taken from the gift card by applying it.

balance
ShopifyMoneyV2

The amount left on the gift card.

balanceV2
ShopifyMoneyV2

The amount left on the gift card.

id
string

A globally-unique ID.

lastCharacters
string

The last characters of the gift card.

presentmentAmountUsed
ShopifyMoneyV2

The amount that was applied to the checkout in its currency.