diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/cart/request/OrderForCalculate.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/cart/request/OrderForCalculate.kt index 3c7f775f..414fb970 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/cart/request/OrderForCalculate.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/cart/request/OrderForCalculate.kt @@ -31,6 +31,7 @@ data class OrderForCalculate( val giftCardRedemption: Double? = null, val totalBeforeGiftCardRedemption: Double? = null, val giftCardDoubleSpending: Boolean? = null, + val fromOE: Boolean? = false, ) : ApiRequestDTO { data class DiscountInfo( diff --git a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/OrderForCalculateRules.kt b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/OrderForCalculateRules.kt index 0938d68d..54517f3d 100644 --- a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/OrderForCalculateRules.kt +++ b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/OrderForCalculateRules.kt @@ -29,6 +29,7 @@ val orderForCalculateNullablePropertyRules: List> = l AllowNullable(OrderForCalculate::taxAlreadyDeductedFromShipping), AllowNullable(OrderForCalculate::shippingOption), IgnoreNullable(OrderForCalculate::shippingPerson), + AllowNullable(OrderForCalculate::fromOE), AllowNullable(OrderForCalculate.CustomSurcharge::description), AllowNullable(OrderForCalculate.CustomSurcharge::id), AllowNullable(OrderForCalculate.CustomSurcharge::taxable),