Skip to content

Commit

Permalink
ECWID-126274 OE2: The discount Based on Customer Groups is deducted f…
Browse files Browse the repository at this point in the history
…rom the gift card: added AllowNullable in rules
  • Loading branch information
zont163 committed Nov 2, 2023
1 parent 8a6f0cc commit 4c71baa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ val calculateOrderDetailsResultNullablePropertyRules: List<NullablePropertyRule<
IgnoreNullable(CalculateOrderDetailsResult.OrderItem::categoryId),
IgnoreNullable(CalculateOrderDetailsResult.OrderItem::couponAmount),
IgnoreNullable(CalculateOrderDetailsResult.OrderItem::couponApplied),
IgnoreNullable(CalculateOrderDetailsResult.OrderItem::isGiftCard),
IgnoreNullable(CalculateOrderDetailsResult.OrderItem::digital),
IgnoreNullable(CalculateOrderDetailsResult.OrderItem::dimensions),
IgnoreNullable(CalculateOrderDetailsResult.OrderItem::discounts),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ val fetchedOrderNullablePropertyRules: List<NullablePropertyRule<*, *>> = listOf
IgnoreNullable(FetchedOrder.OrderItem::categoryId),
IgnoreNullable(FetchedOrder.OrderItem::couponAmount),
IgnoreNullable(FetchedOrder.OrderItem::couponApplied),
AllowNullable(FetchedOrder.OrderItem::isGiftCard),
IgnoreNullable(FetchedOrder.OrderItem::digital),
IgnoreNullable(FetchedOrder.OrderItem::dimensions),
IgnoreNullable(FetchedOrder.OrderItem::discounts),
Expand Down

0 comments on commit 4c71baa

Please sign in to comment.