import type ProductUnit from './ProductUnit'; export default interface Product { /** * A unique identifier of the product. */ productId: string; /** * The name of the product. */ name?: string | null; /** * The subtitle of the product. */ subtitle?: string | null; /** * The product-level currency string (e.g. "USD", "EUR"). */ currency?: string; /** * The description of the product. */ description?: string | null; /** * The availability of the product. */ isAvailable?: boolean; /** * The URL of the main product image. */ mainProductImage?: string; /** * Whether to hide the product price. */ hidePrice?: boolean; /** * The translated custom CTA title. */ customCTATitleTranslation?: string | null; /** * Whether to hide the primary CTA button. */ hidePrimaryCTA?: boolean | null; /** * The custom CTA target identifier. */ customCTATarget?: string | null; /** * The custom CTA URL. */ customCTAUrl?: string | null; /** * The custom CTA title. */ customCTATitle?: string | null; /** * Whether the product is hidden. */ hidden?: boolean | null; /** * The unit array of the product */ units?: ProductUnit[] | null; }