/* tslint:disable */
/* eslint-disable */
// This file was automatically generated and should not be edited.

import { DiscountValueTypeEnum } from "./../../types/globalTypes";

// ====================================================
// GraphQL fragment: VoucherFragment
// ====================================================

export interface VoucherFragment_countries {
  __typename: "CountryDisplay";
  code: string;
  country: string;
}

export interface VoucherFragment_minSpent {
  __typename: "Money";
  currency: string;
  amount: number;
}

export interface VoucherFragment {
  __typename: "Voucher";
  id: string;
  code: string;
  startDate: any;
  endDate: any | null;
  usageLimit: number | null;
  discountValueType: DiscountValueTypeEnum;
  discountValue: number;
  countries: (VoucherFragment_countries | null)[] | null;
  minSpent: VoucherFragment_minSpent | null;
  minCheckoutItemsQuantity: number | null;
}
