diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/order/result/FetchedOrder.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/order/result/FetchedOrder.kt index 73598596..e9907b27 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/order/result/FetchedOrder.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/order/result/FetchedOrder.kt @@ -354,6 +354,7 @@ data class FetchedOrder( val scheduled: Boolean? = null, val scheduledTimePrecisionType: ScheduledTimePrecisionType? = null, val timeSlotLengthInMinutes: Int? = null, + val discountedShippingRate: Double? = null, ) data class HandlingFee( diff --git a/src/test/kotlin/com/ecwid/apiclient/v3/rule/NonUpdatablePropertyRules.kt b/src/test/kotlin/com/ecwid/apiclient/v3/rule/NonUpdatablePropertyRules.kt index c693c203..c62fb21a 100644 --- a/src/test/kotlin/com/ecwid/apiclient/v3/rule/NonUpdatablePropertyRules.kt +++ b/src/test/kotlin/com/ecwid/apiclient/v3/rule/NonUpdatablePropertyRules.kt @@ -231,6 +231,7 @@ val nonUpdatablePropertyRules: List> = listOf( ReadOnly(FetchedOrder.ShippingOption::scheduledTimePrecisionType), ReadOnly(FetchedOrder.ShippingOption::timeSlotLengthInMinutes), ReadOnly(FetchedOrder.ShippingOption::pickupPrecisionType), + ReadOnly(FetchedOrder.ShippingOption::discountedShippingRate), ReadOnly(FetchedOrder.HandlingFee::valueWithoutTax), ReadOnly(FetchedOrder.Surcharge::totalWithoutTax), Ignored(FetchedOrder::refundedAmount), diff --git a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedOrderRules.kt b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedOrderRules.kt index 5e854f8b..9d0c045a 100644 --- a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedOrderRules.kt +++ b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedOrderRules.kt @@ -192,6 +192,7 @@ val fetchedOrderNullablePropertyRules: List> = listOf AllowNullable(FetchedOrder.ShippingOption::scheduledTimePrecisionType), AllowNullable(FetchedOrder.ShippingOption::timeSlotLengthInMinutes), AllowNullable(FetchedOrder.ShippingOption::pickupPrecisionType), + AllowNullable(FetchedOrder.ShippingOption::discountedShippingRate), AllowNullable(FetchedOrder.ShippingServiceInfo::carrier), AllowNullable(FetchedOrder.ShippingServiceInfo::carrierName), AllowNullable(FetchedOrder.ShippingServiceInfo::carrierServiceCode),