GitHub

ShopifyTransaction

interface

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

An object representing exchange of money for a product or service.

interface ShopifyTransaction {
  __typename: "Transaction"
  amount: ShopifyMoneyV2
  amountV2: ShopifyMoneyV2
  kind: ShopifyTransactionKind
  status: ShopifyTransactionStatus
  statusV2: ShopifyTransactionStatus
  test: boolean
}

Properties

__typename
"Transaction"
amount
ShopifyMoneyV2

The amount of money that the transaction was for.

amountV2
ShopifyMoneyV2

The amount of money that the transaction was for.

kind
ShopifyTransactionKind

The kind of the transaction.

status
ShopifyTransactionStatus

The status of the transaction.

statusV2
ShopifyTransactionStatus

The status of the transaction.

test
boolean

Whether the transaction was done in test mode or not.