export default BundleMissingItem; /** * The BundleMissingItem model module. * @module model/BundleMissingItem */ declare class BundleMissingItem { /** * Initializes the fields of this object. * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). * Only for internal use. */ static initialize(obj: any, id: any, object: any, itemQuantity: any): void; /** * Constructs a BundleMissingItem from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @param {BundleMissingItem} [obj] Optional instance to populate. * @returns {BundleMissingItem} The populated BundleMissingItem instance. */ static constructFromObject(data: Partial, obj?: BundleMissingItem): BundleMissingItem; /** * Validates the JSON data with respect to BundleMissingItem. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @returns {boolean} to indicate whether the JSON data is valid with respect to BundleMissingItem. */ static validateJSON(data: Partial): boolean; /** * Constructs a new BundleMissingItem. * Determines a product, SKU, or collection that is in bundle conditions, but is missing in the customer's order items. Determines also the missing quantity. * @alias BundleMissingItem * @param {String} id Unique identifier of the collection, product, or SKU that is missing in the customer's order items. This is an ID assigned by Voucherify. * @param {BundleMissingItem.ObjectEnum} object Determines the type of the object that is missing in the customer's order items. * @param {Number} itemQuantity Quantity of items that are missing in the order items to meet the bundle conditions. */ constructor(id: string, object: { /** * value: "product" * @constant */ product: string; /** * value: "products_collection" * @constant */ products_collection: string; /** * value: "sku" * @constant */ sku: string; }, itemQuantity: number); id: string; object: (keyof typeof BundleMissingItem.ObjectEnum); item_quantity: number; } declare namespace BundleMissingItem { let RequiredProperties: string[]; namespace ObjectEnum { let product: string; let products_collection: string; let sku: string; } }