Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ val nonUpdatablePropertyRules: List<NonUpdatablePropertyRule<*, *>> = 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),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ val fetchedOrderNullablePropertyRules: List<NullablePropertyRule<*, *>> = 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),
Expand Down