GitHub

CartPaymentInput

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

import { CartPaymentInput } from '@daffodil/driver/shopify'
type CartPaymentInput = {
    amount: MoneyInput;
    directPaymentMethod?: InputMaybe<CartDirectPaymentMethodInput>;
    freePaymentMethod?: InputMaybe<CartFreePaymentMethodInput>;
    sourceIdentifier?: InputMaybe<Scalars['String']['input']>;
    walletPaymentMethod?: InputMaybe<CartWalletPaymentMethodInput>;
}
Type Options
CartPaymentInput { amount: MoneyInput; directPaymentMethod?: InputMaybe<CartDirectPaymentMethodInput>; freePaymentMethod?: InputMaybe<CartFreePaymentMethodInput>; sourceIdentifier?: InputMaybe<Scalars['String']['input']>; walletPaymentMethod?: InputMaybe<CartWalletPaymentMethodInput>; }