GitHub

CartPaymentInput

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

The input fields for updating the payment method that will be used to checkout.

type CartPaymentInput = {
    amount: MoneyInput;
    directPaymentMethod?: InputMaybe<CartDirectPaymentMethodInput>;
    freePaymentMethod?: InputMaybe<CartFreePaymentMethodInput>;
    sourceIdentifier?: InputMaybe<Scalars['String']['input']>;
    walletPaymentMethod?: InputMaybe<CartWalletPaymentMethodInput>;
}