import { ShopifyCartDirectPaymentMethodInput } from '@daffodil/driver/shopify'
The input fields for submitting direct payment method information for checkout.
interface ShopifyCartDirectPaymentMethodInput {
acceptedSubscriptionTerms: boolean
billingAddress: ShopifyMailingAddressInput
cardSource: ShopifyCartCardSource
sessionId: string
}
acceptedSubscriptionTerms boolean |
|---|
Indicates if the customer has accepted the subscription terms. Defaults to false. |
billingAddress ShopifyMailingAddressInput |
|---|
The customer's billing address. |
cardSource ShopifyCartCardSource |
|---|
The source of the credit card payment. |
sessionId string |
|---|
The session ID for the direct payment method used to create the payment. |