The atg.commerce.promotion.PromotionImportExportInfo
data class provides a means by which you can map properties between Oracle ATG Web Commerce promotions and your external system.
Property | Required | Type | Description |
---|---|---|---|
| Yes | int | The action is required for imports but is null when returning export information. The valid values are:
Note that there is no |
| No | Map<String,String> | A map of promotion repository item property names and their corresponding values. If you are not using templates, specify the PMDL rule for the promotion in this map. If you are using templates, you can use the Note: The |
| No | String | Promotions can be organized using a logical folder structure. This property specifies the full folder path. For example: “/Summer/Shoes” The Promotions Import Export API converts this path into individual promotion folders, creates those which do not already exist, and links them together into a tree structure. Note that no two children of the same parent folder can have the same name, but folders can have the same name if they are child folders of different parent folders. |
| No | String | If the promotion is based on a template, the path and filename of the template to use. |
| No | Map<String,String> | A map of template placeholders and their corresponding values. See any of the existing promotions templates for an understanding of this mapping. |
| No | List<ClosenessQualifierImportExportInfo> | A list of |
| No | List<CouponImportExportInfo> | A list of |
A similar class (atg.commerce.promotion.ClosenessQualifierImportExportInfo
) exists for closeness qualifier information.
Property | Required | Type | Description |
---|---|---|---|
action | Yes | int | The action is required for imports but is null when returning export information. The valid values are:
|
closenessQualifierPropertyValues | No | Map<String,String> | A map of closeness qualifier repository item property names and their corresponding values. |
closenessQualifierTemplateValues | No | Map<String,String> | A map of template placeholders and their corresponding values, specifically for the closeness qualifier section of the template. |
A similar class (atg.commerce.promotion.CouponImportExportInfo
) exists for coupon information.
Property | Required | Type | Description |
---|---|---|---|
action | Yes | int | The action is required for imports but is null when returning export information. The valid values are:
|
couponPropertyValues | Yes | Map<String,String> | A map of coupon repository item property names and their corresponding values. |
couponFolderPath | No | String | Coupons can be organized using a logical folder structure. This property specifies the full folder path. For example: “/Summer/Shoes” The Promotions Import Export API converts this path into individual coupon folders, creates those which don’t already exist, and links them together into a tree structure. Note no two children of the same parent folder can have the same name, but folders can have the same name if they are child folders of different parent folders. |