/** * 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. * */ import { PromotionType } from './PromotionType.js'; import { Schedule } from './Schedule.js'; import { Selection } from './Selection.js'; /** * The GetPromotionResponse model module. * @module promotions_v2025_12_01/model/GetPromotionResponse * @version 2025-12-01 */ export declare class GetPromotionResponse { promotionTitle: string; selection: Selection; schedule: Schedule; createdDate: Date; lastUpdatedDate: Date; marketplaceId: string; promotionId: string; promotionType: PromotionType; trackingId: string; status: string; /** * Constructs a new GetPromotionResponse. * The response schema for `getPromotion`. **Note:** `selectionDetails` are included when `SELECTION` is in the `includedData` request parameter. * @alias module:promotions_v2025_12_01/model/GetPromotionResponse * @class * @implements module:promotions_v2025_12_01/model/PromotionRevisionAttributes * @param promotionTitle {String} The name of the promotion for the selling partner. This value is not displayed to buyers. * @param selection {Selection} * @param schedule {Schedule} * @param createdDate {Date} When the promotion was created. Formatted in ISO 8601 format, including the timezone. For example: `1970-01-01T00:00:00-07:00`. * @param lastUpdatedDate {Date} When the promotion was last updated. Formatted in ISO 8601 format, including the timezone. For example: `1970-01-01T00:00:00-07:00`. * @param marketplaceId {String} The Amazon store identifier. For a complete list of `marketplaceId` values, refer to [Store Identifiers](https://developer-docs.amazon/sp-api/docs/store-identifiers). * @param promotionId {String} The unique promotion identifier. * @param promotionType {PromotionType} * @param trackingId {String} The tracking ID you can use to uniquely identify a promotion and track its performance. * @param status {String} Current promotion status indicating the lifecycle state of the promotion. */ constructor(promotionTitle: string, selection: Selection, schedule: Schedule, createdDate: Date, lastUpdatedDate: Date, marketplaceId: string, promotionId: string, promotionType: PromotionType, trackingId: string, status: string); /** * Constructs a GetPromotionResponse 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 {GetPromotionResponse} obj Optional instance to populate. * @return {GetPromotionResponse} The populated GetPromotionResponse instance. */ static constructFromObject(data: Object, obj: GetPromotionResponse): GetPromotionResponse; } export declare namespace GetPromotionResponse { var StatusEnum: { /** * value: "PROCESSING" * @const */ PROCESSING: string; /** * value: "UPCOMING" * @const */ UPCOMING: string; /** * value: "RUNNING" * @const */ RUNNING: string; /** * value: "EXPIRED" * @const */ EXPIRED: string; /** * value: "FAILED" * @const */ FAILED: string; /** * value: "CANCELLING" * @const */ CANCELLING: string; /** * value: "CANCELLED" * @const */ CANCELLED: string; }; } //# sourceMappingURL=GetPromotionResponse.d.ts.map