GitHub

ShopifyMoneyV2

Type

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

A precise monetary value with its associated currency. Combines a decimal amount with a three-letter CurrencyCode to express prices, costs, and other financial values. For example, 12.99 USD.

interface ShopifyMoneyV2 {
  __typename: "MoneyV2"
  amount: Scalars['Decimal']['output']
  currencyCode: ShopifyCurrencyCode
}

Properties

__typename
"MoneyV2"
amount
Scalars['Decimal']['output']

Decimal money amount.

currencyCode
ShopifyCurrencyCode

Currency of the money.