Skip to content

Commit

Permalink
Merge pull request #326 from Ecwid/ECWID-124671-oe2-wholesale-prices
Browse files Browse the repository at this point in the history
ECWID-124671 OE2: Send Order Data to Calculation and Display Changes: Bulk Discount Pricing.
  • Loading branch information
kitty-ecwid authored Sep 15, 2023
2 parents 185ddb6 + 18def5b commit 85b6398
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 @@ -70,6 +70,7 @@ data class OrderForCalculate(

val price: Double? = null,
val productPrice: Double? = null,
val needCalculateWholesalePrice: Boolean? = null,
val shipping: Double? = null,
val tax: Double? = null,
val fixedShippingRate: Double? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ val orderForCalculateNullablePropertyRules: List<NullablePropertyRule<*, *>> = l
IgnoreNullable(OrderForCalculate.OrderItem::imageUrl),
IgnoreNullable(OrderForCalculate.OrderItem::isShippingRequired),
IgnoreNullable(OrderForCalculate.OrderItem::name),
AllowNullable(OrderForCalculate.OrderItem::needCalculateWholesalePrice),
IgnoreNullable(OrderForCalculate.OrderItem::price),
IgnoreNullable(OrderForCalculate.OrderItem::productId),
IgnoreNullable(OrderForCalculate.OrderItem::productPrice),
Expand Down

0 comments on commit 85b6398

Please sign in to comment.