GitHub

ShopifyShopPayPaymentRequestLineItemInput

Type

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

The input fields to create a line item for a Shop Pay payment request.

interface ShopifyShopPayPaymentRequestLineItemInput {
  finalItemPrice: ShopifyMoneyInput
  finalLinePrice: ShopifyMoneyInput
  image: ShopifyShopPayPaymentRequestImageInput
  itemDiscounts: ShopifyShopPayPaymentRequestDiscountInput[]
  label: string
  lineDiscounts: ShopifyShopPayPaymentRequestDiscountInput[]
  originalItemPrice: ShopifyMoneyInput
  originalLinePrice: ShopifyMoneyInput
  quantity: number
  requiresShipping: boolean
  sku: string
}

Properties

finalItemPrice
ShopifyMoneyInput

The final item price for the line item.

finalLinePrice
ShopifyMoneyInput

The final line price for the line item.

image
ShopifyShopPayPaymentRequestImageInput

The image of the line item.

itemDiscounts
ShopifyShopPayPaymentRequestDiscountInput[]

The item discounts for the line item.

The input must not contain more than 250 values.

label
string

The label of the line item.

lineDiscounts
ShopifyShopPayPaymentRequestDiscountInput[]

The line discounts for the line item.

The input must not contain more than 250 values.

originalItemPrice
ShopifyMoneyInput

The original item price for the line item.

originalLinePrice
ShopifyMoneyInput

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.