---
title: Create or update a promotion
slug: amberflo-api/qYds-create-or-update-a-promotion
docTags: 
createdAt: 2024-11-07T15:10:16.972Z
---

{
  "id": "D3WwLFy_G2KdoVvsEDqz5",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions",
    "servers": [
      {
        "url": "https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions"
      }
    ],
    "name": "Create or update a promotion",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [],
      "queryParameters": [],
      "bodyDataParameters": [
        {
          "kind": "optional",
          "name": "body",
          "type": "object",
          "description": "",
          "customType": "payment.pricing.promotions.Promotion.in",
          "schema": [],
          "modelRef": "#/components/schemas/payment.pricing.promotions.Promotion.in",
          "complexItems": [
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "absolute_product_automatic_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "isHidden",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                },
                {
                  "name": "discount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "targetProductId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.AbsoluteProductAutomaticPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.AbsoluteProductAutomaticPromotion.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "absolute_product_item_automatic_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "isHidden",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                },
                {
                  "name": "discount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "targetProductItemId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "isRegEx",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Determines whether to use regular expression matching for dimension values.",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.AbsoluteProductItemAutomaticPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.AbsoluteProductItemAutomaticPromotion.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "absolute_product_item_sales_event_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "description": "If not null, apply promotion to dimensions in map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "description": "If not null, apply promotion to customers that match tags",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "acceptablePromotionTimeRange",
                  "kind": "optional",
                  "type": "object",
                  "description": "The time range over which to apply the promotion",
                  "modelRef": "#/components/schemas/payment.common.TimeRange.in",
                  "customType": "payment.common.TimeRange.in",
                  "schema": [
                    {
                      "name": "startTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    },
                    {
                      "name": "endTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "recurrenceInterval",
                  "kind": "optional",
                  "type": "object",
                  "description": "The interval that the promotion recurs over. Defines how often the promotion occurs and the maximum number of times it will occur",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurrenceInterval.in",
                  "customType": "payment.pricing.promotions.PromotionRecurrenceInterval.in",
                  "schema": [
                    {
                      "name": "intervalLength",
                      "kind": "optional",
                      "type": "string",
                      "description": "The length of the interval",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurringIntervalLength.in",
                      "customType": "payment.pricing.promotions.PromotionRecurringIntervalLength.in",
                      "schema": []
                    },
                    {
                      "name": "intervalLengthCount",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "description": "The number of interval lengths in the interval",
                      "example": 0
                    },
                    {
                      "name": "maxRecurrence",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "description": "The max number of intervals that the promotion will occur over",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "discount",
                  "kind": "optional",
                  "type": "number",
                  "description": "The amount of discount for the promotion",
                  "example": ""
                },
                {
                  "name": "targetProductItemId",
                  "kind": "optional",
                  "type": "string",
                  "description": "The product item that we want to apply the promotion on",
                  "example": ""
                },
                {
                  "name": "isRegEx",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Determines whether to use regular expression matching for dimension values.",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.AbsoluteProductItemSalesEventPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.AbsoluteProductItemSalesEventPromotion.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "absolute_product_sales_event_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "description": "If not null, apply promotion to dimensions in map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "description": "If not null, apply promotion to customers that match tags",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "acceptablePromotionTimeRange",
                  "kind": "optional",
                  "type": "object",
                  "description": "The time range over which to apply the promotion",
                  "modelRef": "#/components/schemas/payment.common.TimeRange.in",
                  "customType": "payment.common.TimeRange.in",
                  "schema": [
                    {
                      "name": "startTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    },
                    {
                      "name": "endTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "recurrenceInterval",
                  "kind": "optional",
                  "type": "object",
                  "description": "The interval that the promotion recurs over. Defines how often the promotion occurs and the maximum number of times it will occur",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurrenceInterval.in",
                  "customType": "payment.pricing.promotions.PromotionRecurrenceInterval.in",
                  "schema": [
                    {
                      "name": "intervalLength",
                      "kind": "optional",
                      "type": "string",
                      "description": "The length of the interval",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurringIntervalLength.in",
                      "customType": "payment.pricing.promotions.PromotionRecurringIntervalLength.in",
                      "schema": []
                    },
                    {
                      "name": "intervalLengthCount",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "description": "The number of interval lengths in the interval",
                      "example": 0
                    },
                    {
                      "name": "maxRecurrence",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "description": "The max number of intervals that the promotion will occur over",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "discount",
                  "kind": "optional",
                  "type": "number",
                  "description": "The amount of discount for the promotion",
                  "example": ""
                },
                {
                  "name": "targetProductId",
                  "kind": "optional",
                  "type": "string",
                  "description": "The product that we want to apply the promotion on",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.AbsoluteProductSalesEventPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.AbsoluteProductSalesEventPromotion.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "free_trial_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "description": "If not null, apply promotion to dimensions in map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "description": "If not null, apply promotion to customers that match tags",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "discount",
                  "kind": "optional",
                  "type": "number",
                  "description": "The amount of discount for the promotion",
                  "example": ""
                },
                {
                  "name": "acceptablePromotionTimeRange",
                  "kind": "optional",
                  "type": "object",
                  "description": "The time range over which to apply the promotion",
                  "modelRef": "#/components/schemas/payment.common.TimeRange.in",
                  "customType": "payment.common.TimeRange.in",
                  "schema": [
                    {
                      "name": "startTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    },
                    {
                      "name": "endTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "maxPromotionDurationInHours",
                  "kind": "optional",
                  "type": "integer<int64>",
                  "description": "The maximum duration (in hours) that the promotion can be used on invoice after it is applied",
                  "example": 0
                },
                {
                  "name": "targetProductItemId",
                  "kind": "optional",
                  "type": "string",
                  "description": "The product item that we want to apply the promotion on",
                  "example": ""
                },
                {
                  "name": "isRegEx",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Determines whether to use regular expression matching for dimension values.",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.FreeTrialPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.FreeTrialPromotion.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "generic_item_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "targetItemId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "promotionType",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.PromotionType.in",
                  "customType": "payment.pricing.promotions.attributes.PromotionType.in",
                  "schema": []
                },
                {
                  "name": "condition",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.PromotionCondition.in",
                  "customType": "payment.pricing.promotions.conditions.PromotionCondition.in",
                  "schema": [],
                  "complexType": "oneOf",
                  "complexItems": [
                    {
                      "name": "payment.pricing.promotions.conditions.AfterItemPriceThreshold.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterItemPriceThreshold.in",
                      "schema": [
                        {
                          "name": "requiredHistory",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "schema": [
                            {
                              "name": "cycles",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            },
                            {
                              "name": "months",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            }
                          ]
                        },
                        {
                          "name": "minThreshold",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "after_item_price_threshold"
                        },
                        {
                          "name": "itemId",
                          "kind": "optional",
                          "type": "string",
                          "example": ""
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.conditions.AfterProductPriceThreshold.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterProductPriceThreshold.in",
                      "schema": [
                        {
                          "name": "requiredHistory",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "schema": [
                            {
                              "name": "cycles",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            },
                            {
                              "name": "months",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            }
                          ]
                        },
                        {
                          "name": "minThreshold",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "after_product_price_threshold"
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.conditions.CompositeAndCondition.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CompositeAndCondition.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "and_condition"
                        },
                        {
                          "name": "conditions",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.PromotionCondition.in",
                          "customType": "payment.pricing.promotions.conditions.PromotionCondition.in[]",
                          "schema": [],
                          "complexType": "oneOf",
                          "complexItems": [
                            {
                              "name": "payment.pricing.promotions.conditions.AfterItemPriceThreshold.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterItemPriceThreshold.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Circular-Reference"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.conditions.AfterProductPriceThreshold.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterProductPriceThreshold.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Circular-Reference"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.conditions.CompositeAndCondition.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CompositeAndCondition.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Circular-Reference"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.conditions.CustomerTagsCondition.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CustomerTagsCondition.in",
                              "schema": [
                                {
                                  "name": "type",
                                  "kind": "optional",
                                  "type": "string",
                                  "example": "",
                                  "default": "customer_tag_condition"
                                },
                                {
                                  "name": "customerTagsToFind",
                                  "kind": "optional",
                                  "type": "map",
                                  "example": "",
                                  "customType": "map<string, string>",
                                  "schema": []
                                },
                                {
                                  "name": "granularity",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.Granularity.in",
                                  "customType": "payment.pricing.promotions.attributes.granularity.Granularity.in",
                                  "schema": [],
                                  "complexType": "oneOf",
                                  "complexItems": [
                                    {
                                      "name": "payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.in",
                                      "description": "",
                                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.in",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "payment.pricing.promotions.attributes.granularity.ProductGranularity.in",
                                      "description": "",
                                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ProductGranularity.in",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.conditions.NextBillingCycle.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NextBillingCycle.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.conditions.NoCondition.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NoCondition.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.conditions.SamePlan.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.SamePlan.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.conditions.TimeLimited.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.TimeLimited.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.conditions.CustomerTagsCondition.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CustomerTagsCondition.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "customer_tag_condition"
                        },
                        {
                          "name": "customerTagsToFind",
                          "kind": "optional",
                          "type": "map",
                          "example": "",
                          "customType": "map<string, string>",
                          "schema": []
                        },
                        {
                          "name": "granularity",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.Granularity.in",
                          "customType": "payment.pricing.promotions.attributes.granularity.Granularity.in",
                          "schema": [],
                          "complexType": "oneOf",
                          "complexItems": [
                            {
                              "name": "payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.attributes.granularity.ProductGranularity.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ProductGranularity.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.conditions.NextBillingCycle.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NextBillingCycle.in",
                      "schema": [
                        {
                          "name": "",
                          "description": "",
                          "customType": "Max depth limit reached"
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.conditions.NoCondition.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NoCondition.in",
                      "schema": [
                        {
                          "name": "",
                          "description": "",
                          "customType": "Max depth limit reached"
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.conditions.SamePlan.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.SamePlan.in",
                      "schema": [
                        {
                          "name": "",
                          "description": "",
                          "customType": "Max depth limit reached"
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.conditions.TimeLimited.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.TimeLimited.in",
                      "schema": [
                        {
                          "name": "",
                          "description": "",
                          "customType": "Max depth limit reached"
                        }
                      ]
                    }
                  ]
                },
                {
                  "name": "promotionModel",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PromotionModel.in",
                  "customType": "payment.pricing.promotions.promotion_model.PromotionModel.in",
                  "schema": [],
                  "complexType": "oneOf",
                  "complexItems": [
                    {
                      "name": "payment.pricing.promotions.promotion_model.Absolute.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.Absolute.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "absolute"
                        },
                        {
                          "name": "measure",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.in",
                          "customType": "payment.pricing.promotions.attributes.measure.Measure.in",
                          "schema": [],
                          "complexType": "oneOf",
                          "complexItems": [
                            {
                              "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                              "schema": [
                                {
                                  "name": "type",
                                  "kind": "optional",
                                  "type": "string",
                                  "example": "",
                                  "default": "per_batch"
                                },
                                {
                                  "name": "batchSize",
                                  "kind": "optional",
                                  "type": "integer<int64>",
                                  "example": 0
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.attributes.measure.PerUnit.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.in",
                              "schema": [
                                {
                                  "name": "type",
                                  "kind": "optional",
                                  "type": "string",
                                  "example": "",
                                  "default": "per_unit"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.attributes.measure.TotalPrice.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "name": "requiredHistory",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "schema": [
                            {
                              "name": "cycles",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            },
                            {
                              "name": "months",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            }
                          ]
                        },
                        {
                          "name": "totalMaxDiscount",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "cycleMaxDiscount",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "discount",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.promotion_model.PriceTieredRelative.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "price_tiered_relative"
                        },
                        {
                          "name": "measure",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.in",
                          "customType": "payment.pricing.promotions.attributes.measure.Measure.in",
                          "schema": [],
                          "complexType": "oneOf",
                          "complexItems": [
                            {
                              "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                              "schema": [
                                {
                                  "name": "type",
                                  "kind": "optional",
                                  "type": "string",
                                  "example": "",
                                  "default": "per_batch"
                                },
                                {
                                  "name": "batchSize",
                                  "kind": "optional",
                                  "type": "integer<int64>",
                                  "example": 0
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.attributes.measure.PerUnit.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.attributes.measure.TotalPrice.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "name": "requiredHistory",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "schema": [
                            {
                              "name": "cycles",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            },
                            {
                              "name": "months",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            }
                          ]
                        },
                        {
                          "name": "totalMaxDiscount",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "cycleMaxDiscount",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "discountRatioMap",
                          "kind": "optional",
                          "type": "map",
                          "example": "",
                          "customType": "map<string, number>",
                          "schema": []
                        },
                        {
                          "name": "discountCalculationStrategy",
                          "kind": "optional",
                          "type": "string",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.in",
                          "customType": "payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.in",
                          "schema": []
                        },
                        {
                          "name": "acrossBillingPeriods",
                          "kind": "optional",
                          "type": "boolean",
                          "example": ""
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.promotion_model.Relative.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.Relative.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "relative"
                        },
                        {
                          "name": "measure",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.in",
                          "customType": "payment.pricing.promotions.attributes.measure.Measure.in",
                          "schema": [],
                          "complexType": "oneOf",
                          "complexItems": [
                            {
                              "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.attributes.measure.PerUnit.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.attributes.measure.TotalPrice.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "name": "requiredHistory",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "schema": [
                            {
                              "name": "cycles",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            },
                            {
                              "name": "months",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            }
                          ]
                        },
                        {
                          "name": "totalMaxDiscount",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "cycleMaxDiscount",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "discountRatio",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        }
                      ]
                    }
                  ]
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "isRegEx",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Determines whether to use regular expression matching for dimension values.",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.GenericItemPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.GenericItemPromotion.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "generic_product_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "targetProductId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "promotionType",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.PromotionType.in",
                  "customType": "payment.pricing.promotions.attributes.PromotionType.in",
                  "schema": []
                },
                {
                  "name": "condition",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.PromotionCondition.in",
                  "customType": "payment.pricing.promotions.conditions.PromotionCondition.in",
                  "schema": [],
                  "complexType": "oneOf",
                  "complexItems": [
                    {
                      "name": "payment.pricing.promotions.conditions.AfterItemPriceThreshold.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterItemPriceThreshold.in",
                      "schema": [
                        {
                          "name": "requiredHistory",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "schema": [
                            {
                              "name": "cycles",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            },
                            {
                              "name": "months",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            }
                          ]
                        },
                        {
                          "name": "minThreshold",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "after_item_price_threshold"
                        },
                        {
                          "name": "itemId",
                          "kind": "optional",
                          "type": "string",
                          "example": ""
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.conditions.AfterProductPriceThreshold.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterProductPriceThreshold.in",
                      "schema": [
                        {
                          "name": "requiredHistory",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "schema": [
                            {
                              "name": "cycles",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            },
                            {
                              "name": "months",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            }
                          ]
                        },
                        {
                          "name": "minThreshold",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "after_product_price_threshold"
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.conditions.CompositeAndCondition.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CompositeAndCondition.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "and_condition"
                        },
                        {
                          "name": "conditions",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.PromotionCondition.in",
                          "customType": "payment.pricing.promotions.conditions.PromotionCondition.in[]",
                          "schema": [],
                          "complexType": "oneOf",
                          "complexItems": [
                            {
                              "name": "payment.pricing.promotions.conditions.AfterItemPriceThreshold.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterItemPriceThreshold.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Circular-Reference"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.conditions.AfterProductPriceThreshold.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterProductPriceThreshold.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Circular-Reference"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.conditions.CompositeAndCondition.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CompositeAndCondition.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Circular-Reference"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.conditions.CustomerTagsCondition.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CustomerTagsCondition.in",
                              "schema": [
                                {
                                  "name": "type",
                                  "kind": "optional",
                                  "type": "string",
                                  "example": "",
                                  "default": "customer_tag_condition"
                                },
                                {
                                  "name": "customerTagsToFind",
                                  "kind": "optional",
                                  "type": "map",
                                  "example": "",
                                  "customType": "map<string, string>",
                                  "schema": []
                                },
                                {
                                  "name": "granularity",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.Granularity.in",
                                  "customType": "payment.pricing.promotions.attributes.granularity.Granularity.in",
                                  "schema": [],
                                  "complexType": "oneOf",
                                  "complexItems": [
                                    {
                                      "name": "payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.in",
                                      "description": "",
                                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.in",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "payment.pricing.promotions.attributes.granularity.ProductGranularity.in",
                                      "description": "",
                                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ProductGranularity.in",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.conditions.NextBillingCycle.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NextBillingCycle.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.conditions.NoCondition.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NoCondition.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.conditions.SamePlan.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.SamePlan.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.conditions.TimeLimited.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.TimeLimited.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.conditions.CustomerTagsCondition.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CustomerTagsCondition.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "customer_tag_condition"
                        },
                        {
                          "name": "customerTagsToFind",
                          "kind": "optional",
                          "type": "map",
                          "example": "",
                          "customType": "map<string, string>",
                          "schema": []
                        },
                        {
                          "name": "granularity",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.Granularity.in",
                          "customType": "payment.pricing.promotions.attributes.granularity.Granularity.in",
                          "schema": [],
                          "complexType": "oneOf",
                          "complexItems": [
                            {
                              "name": "payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.attributes.granularity.ProductGranularity.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ProductGranularity.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.conditions.NextBillingCycle.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NextBillingCycle.in",
                      "schema": [
                        {
                          "name": "",
                          "description": "",
                          "customType": "Max depth limit reached"
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.conditions.NoCondition.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NoCondition.in",
                      "schema": [
                        {
                          "name": "",
                          "description": "",
                          "customType": "Max depth limit reached"
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.conditions.SamePlan.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.SamePlan.in",
                      "schema": [
                        {
                          "name": "",
                          "description": "",
                          "customType": "Max depth limit reached"
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.conditions.TimeLimited.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.TimeLimited.in",
                      "schema": [
                        {
                          "name": "",
                          "description": "",
                          "customType": "Max depth limit reached"
                        }
                      ]
                    }
                  ]
                },
                {
                  "name": "promotionModel",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PromotionModel.in",
                  "customType": "payment.pricing.promotions.promotion_model.PromotionModel.in",
                  "schema": [],
                  "complexType": "oneOf",
                  "complexItems": [
                    {
                      "name": "payment.pricing.promotions.promotion_model.Absolute.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.Absolute.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "absolute"
                        },
                        {
                          "name": "measure",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.in",
                          "customType": "payment.pricing.promotions.attributes.measure.Measure.in",
                          "schema": [],
                          "complexType": "oneOf",
                          "complexItems": [
                            {
                              "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                              "schema": [
                                {
                                  "name": "type",
                                  "kind": "optional",
                                  "type": "string",
                                  "example": "",
                                  "default": "per_batch"
                                },
                                {
                                  "name": "batchSize",
                                  "kind": "optional",
                                  "type": "integer<int64>",
                                  "example": 0
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.attributes.measure.PerUnit.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.in",
                              "schema": [
                                {
                                  "name": "type",
                                  "kind": "optional",
                                  "type": "string",
                                  "example": "",
                                  "default": "per_unit"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.attributes.measure.TotalPrice.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "name": "requiredHistory",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "schema": [
                            {
                              "name": "cycles",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            },
                            {
                              "name": "months",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            }
                          ]
                        },
                        {
                          "name": "totalMaxDiscount",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "cycleMaxDiscount",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "discount",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.promotion_model.PriceTieredRelative.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "price_tiered_relative"
                        },
                        {
                          "name": "measure",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.in",
                          "customType": "payment.pricing.promotions.attributes.measure.Measure.in",
                          "schema": [],
                          "complexType": "oneOf",
                          "complexItems": [
                            {
                              "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                              "schema": [
                                {
                                  "name": "type",
                                  "kind": "optional",
                                  "type": "string",
                                  "example": "",
                                  "default": "per_batch"
                                },
                                {
                                  "name": "batchSize",
                                  "kind": "optional",
                                  "type": "integer<int64>",
                                  "example": 0
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.attributes.measure.PerUnit.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.attributes.measure.TotalPrice.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "name": "requiredHistory",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "schema": [
                            {
                              "name": "cycles",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            },
                            {
                              "name": "months",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            }
                          ]
                        },
                        {
                          "name": "totalMaxDiscount",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "cycleMaxDiscount",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "discountRatioMap",
                          "kind": "optional",
                          "type": "map",
                          "example": "",
                          "customType": "map<string, number>",
                          "schema": []
                        },
                        {
                          "name": "discountCalculationStrategy",
                          "kind": "optional",
                          "type": "string",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.in",
                          "customType": "payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.in",
                          "schema": []
                        },
                        {
                          "name": "acrossBillingPeriods",
                          "kind": "optional",
                          "type": "boolean",
                          "example": ""
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.promotion_model.Relative.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.Relative.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "relative"
                        },
                        {
                          "name": "measure",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.in",
                          "customType": "payment.pricing.promotions.attributes.measure.Measure.in",
                          "schema": [],
                          "complexType": "oneOf",
                          "complexItems": [
                            {
                              "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.attributes.measure.PerUnit.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.pricing.promotions.attributes.measure.TotalPrice.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "name": "requiredHistory",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                          "schema": [
                            {
                              "name": "cycles",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            },
                            {
                              "name": "months",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "example": 0
                            }
                          ]
                        },
                        {
                          "name": "totalMaxDiscount",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "cycleMaxDiscount",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        },
                        {
                          "name": "discountRatio",
                          "kind": "optional",
                          "type": "number",
                          "example": ""
                        }
                      ]
                    }
                  ]
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.GenericProductPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.GenericProductPromotion.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "product_absolute_partner_discount"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "isHidden",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                },
                {
                  "name": "discount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "targetProductId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.ProductAbsolutePartnerDiscount.in",
              "customType": "payment.pricing.promotions.pre_created.ProductAbsolutePartnerDiscount.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "product_item_absolute_partner_discount"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "isHidden",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                },
                {
                  "name": "discount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "targetProductItemId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "isRegEx",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Determines whether to use regular expression matching for dimension values.",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.ProductItemAbsolutePartnerDiscount.in",
              "customType": "payment.pricing.promotions.pre_created.ProductItemAbsolutePartnerDiscount.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "product_item_relative_partner_discount"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "isHidden",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                },
                {
                  "name": "discountRatio",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "cycleMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "targetProductItemId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "isRegEx",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Determines whether to use regular expression matching for dimension values.",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.RelativeProductItemPartnerDiscount.in",
              "customType": "payment.pricing.promotions.pre_created.RelativeProductItemPartnerDiscount.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "relative_product_automatic_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "isHidden",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                },
                {
                  "name": "discountRatio",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "cycleMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "targetProductId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.RelativeProductAutomaticPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.RelativeProductAutomaticPromotion.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "relative_product_item_automatic_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "isHidden",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                },
                {
                  "name": "discountRatio",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "cycleMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "targetProductItemId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "isRegEx",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Determines whether to use regular expression matching for dimension values.",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.RelativeProductItemAutomaticPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.RelativeProductItemAutomaticPromotion.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "relative_product_item_sales_event_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "description": "If not null, apply promotion to dimensions in map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "description": "If not null, apply promotion to customers that match tags",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "acceptablePromotionTimeRange",
                  "kind": "optional",
                  "type": "object",
                  "description": "The time range over which to apply the promotion",
                  "modelRef": "#/components/schemas/payment.common.TimeRange.in",
                  "customType": "payment.common.TimeRange.in",
                  "schema": [
                    {
                      "name": "startTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    },
                    {
                      "name": "endTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "recurrenceInterval",
                  "kind": "optional",
                  "type": "object",
                  "description": "The interval that the promotion recurs over. Defines how often the promotion occurs and the maximum number of times it will occur",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurrenceInterval.in",
                  "customType": "payment.pricing.promotions.PromotionRecurrenceInterval.in",
                  "schema": [
                    {
                      "name": "intervalLength",
                      "kind": "optional",
                      "type": "string",
                      "description": "The length of the interval",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurringIntervalLength.in",
                      "customType": "payment.pricing.promotions.PromotionRecurringIntervalLength.in",
                      "schema": []
                    },
                    {
                      "name": "intervalLengthCount",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "description": "The number of interval lengths in the interval",
                      "example": 0
                    },
                    {
                      "name": "maxRecurrence",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "description": "The max number of intervals that the promotion will occur over",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "discountRatio",
                  "kind": "optional",
                  "type": "number",
                  "description": "The percent of discount for the promotion",
                  "example": ""
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "description": "The maximum amount of discount that can be applied",
                  "example": ""
                },
                {
                  "name": "cycleMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "description": "The maximum amount of discount that can be applied per billing cycle",
                  "example": ""
                },
                {
                  "name": "targetProductItemId",
                  "kind": "optional",
                  "type": "string",
                  "description": "The product item that we want to apply the promotion on",
                  "example": ""
                },
                {
                  "name": "isRegEx",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Determines whether to use regular expression matching for dimension values.",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.RelativeProductItemSalesEventPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.RelativeProductItemSalesEventPromotion.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "relative_product_partner_automatic_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "isHidden",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                },
                {
                  "name": "discountRatio",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "cycleMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "targetProductId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.ProductRelativePartnerDiscount.in",
              "customType": "payment.pricing.promotions.pre_created.ProductRelativePartnerDiscount.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "relative_product_sales_event_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "description": "If not null, apply promotion to dimensions in map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "description": "If not null, apply promotion to customers that match tags",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "acceptablePromotionTimeRange",
                  "kind": "optional",
                  "type": "object",
                  "description": "The time range over which to apply the promotion",
                  "modelRef": "#/components/schemas/payment.common.TimeRange.in",
                  "customType": "payment.common.TimeRange.in",
                  "schema": [
                    {
                      "name": "startTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    },
                    {
                      "name": "endTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "recurrenceInterval",
                  "kind": "optional",
                  "type": "object",
                  "description": "The interval that the promotion recurs over. Defines how often the promotion occurs and the maximum number of times it will occur",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurrenceInterval.in",
                  "customType": "payment.pricing.promotions.PromotionRecurrenceInterval.in",
                  "schema": [
                    {
                      "name": "intervalLength",
                      "kind": "optional",
                      "type": "string",
                      "description": "The length of the interval",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurringIntervalLength.in",
                      "customType": "payment.pricing.promotions.PromotionRecurringIntervalLength.in",
                      "schema": []
                    },
                    {
                      "name": "intervalLengthCount",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "description": "The number of interval lengths in the interval",
                      "example": 0
                    },
                    {
                      "name": "maxRecurrence",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "description": "The max number of intervals that the promotion will occur over",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "discountRatio",
                  "kind": "optional",
                  "type": "number",
                  "description": "The amount of discount for the promotion",
                  "example": ""
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "description": "The maximum amount of discount that can be applied",
                  "example": ""
                },
                {
                  "name": "cycleMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "description": "The maximum amount of discount that can be applied per billing cycle",
                  "example": ""
                },
                {
                  "name": "targetProductId",
                  "kind": "optional",
                  "type": "string",
                  "description": "The product that we want to apply the promotion on",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.RelativeProductSalesEventPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.RelativeProductSalesEventPromotion.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "tiered_absolute_product_automatic_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "isHidden",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                },
                {
                  "name": "discountMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, number>",
                  "schema": []
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "measure",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.in",
                  "customType": "payment.pricing.promotions.attributes.measure.Measure.in",
                  "schema": [],
                  "complexType": "oneOf",
                  "complexItems": [
                    {
                      "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "per_batch"
                        },
                        {
                          "name": "batchSize",
                          "kind": "optional",
                          "type": "integer<int64>",
                          "example": 0
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.attributes.measure.PerUnit.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "per_unit"
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.attributes.measure.TotalPrice.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "total_price"
                        }
                      ]
                    }
                  ]
                },
                {
                  "name": "targetProductId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TieredAbsoluteProductAutomaticPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.TieredAbsoluteProductAutomaticPromotion.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "tiered_absolute_product_item_automatic_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "isHidden",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                },
                {
                  "name": "discountMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, number>",
                  "schema": []
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "measure",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.in",
                  "customType": "payment.pricing.promotions.attributes.measure.Measure.in",
                  "schema": [],
                  "complexType": "oneOf",
                  "complexItems": [
                    {
                      "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "per_batch"
                        },
                        {
                          "name": "batchSize",
                          "kind": "optional",
                          "type": "integer<int64>",
                          "example": 0
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.attributes.measure.PerUnit.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "per_unit"
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.attributes.measure.TotalPrice.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "total_price"
                        }
                      ]
                    }
                  ]
                },
                {
                  "name": "targetProductItemId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "isRegEx",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Determines whether to use regular expression matching for dimension values.",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TieredAbsoluteProductItemAutomaticPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.TieredAbsoluteProductItemAutomaticPromotion.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "tiered_relative_product_automatic_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "isHidden",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                },
                {
                  "name": "priceToDiscountMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, number>",
                  "schema": []
                },
                {
                  "name": "discountCalculationStrategy",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.in",
                  "customType": "payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.in",
                  "schema": []
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "cycleMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "targetProductId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TieredRelativeProductAutomaticPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.TieredRelativeProductAutomaticPromotion.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "tiered_relative_product_item_automatic_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "customerTags",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "isHidden",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                },
                {
                  "name": "priceToDiscountMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, number>",
                  "schema": []
                },
                {
                  "name": "discountCalculationStrategy",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.in",
                  "customType": "payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.in",
                  "schema": []
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "cycleMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "targetProductItemId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "isRegEx",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Determines whether to use regular expression matching for dimension values.",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TieredRelativeProductItemAutomaticPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.TieredRelativeProductItemAutomaticPromotion.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "time_limited_absolute_item_discount"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "targetProductItemId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "promotionTimeLimit",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "schema": [
                    {
                      "name": "cycles",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    },
                    {
                      "name": "months",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "discount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "isRegEx",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Determines whether to use regular expression matching for dimension values.",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedAbsoluteProductItemDiscount.in",
              "customType": "payment.pricing.promotions.pre_created.TimeLimitedAbsoluteProductItemDiscount.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "time_limited_absolute_product_discount"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "targetProductId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "promotionTimeLimit",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "schema": [
                    {
                      "name": "cycles",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    },
                    {
                      "name": "months",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "discount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedAbsoluteProductDiscount.in",
              "customType": "payment.pricing.promotions.pre_created.TimeLimitedAbsoluteProductDiscount.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "time_limited_relative_item_discount"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "targetProductItemId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "promotionTimeLimit",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "schema": [
                    {
                      "name": "cycles",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    },
                    {
                      "name": "months",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "discountRatio",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "cycleMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "isRegEx",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Determines whether to use regular expression matching for dimension values.",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedRelativeProductItemDiscount.in",
              "customType": "payment.pricing.promotions.pre_created.TimeLimitedRelativeProductItemDiscount.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "time_limited_relative_product_discount"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "targetProductId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "promotionTimeLimit",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "schema": [
                    {
                      "name": "cycles",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    },
                    {
                      "name": "months",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "discountRatio",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "cycleMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedRelativeProductDiscount.in",
              "customType": "payment.pricing.promotions.pre_created.TimeLimitedRelativeProductDiscount.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "time_limited_relative_product_full_discount"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "targetProductId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.RelativeProductFullDiscount.in",
              "customType": "payment.pricing.promotions.pre_created.RelativeProductFullDiscount.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "time_limited_tiered_absolute_item_discount"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "targetProductItemId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "promotionTimeLimit",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "schema": [
                    {
                      "name": "cycles",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    },
                    {
                      "name": "months",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "discountMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, number>",
                  "schema": []
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "measure",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.in",
                  "customType": "payment.pricing.promotions.attributes.measure.Measure.in",
                  "schema": [],
                  "complexType": "oneOf",
                  "complexItems": [
                    {
                      "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "per_batch"
                        },
                        {
                          "name": "batchSize",
                          "kind": "optional",
                          "type": "integer<int64>",
                          "example": 0
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.attributes.measure.PerUnit.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "per_unit"
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.attributes.measure.TotalPrice.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "total_price"
                        }
                      ]
                    }
                  ]
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "acrossBillingPeriods",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                },
                {
                  "name": "isRegEx",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Determines whether to use regular expression matching for dimension values.",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedTieredAbsoluteProductItemDiscount.in",
              "customType": "payment.pricing.promotions.pre_created.TimeLimitedTieredAbsoluteProductItemDiscount.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "time_limited_tiered_absolute_product_discount"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "targetProductId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "promotionTimeLimit",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "schema": [
                    {
                      "name": "cycles",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    },
                    {
                      "name": "months",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "discountMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, number>",
                  "schema": []
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "measure",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.in",
                  "customType": "payment.pricing.promotions.attributes.measure.Measure.in",
                  "schema": [],
                  "complexType": "oneOf",
                  "complexItems": [
                    {
                      "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "per_batch"
                        },
                        {
                          "name": "batchSize",
                          "kind": "optional",
                          "type": "integer<int64>",
                          "example": 0
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.attributes.measure.PerUnit.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "per_unit"
                        }
                      ]
                    },
                    {
                      "name": "payment.pricing.promotions.attributes.measure.TotalPrice.in",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.in",
                      "schema": [
                        {
                          "name": "type",
                          "kind": "optional",
                          "type": "string",
                          "example": "",
                          "default": "total_price"
                        }
                      ]
                    }
                  ]
                },
                {
                  "name": "acrossBillingPeriods",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedTieredAbsoluteProductDiscount.in",
              "customType": "payment.pricing.promotions.pre_created.TimeLimitedTieredAbsoluteProductDiscount.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "time_limited_tiered_relative_item_discount"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "targetProductItemId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "promotionTimeLimit",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "schema": [
                    {
                      "name": "cycles",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    },
                    {
                      "name": "months",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "priceToDiscountMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, number>",
                  "schema": []
                },
                {
                  "name": "discountCalculationStrategy",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.in",
                  "customType": "payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.in",
                  "schema": []
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "cycleMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "dimensionConstraintMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, string>",
                  "schema": []
                },
                {
                  "name": "acrossBillingPeriods",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                },
                {
                  "name": "isRegEx",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Determines whether to use regular expression matching for dimension values.",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedTieredRelativeProductItemDiscount.in",
              "customType": "payment.pricing.promotions.pre_created.TimeLimitedTieredRelativeProductItemDiscount.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "time_limited_tiered_relative_product_discount"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "targetProductId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "promotionTimeLimit",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "customType": "payment.pricing.promotions.attributes.HistoryRequirements.in",
                  "schema": [
                    {
                      "name": "cycles",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    },
                    {
                      "name": "months",
                      "kind": "optional",
                      "type": "integer<int32>",
                      "example": 0
                    }
                  ]
                },
                {
                  "name": "priceToDiscountMap",
                  "kind": "optional",
                  "type": "map",
                  "example": "",
                  "customType": "map<string, number>",
                  "schema": []
                },
                {
                  "name": "discountCalculationStrategy",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.in",
                  "customType": "payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.in",
                  "schema": []
                },
                {
                  "name": "totalMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "cycleMaxDiscount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "acrossBillingPeriods",
                  "kind": "optional",
                  "type": "boolean",
                  "example": ""
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedTieredRelativeProductDiscount.in",
              "customType": "payment.pricing.promotions.pre_created.TimeLimitedTieredRelativeProductDiscount.in"
            },
            {
              "name": "object",
              "schema": [
                {
                  "name": "id",
                  "kind": "required",
                  "type": "string",
                  "description": "Unique id for the promotion.",
                  "example": ""
                },
                {
                  "name": "type",
                  "kind": "optional",
                  "type": "string",
                  "description": "Promotion type.",
                  "example": "",
                  "default": "unconditioned_absolute_plan_promotion"
                },
                {
                  "name": "promotionName",
                  "kind": "required",
                  "type": "string",
                  "description": "Display name for the promotion.",
                  "example": ""
                },
                {
                  "name": "description",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "lockingStatus",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.in",
                  "customType": "com.amberflo.service.common.LockingStatus.in",
                  "schema": []
                },
                {
                  "name": "targetPlanId",
                  "kind": "optional",
                  "type": "string",
                  "example": ""
                },
                {
                  "name": "discount",
                  "kind": "optional",
                  "type": "number",
                  "example": ""
                },
                {
                  "name": "promotionType",
                  "kind": "optional",
                  "type": "string",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.PromotionType.in",
                  "customType": "payment.pricing.promotions.attributes.PromotionType.in",
                  "schema": []
                }
              ],
              "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.AbsolutePlanPromotion.in",
              "customType": "payment.pricing.promotions.pre_created.AbsolutePlanPromotion.in"
            }
          ],
          "complexType": "oneOf",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "apiKey",
          "name": "X-API-KEY",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ]
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successful request",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "payment.pricing.promotions.Promotion.out",
            "schema": [],
            "modelRef": "#/components/schemas/payment.pricing.promotions.Promotion.out",
            "complexItems": [
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "absolute_product_automatic_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "isHidden",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "discount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "targetProductId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.AbsoluteProductAutomaticPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.AbsoluteProductAutomaticPromotion.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "absolute_product_item_automatic_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "isHidden",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "discount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "targetProductItemId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "isRegEx",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Determines whether to use regular expression matching for dimension values.",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.AbsoluteProductItemAutomaticPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.AbsoluteProductItemAutomaticPromotion.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "absolute_product_item_sales_event_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "description": "If not null, apply promotion to dimensions in map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "description": "If not null, apply promotion to customers that match tags",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "acceptablePromotionTimeRange",
                    "kind": "optional",
                    "type": "object",
                    "description": "The time range over which to apply the promotion",
                    "modelRef": "#/components/schemas/payment.common.TimeRange.out",
                    "customType": "payment.common.TimeRange.out",
                    "schema": [
                      {
                        "name": "startTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      },
                      {
                        "name": "endTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "recurrenceInterval",
                    "kind": "optional",
                    "type": "object",
                    "description": "The interval that the promotion recurs over. Defines how often the promotion occurs and the maximum number of times it will occur",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurrenceInterval.out",
                    "customType": "payment.pricing.promotions.PromotionRecurrenceInterval.out",
                    "schema": [
                      {
                        "name": "intervalLength",
                        "kind": "optional",
                        "type": "string",
                        "description": "The length of the interval",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurringIntervalLength.out",
                        "customType": "payment.pricing.promotions.PromotionRecurringIntervalLength.out",
                        "schema": []
                      },
                      {
                        "name": "intervalLengthCount",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "description": "The number of interval lengths in the interval",
                        "example": 0
                      },
                      {
                        "name": "maxRecurrence",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "description": "The max number of intervals that the promotion will occur over",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "discount",
                    "kind": "optional",
                    "type": "number",
                    "description": "The amount of discount for the promotion",
                    "example": ""
                  },
                  {
                    "name": "targetProductItemId",
                    "kind": "optional",
                    "type": "string",
                    "description": "The product item that we want to apply the promotion on",
                    "example": ""
                  },
                  {
                    "name": "isRegEx",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Determines whether to use regular expression matching for dimension values.",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.AbsoluteProductItemSalesEventPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.AbsoluteProductItemSalesEventPromotion.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "absolute_product_sales_event_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "description": "If not null, apply promotion to dimensions in map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "description": "If not null, apply promotion to customers that match tags",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "acceptablePromotionTimeRange",
                    "kind": "optional",
                    "type": "object",
                    "description": "The time range over which to apply the promotion",
                    "modelRef": "#/components/schemas/payment.common.TimeRange.out",
                    "customType": "payment.common.TimeRange.out",
                    "schema": [
                      {
                        "name": "startTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      },
                      {
                        "name": "endTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "recurrenceInterval",
                    "kind": "optional",
                    "type": "object",
                    "description": "The interval that the promotion recurs over. Defines how often the promotion occurs and the maximum number of times it will occur",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurrenceInterval.out",
                    "customType": "payment.pricing.promotions.PromotionRecurrenceInterval.out",
                    "schema": [
                      {
                        "name": "intervalLength",
                        "kind": "optional",
                        "type": "string",
                        "description": "The length of the interval",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurringIntervalLength.out",
                        "customType": "payment.pricing.promotions.PromotionRecurringIntervalLength.out",
                        "schema": []
                      },
                      {
                        "name": "intervalLengthCount",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "description": "The number of interval lengths in the interval",
                        "example": 0
                      },
                      {
                        "name": "maxRecurrence",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "description": "The max number of intervals that the promotion will occur over",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "discount",
                    "kind": "optional",
                    "type": "number",
                    "description": "The amount of discount for the promotion",
                    "example": ""
                  },
                  {
                    "name": "targetProductId",
                    "kind": "optional",
                    "type": "string",
                    "description": "The product that we want to apply the promotion on",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.AbsoluteProductSalesEventPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.AbsoluteProductSalesEventPromotion.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "free_trial_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "description": "If not null, apply promotion to dimensions in map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "description": "If not null, apply promotion to customers that match tags",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "discount",
                    "kind": "optional",
                    "type": "number",
                    "description": "The amount of discount for the promotion",
                    "example": ""
                  },
                  {
                    "name": "acceptablePromotionTimeRange",
                    "kind": "optional",
                    "type": "object",
                    "description": "The time range over which to apply the promotion",
                    "modelRef": "#/components/schemas/payment.common.TimeRange.out",
                    "customType": "payment.common.TimeRange.out",
                    "schema": [
                      {
                        "name": "startTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      },
                      {
                        "name": "endTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "maxPromotionDurationInHours",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "The maximum duration (in hours) that the promotion can be used on invoice after it is applied",
                    "example": 0
                  },
                  {
                    "name": "targetProductItemId",
                    "kind": "optional",
                    "type": "string",
                    "description": "The product item that we want to apply the promotion on",
                    "example": ""
                  },
                  {
                    "name": "isRegEx",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Determines whether to use regular expression matching for dimension values.",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.FreeTrialPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.FreeTrialPromotion.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "generic_item_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "targetItemId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "promotionType",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.PromotionType.out",
                    "customType": "payment.pricing.promotions.attributes.PromotionType.out",
                    "schema": []
                  },
                  {
                    "name": "condition",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.PromotionCondition.out",
                    "customType": "payment.pricing.promotions.conditions.PromotionCondition.out",
                    "schema": [],
                    "complexType": "oneOf",
                    "complexItems": [
                      {
                        "name": "payment.pricing.promotions.conditions.AfterItemPriceThreshold.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterItemPriceThreshold.out",
                        "schema": [
                          {
                            "name": "requiredHistory",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "schema": [
                              {
                                "name": "cycles",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              },
                              {
                                "name": "months",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              }
                            ]
                          },
                          {
                            "name": "minThreshold",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "after_item_price_threshold"
                          },
                          {
                            "name": "itemId",
                            "kind": "optional",
                            "type": "string",
                            "example": ""
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.conditions.AfterProductPriceThreshold.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterProductPriceThreshold.out",
                        "schema": [
                          {
                            "name": "requiredHistory",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "schema": [
                              {
                                "name": "cycles",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              },
                              {
                                "name": "months",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              }
                            ]
                          },
                          {
                            "name": "minThreshold",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "after_product_price_threshold"
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.conditions.CompositeAndCondition.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CompositeAndCondition.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "and_condition"
                          },
                          {
                            "name": "conditions",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.PromotionCondition.out",
                            "customType": "payment.pricing.promotions.conditions.PromotionCondition.out[]",
                            "schema": [],
                            "complexType": "oneOf",
                            "complexItems": [
                              {
                                "name": "payment.pricing.promotions.conditions.AfterItemPriceThreshold.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterItemPriceThreshold.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Circular-Reference"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.conditions.AfterProductPriceThreshold.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterProductPriceThreshold.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Circular-Reference"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.conditions.CompositeAndCondition.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CompositeAndCondition.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Circular-Reference"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.conditions.CustomerTagsCondition.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CustomerTagsCondition.out",
                                "schema": [
                                  {
                                    "name": "type",
                                    "kind": "optional",
                                    "type": "string",
                                    "example": "",
                                    "default": "customer_tag_condition"
                                  },
                                  {
                                    "name": "customerTagsToFind",
                                    "kind": "optional",
                                    "type": "map",
                                    "example": "",
                                    "customType": "map<string, string>",
                                    "schema": []
                                  },
                                  {
                                    "name": "granularity",
                                    "kind": "optional",
                                    "type": "object",
                                    "description": "",
                                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.Granularity.out",
                                    "customType": "payment.pricing.promotions.attributes.granularity.Granularity.out",
                                    "schema": [],
                                    "complexType": "oneOf",
                                    "complexItems": [
                                      {
                                        "name": "payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.out",
                                        "description": "",
                                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.out",
                                        "schema": [
                                          {
                                            "name": "",
                                            "description": "",
                                            "customType": "Max depth limit reached"
                                          }
                                        ]
                                      },
                                      {
                                        "name": "payment.pricing.promotions.attributes.granularity.ProductGranularity.out",
                                        "description": "",
                                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ProductGranularity.out",
                                        "schema": [
                                          {
                                            "name": "",
                                            "description": "",
                                            "customType": "Max depth limit reached"
                                          }
                                        ]
                                      }
                                    ]
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.conditions.NextBillingCycle.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NextBillingCycle.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.conditions.NoCondition.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NoCondition.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.conditions.SamePlan.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.SamePlan.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.conditions.TimeLimited.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.TimeLimited.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.conditions.CustomerTagsCondition.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CustomerTagsCondition.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "customer_tag_condition"
                          },
                          {
                            "name": "customerTagsToFind",
                            "kind": "optional",
                            "type": "map",
                            "example": "",
                            "customType": "map<string, string>",
                            "schema": []
                          },
                          {
                            "name": "granularity",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.Granularity.out",
                            "customType": "payment.pricing.promotions.attributes.granularity.Granularity.out",
                            "schema": [],
                            "complexType": "oneOf",
                            "complexItems": [
                              {
                                "name": "payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.attributes.granularity.ProductGranularity.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ProductGranularity.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.conditions.NextBillingCycle.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NextBillingCycle.out",
                        "schema": [
                          {
                            "name": "",
                            "description": "",
                            "customType": "Max depth limit reached"
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.conditions.NoCondition.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NoCondition.out",
                        "schema": [
                          {
                            "name": "",
                            "description": "",
                            "customType": "Max depth limit reached"
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.conditions.SamePlan.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.SamePlan.out",
                        "schema": [
                          {
                            "name": "",
                            "description": "",
                            "customType": "Max depth limit reached"
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.conditions.TimeLimited.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.TimeLimited.out",
                        "schema": [
                          {
                            "name": "",
                            "description": "",
                            "customType": "Max depth limit reached"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "name": "promotionModel",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PromotionModel.out",
                    "customType": "payment.pricing.promotions.promotion_model.PromotionModel.out",
                    "schema": [],
                    "complexType": "oneOf",
                    "complexItems": [
                      {
                        "name": "payment.pricing.promotions.promotion_model.Absolute.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.Absolute.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "absolute"
                          },
                          {
                            "name": "measure",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.out",
                            "customType": "payment.pricing.promotions.attributes.measure.Measure.out",
                            "schema": [],
                            "complexType": "oneOf",
                            "complexItems": [
                              {
                                "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                                "schema": [
                                  {
                                    "name": "type",
                                    "kind": "optional",
                                    "type": "string",
                                    "example": "",
                                    "default": "per_batch"
                                  },
                                  {
                                    "name": "batchSize",
                                    "kind": "optional",
                                    "type": "integer<int64>",
                                    "example": 0
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.attributes.measure.PerUnit.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.out",
                                "schema": [
                                  {
                                    "name": "type",
                                    "kind": "optional",
                                    "type": "string",
                                    "example": "",
                                    "default": "per_unit"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.attributes.measure.TotalPrice.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "name": "requiredHistory",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "schema": [
                              {
                                "name": "cycles",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              },
                              {
                                "name": "months",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              }
                            ]
                          },
                          {
                            "name": "totalMaxDiscount",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "cycleMaxDiscount",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "discount",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.promotion_model.PriceTieredRelative.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "price_tiered_relative"
                          },
                          {
                            "name": "measure",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.out",
                            "customType": "payment.pricing.promotions.attributes.measure.Measure.out",
                            "schema": [],
                            "complexType": "oneOf",
                            "complexItems": [
                              {
                                "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                                "schema": [
                                  {
                                    "name": "type",
                                    "kind": "optional",
                                    "type": "string",
                                    "example": "",
                                    "default": "per_batch"
                                  },
                                  {
                                    "name": "batchSize",
                                    "kind": "optional",
                                    "type": "integer<int64>",
                                    "example": 0
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.attributes.measure.PerUnit.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.attributes.measure.TotalPrice.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "name": "requiredHistory",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "schema": [
                              {
                                "name": "cycles",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              },
                              {
                                "name": "months",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              }
                            ]
                          },
                          {
                            "name": "totalMaxDiscount",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "cycleMaxDiscount",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "discountRatioMap",
                            "kind": "optional",
                            "type": "map",
                            "example": "",
                            "customType": "map<string, number>",
                            "schema": []
                          },
                          {
                            "name": "discountCalculationStrategy",
                            "kind": "optional",
                            "type": "string",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.out",
                            "customType": "payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.out",
                            "schema": []
                          },
                          {
                            "name": "acrossBillingPeriods",
                            "kind": "optional",
                            "type": "boolean",
                            "example": ""
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.promotion_model.Relative.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.Relative.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "relative"
                          },
                          {
                            "name": "measure",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.out",
                            "customType": "payment.pricing.promotions.attributes.measure.Measure.out",
                            "schema": [],
                            "complexType": "oneOf",
                            "complexItems": [
                              {
                                "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.attributes.measure.PerUnit.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.attributes.measure.TotalPrice.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "name": "requiredHistory",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "schema": [
                              {
                                "name": "cycles",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              },
                              {
                                "name": "months",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              }
                            ]
                          },
                          {
                            "name": "totalMaxDiscount",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "cycleMaxDiscount",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "discountRatio",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "isRegEx",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Determines whether to use regular expression matching for dimension values.",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.GenericItemPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.GenericItemPromotion.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "generic_product_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "targetProductId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "promotionType",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.PromotionType.out",
                    "customType": "payment.pricing.promotions.attributes.PromotionType.out",
                    "schema": []
                  },
                  {
                    "name": "condition",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.PromotionCondition.out",
                    "customType": "payment.pricing.promotions.conditions.PromotionCondition.out",
                    "schema": [],
                    "complexType": "oneOf",
                    "complexItems": [
                      {
                        "name": "payment.pricing.promotions.conditions.AfterItemPriceThreshold.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterItemPriceThreshold.out",
                        "schema": [
                          {
                            "name": "requiredHistory",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "schema": [
                              {
                                "name": "cycles",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              },
                              {
                                "name": "months",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              }
                            ]
                          },
                          {
                            "name": "minThreshold",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "after_item_price_threshold"
                          },
                          {
                            "name": "itemId",
                            "kind": "optional",
                            "type": "string",
                            "example": ""
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.conditions.AfterProductPriceThreshold.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterProductPriceThreshold.out",
                        "schema": [
                          {
                            "name": "requiredHistory",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "schema": [
                              {
                                "name": "cycles",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              },
                              {
                                "name": "months",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              }
                            ]
                          },
                          {
                            "name": "minThreshold",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "after_product_price_threshold"
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.conditions.CompositeAndCondition.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CompositeAndCondition.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "and_condition"
                          },
                          {
                            "name": "conditions",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.PromotionCondition.out",
                            "customType": "payment.pricing.promotions.conditions.PromotionCondition.out[]",
                            "schema": [],
                            "complexType": "oneOf",
                            "complexItems": [
                              {
                                "name": "payment.pricing.promotions.conditions.AfterItemPriceThreshold.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterItemPriceThreshold.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Circular-Reference"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.conditions.AfterProductPriceThreshold.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.AfterProductPriceThreshold.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Circular-Reference"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.conditions.CompositeAndCondition.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CompositeAndCondition.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Circular-Reference"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.conditions.CustomerTagsCondition.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CustomerTagsCondition.out",
                                "schema": [
                                  {
                                    "name": "type",
                                    "kind": "optional",
                                    "type": "string",
                                    "example": "",
                                    "default": "customer_tag_condition"
                                  },
                                  {
                                    "name": "customerTagsToFind",
                                    "kind": "optional",
                                    "type": "map",
                                    "example": "",
                                    "customType": "map<string, string>",
                                    "schema": []
                                  },
                                  {
                                    "name": "granularity",
                                    "kind": "optional",
                                    "type": "object",
                                    "description": "",
                                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.Granularity.out",
                                    "customType": "payment.pricing.promotions.attributes.granularity.Granularity.out",
                                    "schema": [],
                                    "complexType": "oneOf",
                                    "complexItems": [
                                      {
                                        "name": "payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.out",
                                        "description": "",
                                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.out",
                                        "schema": [
                                          {
                                            "name": "",
                                            "description": "",
                                            "customType": "Max depth limit reached"
                                          }
                                        ]
                                      },
                                      {
                                        "name": "payment.pricing.promotions.attributes.granularity.ProductGranularity.out",
                                        "description": "",
                                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ProductGranularity.out",
                                        "schema": [
                                          {
                                            "name": "",
                                            "description": "",
                                            "customType": "Max depth limit reached"
                                          }
                                        ]
                                      }
                                    ]
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.conditions.NextBillingCycle.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NextBillingCycle.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.conditions.NoCondition.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NoCondition.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.conditions.SamePlan.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.SamePlan.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.conditions.TimeLimited.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.TimeLimited.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.conditions.CustomerTagsCondition.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.CustomerTagsCondition.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "customer_tag_condition"
                          },
                          {
                            "name": "customerTagsToFind",
                            "kind": "optional",
                            "type": "map",
                            "example": "",
                            "customType": "map<string, string>",
                            "schema": []
                          },
                          {
                            "name": "granularity",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.Granularity.out",
                            "customType": "payment.pricing.promotions.attributes.granularity.Granularity.out",
                            "schema": [],
                            "complexType": "oneOf",
                            "complexItems": [
                              {
                                "name": "payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ItemVariantGranularity.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.attributes.granularity.ProductGranularity.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.granularity.ProductGranularity.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.conditions.NextBillingCycle.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NextBillingCycle.out",
                        "schema": [
                          {
                            "name": "",
                            "description": "",
                            "customType": "Max depth limit reached"
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.conditions.NoCondition.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.NoCondition.out",
                        "schema": [
                          {
                            "name": "",
                            "description": "",
                            "customType": "Max depth limit reached"
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.conditions.SamePlan.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.SamePlan.out",
                        "schema": [
                          {
                            "name": "",
                            "description": "",
                            "customType": "Max depth limit reached"
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.conditions.TimeLimited.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.conditions.TimeLimited.out",
                        "schema": [
                          {
                            "name": "",
                            "description": "",
                            "customType": "Max depth limit reached"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "name": "promotionModel",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PromotionModel.out",
                    "customType": "payment.pricing.promotions.promotion_model.PromotionModel.out",
                    "schema": [],
                    "complexType": "oneOf",
                    "complexItems": [
                      {
                        "name": "payment.pricing.promotions.promotion_model.Absolute.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.Absolute.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "absolute"
                          },
                          {
                            "name": "measure",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.out",
                            "customType": "payment.pricing.promotions.attributes.measure.Measure.out",
                            "schema": [],
                            "complexType": "oneOf",
                            "complexItems": [
                              {
                                "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                                "schema": [
                                  {
                                    "name": "type",
                                    "kind": "optional",
                                    "type": "string",
                                    "example": "",
                                    "default": "per_batch"
                                  },
                                  {
                                    "name": "batchSize",
                                    "kind": "optional",
                                    "type": "integer<int64>",
                                    "example": 0
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.attributes.measure.PerUnit.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.out",
                                "schema": [
                                  {
                                    "name": "type",
                                    "kind": "optional",
                                    "type": "string",
                                    "example": "",
                                    "default": "per_unit"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.attributes.measure.TotalPrice.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "name": "requiredHistory",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "schema": [
                              {
                                "name": "cycles",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              },
                              {
                                "name": "months",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              }
                            ]
                          },
                          {
                            "name": "totalMaxDiscount",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "cycleMaxDiscount",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "discount",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.promotion_model.PriceTieredRelative.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "price_tiered_relative"
                          },
                          {
                            "name": "measure",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.out",
                            "customType": "payment.pricing.promotions.attributes.measure.Measure.out",
                            "schema": [],
                            "complexType": "oneOf",
                            "complexItems": [
                              {
                                "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                                "schema": [
                                  {
                                    "name": "type",
                                    "kind": "optional",
                                    "type": "string",
                                    "example": "",
                                    "default": "per_batch"
                                  },
                                  {
                                    "name": "batchSize",
                                    "kind": "optional",
                                    "type": "integer<int64>",
                                    "example": 0
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.attributes.measure.PerUnit.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.attributes.measure.TotalPrice.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "name": "requiredHistory",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "schema": [
                              {
                                "name": "cycles",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              },
                              {
                                "name": "months",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              }
                            ]
                          },
                          {
                            "name": "totalMaxDiscount",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "cycleMaxDiscount",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "discountRatioMap",
                            "kind": "optional",
                            "type": "map",
                            "example": "",
                            "customType": "map<string, number>",
                            "schema": []
                          },
                          {
                            "name": "discountCalculationStrategy",
                            "kind": "optional",
                            "type": "string",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.out",
                            "customType": "payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.out",
                            "schema": []
                          },
                          {
                            "name": "acrossBillingPeriods",
                            "kind": "optional",
                            "type": "boolean",
                            "example": ""
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.promotion_model.Relative.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.Relative.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "relative"
                          },
                          {
                            "name": "measure",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.out",
                            "customType": "payment.pricing.promotions.attributes.measure.Measure.out",
                            "schema": [],
                            "complexType": "oneOf",
                            "complexItems": [
                              {
                                "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.attributes.measure.PerUnit.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              },
                              {
                                "name": "payment.pricing.promotions.attributes.measure.TotalPrice.out",
                                "description": "",
                                "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.out",
                                "schema": [
                                  {
                                    "name": "",
                                    "description": "",
                                    "customType": "Max depth limit reached"
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "name": "requiredHistory",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                            "schema": [
                              {
                                "name": "cycles",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              },
                              {
                                "name": "months",
                                "kind": "optional",
                                "type": "integer<int32>",
                                "example": 0
                              }
                            ]
                          },
                          {
                            "name": "totalMaxDiscount",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "cycleMaxDiscount",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          },
                          {
                            "name": "discountRatio",
                            "kind": "optional",
                            "type": "number",
                            "example": ""
                          }
                        ]
                      }
                    ]
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.GenericProductPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.GenericProductPromotion.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "product_absolute_partner_discount"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "isHidden",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "discount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "targetProductId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.ProductAbsolutePartnerDiscount.out",
                "customType": "payment.pricing.promotions.pre_created.ProductAbsolutePartnerDiscount.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "product_item_absolute_partner_discount"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "isHidden",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "discount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "targetProductItemId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "isRegEx",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Determines whether to use regular expression matching for dimension values.",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.ProductItemAbsolutePartnerDiscount.out",
                "customType": "payment.pricing.promotions.pre_created.ProductItemAbsolutePartnerDiscount.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "product_item_relative_partner_discount"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "isHidden",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "discountRatio",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "cycleMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "targetProductItemId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "isRegEx",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Determines whether to use regular expression matching for dimension values.",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.RelativeProductItemPartnerDiscount.out",
                "customType": "payment.pricing.promotions.pre_created.RelativeProductItemPartnerDiscount.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "relative_product_automatic_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "isHidden",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "discountRatio",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "cycleMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "targetProductId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.RelativeProductAutomaticPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.RelativeProductAutomaticPromotion.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "relative_product_item_automatic_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "isHidden",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "discountRatio",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "cycleMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "targetProductItemId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "isRegEx",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Determines whether to use regular expression matching for dimension values.",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.RelativeProductItemAutomaticPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.RelativeProductItemAutomaticPromotion.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "relative_product_item_sales_event_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "description": "If not null, apply promotion to dimensions in map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "description": "If not null, apply promotion to customers that match tags",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "acceptablePromotionTimeRange",
                    "kind": "optional",
                    "type": "object",
                    "description": "The time range over which to apply the promotion",
                    "modelRef": "#/components/schemas/payment.common.TimeRange.out",
                    "customType": "payment.common.TimeRange.out",
                    "schema": [
                      {
                        "name": "startTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      },
                      {
                        "name": "endTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "recurrenceInterval",
                    "kind": "optional",
                    "type": "object",
                    "description": "The interval that the promotion recurs over. Defines how often the promotion occurs and the maximum number of times it will occur",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurrenceInterval.out",
                    "customType": "payment.pricing.promotions.PromotionRecurrenceInterval.out",
                    "schema": [
                      {
                        "name": "intervalLength",
                        "kind": "optional",
                        "type": "string",
                        "description": "The length of the interval",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurringIntervalLength.out",
                        "customType": "payment.pricing.promotions.PromotionRecurringIntervalLength.out",
                        "schema": []
                      },
                      {
                        "name": "intervalLengthCount",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "description": "The number of interval lengths in the interval",
                        "example": 0
                      },
                      {
                        "name": "maxRecurrence",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "description": "The max number of intervals that the promotion will occur over",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "discountRatio",
                    "kind": "optional",
                    "type": "number",
                    "description": "The percent of discount for the promotion",
                    "example": ""
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "description": "The maximum amount of discount that can be applied",
                    "example": ""
                  },
                  {
                    "name": "cycleMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "description": "The maximum amount of discount that can be applied per billing cycle",
                    "example": ""
                  },
                  {
                    "name": "targetProductItemId",
                    "kind": "optional",
                    "type": "string",
                    "description": "The product item that we want to apply the promotion on",
                    "example": ""
                  },
                  {
                    "name": "isRegEx",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Determines whether to use regular expression matching for dimension values.",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.RelativeProductItemSalesEventPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.RelativeProductItemSalesEventPromotion.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "relative_product_partner_automatic_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "isHidden",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "discountRatio",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "cycleMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "targetProductId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.ProductRelativePartnerDiscount.out",
                "customType": "payment.pricing.promotions.pre_created.ProductRelativePartnerDiscount.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "relative_product_sales_event_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "description": "If not null, apply promotion to dimensions in map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "description": "If not null, apply promotion to customers that match tags",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "acceptablePromotionTimeRange",
                    "kind": "optional",
                    "type": "object",
                    "description": "The time range over which to apply the promotion",
                    "modelRef": "#/components/schemas/payment.common.TimeRange.out",
                    "customType": "payment.common.TimeRange.out",
                    "schema": [
                      {
                        "name": "startTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      },
                      {
                        "name": "endTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "recurrenceInterval",
                    "kind": "optional",
                    "type": "object",
                    "description": "The interval that the promotion recurs over. Defines how often the promotion occurs and the maximum number of times it will occur",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurrenceInterval.out",
                    "customType": "payment.pricing.promotions.PromotionRecurrenceInterval.out",
                    "schema": [
                      {
                        "name": "intervalLength",
                        "kind": "optional",
                        "type": "string",
                        "description": "The length of the interval",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.PromotionRecurringIntervalLength.out",
                        "customType": "payment.pricing.promotions.PromotionRecurringIntervalLength.out",
                        "schema": []
                      },
                      {
                        "name": "intervalLengthCount",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "description": "The number of interval lengths in the interval",
                        "example": 0
                      },
                      {
                        "name": "maxRecurrence",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "description": "The max number of intervals that the promotion will occur over",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "discountRatio",
                    "kind": "optional",
                    "type": "number",
                    "description": "The amount of discount for the promotion",
                    "example": ""
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "description": "The maximum amount of discount that can be applied",
                    "example": ""
                  },
                  {
                    "name": "cycleMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "description": "The maximum amount of discount that can be applied per billing cycle",
                    "example": ""
                  },
                  {
                    "name": "targetProductId",
                    "kind": "optional",
                    "type": "string",
                    "description": "The product that we want to apply the promotion on",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.RelativeProductSalesEventPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.RelativeProductSalesEventPromotion.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "tiered_absolute_product_automatic_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "isHidden",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "discountMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, number>",
                    "schema": []
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "measure",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.out",
                    "customType": "payment.pricing.promotions.attributes.measure.Measure.out",
                    "schema": [],
                    "complexType": "oneOf",
                    "complexItems": [
                      {
                        "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "per_batch"
                          },
                          {
                            "name": "batchSize",
                            "kind": "optional",
                            "type": "integer<int64>",
                            "example": 0
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.attributes.measure.PerUnit.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "per_unit"
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.attributes.measure.TotalPrice.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "total_price"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "name": "targetProductId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TieredAbsoluteProductAutomaticPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.TieredAbsoluteProductAutomaticPromotion.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "tiered_absolute_product_item_automatic_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "isHidden",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "discountMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, number>",
                    "schema": []
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "measure",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.out",
                    "customType": "payment.pricing.promotions.attributes.measure.Measure.out",
                    "schema": [],
                    "complexType": "oneOf",
                    "complexItems": [
                      {
                        "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "per_batch"
                          },
                          {
                            "name": "batchSize",
                            "kind": "optional",
                            "type": "integer<int64>",
                            "example": 0
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.attributes.measure.PerUnit.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "per_unit"
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.attributes.measure.TotalPrice.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "total_price"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "name": "targetProductItemId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "isRegEx",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Determines whether to use regular expression matching for dimension values.",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TieredAbsoluteProductItemAutomaticPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.TieredAbsoluteProductItemAutomaticPromotion.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "tiered_relative_product_automatic_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "isHidden",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "priceToDiscountMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, number>",
                    "schema": []
                  },
                  {
                    "name": "discountCalculationStrategy",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.out",
                    "customType": "payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.out",
                    "schema": []
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "cycleMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "targetProductId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TieredRelativeProductAutomaticPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.TieredRelativeProductAutomaticPromotion.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "tiered_relative_product_item_automatic_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "customerTags",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "isHidden",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "priceToDiscountMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, number>",
                    "schema": []
                  },
                  {
                    "name": "discountCalculationStrategy",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.out",
                    "customType": "payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.out",
                    "schema": []
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "cycleMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "targetProductItemId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "isRegEx",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Determines whether to use regular expression matching for dimension values.",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TieredRelativeProductItemAutomaticPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.TieredRelativeProductItemAutomaticPromotion.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "time_limited_absolute_item_discount"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "targetProductItemId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "promotionTimeLimit",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "schema": [
                      {
                        "name": "cycles",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      },
                      {
                        "name": "months",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "discount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "isRegEx",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Determines whether to use regular expression matching for dimension values.",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedAbsoluteProductItemDiscount.out",
                "customType": "payment.pricing.promotions.pre_created.TimeLimitedAbsoluteProductItemDiscount.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "time_limited_absolute_product_discount"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "targetProductId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "promotionTimeLimit",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "schema": [
                      {
                        "name": "cycles",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      },
                      {
                        "name": "months",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "discount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedAbsoluteProductDiscount.out",
                "customType": "payment.pricing.promotions.pre_created.TimeLimitedAbsoluteProductDiscount.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "time_limited_relative_item_discount"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "targetProductItemId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "promotionTimeLimit",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "schema": [
                      {
                        "name": "cycles",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      },
                      {
                        "name": "months",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "discountRatio",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "cycleMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "isRegEx",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Determines whether to use regular expression matching for dimension values.",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedRelativeProductItemDiscount.out",
                "customType": "payment.pricing.promotions.pre_created.TimeLimitedRelativeProductItemDiscount.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "time_limited_relative_product_discount"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "targetProductId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "promotionTimeLimit",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "schema": [
                      {
                        "name": "cycles",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      },
                      {
                        "name": "months",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "discountRatio",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "cycleMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedRelativeProductDiscount.out",
                "customType": "payment.pricing.promotions.pre_created.TimeLimitedRelativeProductDiscount.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "time_limited_relative_product_full_discount"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "targetProductId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.RelativeProductFullDiscount.out",
                "customType": "payment.pricing.promotions.pre_created.RelativeProductFullDiscount.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "time_limited_tiered_absolute_item_discount"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "targetProductItemId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "promotionTimeLimit",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "schema": [
                      {
                        "name": "cycles",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      },
                      {
                        "name": "months",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "discountMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, number>",
                    "schema": []
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "measure",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.out",
                    "customType": "payment.pricing.promotions.attributes.measure.Measure.out",
                    "schema": [],
                    "complexType": "oneOf",
                    "complexItems": [
                      {
                        "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "per_batch"
                          },
                          {
                            "name": "batchSize",
                            "kind": "optional",
                            "type": "integer<int64>",
                            "example": 0
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.attributes.measure.PerUnit.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "per_unit"
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.attributes.measure.TotalPrice.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "total_price"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "acrossBillingPeriods",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "isRegEx",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Determines whether to use regular expression matching for dimension values.",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedTieredAbsoluteProductItemDiscount.out",
                "customType": "payment.pricing.promotions.pre_created.TimeLimitedTieredAbsoluteProductItemDiscount.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "time_limited_tiered_absolute_product_discount"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "targetProductId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "promotionTimeLimit",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "schema": [
                      {
                        "name": "cycles",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      },
                      {
                        "name": "months",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "discountMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, number>",
                    "schema": []
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "measure",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.Measure.out",
                    "customType": "payment.pricing.promotions.attributes.measure.Measure.out",
                    "schema": [],
                    "complexType": "oneOf",
                    "complexItems": [
                      {
                        "name": "payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnitBatch.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "per_batch"
                          },
                          {
                            "name": "batchSize",
                            "kind": "optional",
                            "type": "integer<int64>",
                            "example": 0
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.attributes.measure.PerUnit.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.PerUnit.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "per_unit"
                          }
                        ]
                      },
                      {
                        "name": "payment.pricing.promotions.attributes.measure.TotalPrice.out",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.measure.TotalPrice.out",
                        "schema": [
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "string",
                            "example": "",
                            "default": "total_price"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "name": "acrossBillingPeriods",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedTieredAbsoluteProductDiscount.out",
                "customType": "payment.pricing.promotions.pre_created.TimeLimitedTieredAbsoluteProductDiscount.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "time_limited_tiered_relative_item_discount"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "targetProductItemId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "promotionTimeLimit",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "schema": [
                      {
                        "name": "cycles",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      },
                      {
                        "name": "months",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "priceToDiscountMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, number>",
                    "schema": []
                  },
                  {
                    "name": "discountCalculationStrategy",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.out",
                    "customType": "payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.out",
                    "schema": []
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "cycleMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "dimensionConstraintMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, string>",
                    "schema": []
                  },
                  {
                    "name": "acrossBillingPeriods",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "isRegEx",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Determines whether to use regular expression matching for dimension values.",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedTieredRelativeProductItemDiscount.out",
                "customType": "payment.pricing.promotions.pre_created.TimeLimitedTieredRelativeProductItemDiscount.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "time_limited_tiered_relative_product_discount"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "targetProductId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "promotionTimeLimit",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "customType": "payment.pricing.promotions.attributes.HistoryRequirements.out",
                    "schema": [
                      {
                        "name": "cycles",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      },
                      {
                        "name": "months",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "example": 0
                      }
                    ]
                  },
                  {
                    "name": "priceToDiscountMap",
                    "kind": "optional",
                    "type": "map",
                    "example": "",
                    "customType": "map<string, number>",
                    "schema": []
                  },
                  {
                    "name": "discountCalculationStrategy",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.out",
                    "customType": "payment.pricing.promotions.promotion_model.PriceTieredRelative.DiscountCalculationStrategy.out",
                    "schema": []
                  },
                  {
                    "name": "totalMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "cycleMaxDiscount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "acrossBillingPeriods",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.TimeLimitedTieredRelativeProductDiscount.out",
                "customType": "payment.pricing.promotions.pre_created.TimeLimitedTieredRelativeProductDiscount.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "id",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique id for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Promotion type.",
                    "example": "",
                    "default": "unconditioned_absolute_plan_promotion"
                  },
                  {
                    "name": "promotionName",
                    "kind": "required",
                    "type": "string",
                    "description": "Display name for the promotion.",
                    "example": ""
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "lockingStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/com.amberflo.service.common.LockingStatus.out",
                    "customType": "com.amberflo.service.common.LockingStatus.out",
                    "schema": []
                  },
                  {
                    "name": "lastUpdateTimeInMillis",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Last update time, in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (milliseconds).",
                    "example": 0
                  },
                  {
                    "name": "targetPlanId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "discount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "promotionType",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.pricing.promotions.attributes.PromotionType.out",
                    "customType": "payment.pricing.promotions.attributes.PromotionType.out",
                    "schema": []
                  }
                ],
                "modelRef": "#/components/schemas/payment.pricing.promotions.pre_created.AbsolutePlanPromotion.out",
                "customType": "payment.pricing.promotions.pre_created.AbsolutePlanPromotion.out"
              }
            ],
            "complexType": "oneOf",
            "isExpanded": true
          }
        ]
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "_WWxH1Z4guB5oZEV3GHAM",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '{\n     \"id\": \"\",\n     \"type\": \"absolute_product_automatic_promotion\",\n     \"promotionName\": \"\"\n     }'"
        },
        {
          "id": "piDcDJhyFTxU4Pz3UGWJG",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"id\": \"\",\n   \"type\": \"absolute_product_automatic_promotion\",\n   \"promotionName\": \"\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "XWiQv2B9Dq97mgbWuAcfy",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"id\": \"\",\n   \"type\": \"absolute_product_automatic_promotion\",\n   \"promotionName\": \"\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "Q09chBfclNnJ3SfmS6ZlG",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions\"\n\npayload = json.dumps({\n   \"id\": \"\",\n   \"type\": \"absolute_product_automatic_promotion\",\n   \"promotionName\": \"\"\n})\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "_WWxH1Z4guB5oZEV3GHAM"
    },
    "results": {
      "languages": [
        {
          "id": "wycgx91xNJFrxMUTnXKtB",
          "language": "200",
          "code": "// Successful request\n{}"
        }
      ],
      "selectedLanguageId": "wycgx91xNJFrxMUTnXKtB"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}