Skip to content

Commit

Permalink
Merge pull request #359 from Ecwid/ECWID_115413
Browse files Browse the repository at this point in the history
ECWID-115413 Add the discountsAllowed flag to the order item in the c…
  • Loading branch information
zenon-ecwid authored Dec 7, 2023
2 parents 118d216 + c0093eb commit ebd868c
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 @@ -99,6 +99,7 @@ data class CustomAppRequest(
val relatedProducts: RelatedProducts? = null,
val combinations: List<FetchedVariation>? = null,
val showOnFrontpage: Int? = null,
val discountsAllowed: Boolean? = null,
val externalReferenceId: String? = null
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ val customAppRequestNullablePropertyRules: List<NullablePropertyRule<*, *>> = li
AllowNullable(CustomAppRequest.OrderItem::defaultCategoryId),
AllowNullable(CustomAppRequest.OrderItem::defaultCombinationId),
AllowNullable(CustomAppRequest.OrderItem::dimensions),
AllowNullable(CustomAppRequest.OrderItem::discountsAllowed),
AllowNullable(CustomAppRequest.OrderItem::enabled),
AllowNullable(CustomAppRequest.OrderItem::favorites),
AllowNullable(CustomAppRequest.OrderItem::fixedShippingRate),
Expand Down

0 comments on commit ebd868c

Please sign in to comment.