Skip to content

Commit cbeea26

Browse files
committed
Updated API from documentation release
1 parent f3a3bef commit cbeea26

3 files changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#%RAML 1.0 DataType
2+
(package): Common
3+
type: DiscountTypeCombination
4+
displayName: BestDeal
5+
discriminatorValue: BestDeal
6+
description: |
7+
Indicates if a Product Discount or Cart Discount offers the best deal for a Cart or Order.
8+
properties:
9+
chosenDiscountType:
10+
type: string
11+
description: |
12+
Discount type that offers the best deal; the value can be `ProductDiscount` or `CartDiscount`.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#%RAML 1.0 DataType
2+
(package): Common
3+
type: DiscountTypeCombination
4+
displayName: Stacking
5+
discriminatorValue: Stacking
6+
description: |
7+
Indicates both Product Discounts and Cart Discounts apply to a Cart and Order.

api-specs/history/types/types.raml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ DiscountedLineItemPortion: !include common/DiscountedLineItemPortion.raml
173173
DiscountedLineItemPrice: !include common/DiscountedLineItemPrice.raml
174174
DiscountedLineItemPriceForQuantity: !include common/DiscountedLineItemPriceForQuantity.raml
175175
DiscountTypeCombination: !include common/DiscountTypeCombination.raml
176+
BestDeal: !include common/BestDeal.raml
177+
Stacking: !include common/Stacking.raml
176178
EnumValue: !include change/change-value/EnumValue.raml
177179
FieldDefinition: !include common/FieldDefinition.raml
178180
FieldDefinitionOrderValue: !include change/change-value/FieldDefinitionOrderValue.raml

0 commit comments

Comments
 (0)