export interface ProductPrice { amount: number; currencyCode: string; } export interface ProductUnitOption { name: string; value: string; } export default interface ProductUnit { /** * The unique identifier of the product unit. */ unitId: string; /** * The name of the product unit. */ name?: string | null; /** * The url of the product unit. */ url?: string; /** * The image url of the product unit. */ imageUrl?: string; /** * The price of the product unit. */ price?: ProductPrice; /** * The original price of the product unit (before discount). */ originalPrice?: ProductPrice; /** * The availability of the product unit. */ isAvailable?: boolean; /** * The options of the product unit. */ options?: ProductUnitOption[]; }