GitHub

CartCodeDiscountAllocation

The discount that has been applied to the cart line using a discount code.

import { CartCodeDiscountAllocation } from '@daffodil/driver/shopify'
type CartCodeDiscountAllocation = CartDiscountAllocation & {
    __typename?: 'CartCodeDiscountAllocation';
    code: Scalars['String']['output'];
    discountedAmount: MoneyV2;
}
Type Options
CartCodeDiscountAllocation CartDiscountAllocation & { __typename?: 'CartCodeDiscountAllocation'; code: Scalars['String']['output']; discountedAmount: MoneyV2; }