/** * The Selling Partner API for Promotions * The Selling Partner API for Promotions enables selling partners to create and manage promotions. * * The version of the OpenAPI document: 2025-12-01 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ /** * The Budget model module. * @module promotions_v2025_12_01/model/Budget * @version 2025-12-01 */ export declare class Budget { type: string; value: number; /** * Constructs a new Budget. * Budget configuration for spending limits. For `COUPON` and `BASKET_BUILDING` promotion types, the budget is set at the promotion level and applies to the entire promotion. For `DEAL` and `PRICE_DISCOUNT` promotion types, the budget is set at the item level within each item in the selection. * @alias module:promotions_v2025_12_01/model/Budget * @class * @param type {String} The budget type, either monetary or unit-based. * @param value {Number} Budget value (amount or unit count). */ constructor(type: string, value: number); /** * Constructs a Budget 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 {Object} data The plain JavaScript object bearing properties of interest. * @param {Budget} obj Optional instance to populate. * @return {Budget} The populated Budget instance. */ static constructFromObject(data: Object, obj: Budget): Budget; } export declare namespace Budget { var TypeEnum: { /** * value: "AMOUNT" * @const */ AMOUNT: string; /** * value: "UNITS" * @const */ UNITS: string; }; } //# sourceMappingURL=Budget.d.ts.map