import { ShopifyShopPayPaymentRequest } from '@daffodil/driver/shopify'
Represents a Shop Pay payment request.
interface ShopifyShopPayPaymentRequest {
__typename: "ShopPayPaymentRequest"
deliveryMethods: ShopifyShopPayPaymentRequestDeliveryMethod[]
discountCodes: string[]
discounts: ShopifyShopPayPaymentRequestDiscount[]
lineItems: ShopifyShopPayPaymentRequestLineItem[]
locale: string
presentmentCurrency: ShopifyCurrencyCode
selectedDeliveryMethodType: ShopifyShopPayPaymentRequestDeliveryMethodType
shippingAddress: ShopifyShopPayPaymentRequestContactField
shippingLines: ShopifyShopPayPaymentRequestShippingLine[]
subtotal: ShopifyMoneyV2
total: ShopifyMoneyV2
totalShippingPrice: ShopifyShopPayPaymentRequestTotalShippingPrice
totalTax: ShopifyMoneyV2
}
__typename "ShopPayPaymentRequest" |
|---|
deliveryMethods ShopifyShopPayPaymentRequestDeliveryMethod[] |
|---|
The delivery methods for the payment request. |
discountCodes string[] |
|---|
The discount codes for the payment request. |
discounts ShopifyShopPayPaymentRequestDiscount[] |
|---|
The discounts for the payment request order. |
lineItems ShopifyShopPayPaymentRequestLineItem[] |
|---|
The line items for the payment request. |
locale string |
|---|
The locale for the payment request. |
presentmentCurrency ShopifyCurrencyCode |
|---|
The presentment currency for the payment request. |
selectedDeliveryMethodType ShopifyShopPayPaymentRequestDeliveryMethodType |
|---|
The delivery method type for the payment request. |
shippingAddress ShopifyShopPayPaymentRequestContactField |
|---|
The shipping address for the payment request. |
shippingLines ShopifyShopPayPaymentRequestShippingLine[] |
|---|
The shipping lines for the payment request. |
subtotal ShopifyMoneyV2 |
|---|
The subtotal amount for the payment request. |
total ShopifyMoneyV2 |
|---|
The total amount for the payment request. |
totalShippingPrice ShopifyShopPayPaymentRequestTotalShippingPrice |
|---|
The total shipping price for the payment request. |
totalTax ShopifyMoneyV2 |
|---|
The total tax for the payment request. |