import { ShopifyShopPayPaymentRequestInput } from '@daffodil/driver/shopify'
The input fields represent a Shop Pay payment request.
interface ShopifyShopPayPaymentRequestInput {
deliveryMethods: ShopifyShopPayPaymentRequestDeliveryMethodInput[]
discountCodes: string[]
discounts: ShopifyShopPayPaymentRequestDiscountInput[]
lineItems: ShopifyShopPayPaymentRequestLineItemInput[]
locale: string
paymentMethod: string
presentmentCurrency: ShopifyCurrencyCode
selectedDeliveryMethodType: ShopifyShopPayPaymentRequestDeliveryMethodType
shippingLines: ShopifyShopPayPaymentRequestShippingLineInput[]
subtotal: ShopifyMoneyInput
total: ShopifyMoneyInput
totalShippingPrice: ShopifyShopPayPaymentRequestTotalShippingPriceInput
totalTax: ShopifyMoneyInput
}
deliveryMethods ShopifyShopPayPaymentRequestDeliveryMethodInput[] |
|---|
The delivery methods for the payment request. The input must not contain more than |
discountCodes string[] |
|---|
The discount codes for the payment request. The input must not contain more than |
discounts ShopifyShopPayPaymentRequestDiscountInput[] |
|---|
The discounts for the payment request order. The input must not contain more than |
lineItems ShopifyShopPayPaymentRequestLineItemInput[] |
|---|
The line items for the payment request. The input must not contain more than |
locale string |
|---|
The locale for the payment request. |
paymentMethod string |
|---|
The encrypted payment method for the payment request. |
presentmentCurrency ShopifyCurrencyCode |
|---|
The presentment currency for the payment request. |
selectedDeliveryMethodType ShopifyShopPayPaymentRequestDeliveryMethodType |
|---|
The delivery method type for the payment request. |
shippingLines ShopifyShopPayPaymentRequestShippingLineInput[] |
|---|
The shipping lines for the payment request. The input must not contain more than |
subtotal ShopifyMoneyInput |
|---|
The subtotal amount for the payment request. |
total ShopifyMoneyInput |
|---|
The total amount for the payment request. |
totalShippingPrice ShopifyShopPayPaymentRequestTotalShippingPriceInput |
|---|
The total shipping price for the payment request. |
totalTax ShopifyMoneyInput |
|---|
The total tax for the payment request. |