GitHub

ShopifyShopPayPaymentRequestLineItem

Type

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

Represents a line item for a Shop Pay payment request.

interface ShopifyShopPayPaymentRequestLineItem {
  __typename: "ShopPayPaymentRequestLineItem"
  finalItemPrice: ShopifyMoneyV2
  finalLinePrice: ShopifyMoneyV2
  image: ShopifyShopPayPaymentRequestImage
  itemDiscounts: ShopifyShopPayPaymentRequestDiscount[]
  label: string
  lineDiscounts: ShopifyShopPayPaymentRequestDiscount[]
  originalItemPrice: ShopifyMoneyV2
  originalLinePrice: ShopifyMoneyV2
  quantity: number
  requiresShipping: boolean
  sku: string
}

Properties

__typename
"ShopPayPaymentRequestLineItem"
finalItemPrice
ShopifyMoneyV2

The final item price for the line item.

finalLinePrice
ShopifyMoneyV2

The final line price for the line item.

image
ShopifyShopPayPaymentRequestImage

The image of the line item.

itemDiscounts
ShopifyShopPayPaymentRequestDiscount[]

The item discounts for the line item.

label
string

The label of the line item.

lineDiscounts
ShopifyShopPayPaymentRequestDiscount[]

The line discounts for the line item.

originalItemPrice
ShopifyMoneyV2

The original item price for the line item.

originalLinePrice
ShopifyMoneyV2

The original line price for the line item.

quantity
number

The quantity of the line item.

requiresShipping
boolean

Whether the line item requires shipping.

sku
string

The SKU of the line item.