export default ApplicableTo;
/**
* The ApplicableTo model module.
* @module model/ApplicableTo
*/
declare class ApplicableTo {
/**
* 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, effect: any): void;
/**
* Constructs a ApplicableTo 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 {ApplicableTo} [obj] Optional instance to populate.
* @returns {ApplicableTo} The populated ApplicableTo instance.
*/
static constructFromObject(data: Partial, obj?: ApplicableTo): ApplicableTo;
/**
* Validates the JSON data with respect to ApplicableTo.
* @param {Partial} data The plain JavaScript object bearing properties of interest.
* @returns {boolean} to indicate whether the JSON data is valid with respect to ApplicableTo.
*/
static validateJSON(data: Partial): boolean;
/**
* Constructs a new ApplicableTo.
* @alias ApplicableTo
* @param {Exclude} effect
*/
constructor(effect: Exclude);
object: (keyof typeof ApplicableTo.ObjectEnum) | undefined;
id: string | undefined;
source_id: string | undefined;
product_id: string | undefined;
product_source_id: string | undefined;
price: number | undefined;
price_formula: number | undefined;
effect: Exclude;
quantity_limit: number | undefined;
aggregated_quantity_limit: number | undefined;
amount_limit: number | undefined;
aggregated_amount_limit: number | undefined;
product_campaign_quantity_limit: number | undefined;
product_campaign_quantity_limit_formula: string | undefined;
product_customer_campaign_quantity_limit: number | undefined;
product_customer_campaign_quantity_limit_formula: string | undefined;
product_in_collection_campaign_quantity_limit: number | undefined;
product_in_collection_campaign_quantity_limit_formula: string | undefined;
product_in_collection_customer_campaign_quantity_limit: number | undefined;
product_in_collection_customer_campaign_quantity_limit_formula: string | undefined;
product_promotion_tier_quantity_limit: number | undefined;
product_promotion_tier_quantity_limit_formula: string | undefined;
product_customer_promotion_tier_quantity_limit: number | undefined;
product_customer_promotion_tier_quantity_limit_formula: string | undefined;
product_in_collection_promotion_tier_quantity_limit: number | undefined;
product_in_collection_promotion_tier_quantity_limit_formula: string | undefined;
product_in_collection_customer_promotion_tier_quantity_limit: number | undefined;
product_in_collection_customer_promotion_tier_quantity_limit_formula: string | undefined;
order_item_indices: Array | undefined;
order_item_units: Array | undefined;
repeat: number | undefined;
skip_initially: number | undefined;
target: (keyof typeof ApplicableTo.TargetEnum) | undefined;
}
declare namespace ApplicableTo {
let RequiredProperties: string[];
namespace ObjectEnum {
let product: string;
let sku: string;
let products_collection: string;
}
namespace TargetEnum {
let ITEM: string;
let UNIT: string;
}
}
import ApplicableToEffect from './ApplicableToEffect';
import ApplicableToOrderItemUnitsItem from './ApplicableToOrderItemUnitsItem';