Skip to content

Commit 30959e6

Browse files
committed
ECWID-159628 Template market: add timezoneOffsetInMinutes to apigate
1 parent 2d072ce commit 30959e6

8 files changed

Lines changed: 0 additions & 8 deletions

File tree

src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ fun FetchedStoreProfile.FormatsAndUnits.toUpdated(): UpdatedStoreProfile.Formats
204204
dateFormat = dateFormat,
205205
timeFormat = timeFormat,
206206
timezone = timezone,
207-
timezoneOffsetInMinutes = timezoneOffsetInMinutes,
208207
dimensionsUnit = dimensionsUnit?.toUpdated(),
209208
volumeUnit = volumeUnit.toUpdated(),
210209
orderNumberPrefix = orderNumberPrefix,

src/main/kotlin/com/ecwid/apiclient/v3/dto/order/result/FetchedOrder.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,6 @@ data class FetchedOrder(
348348
val isShippingLimit: Boolean? = null,
349349
val scheduled: Boolean? = null,
350350
val scheduledTimePrecisionType: ScheduledTimePrecisionType? = null,
351-
val timeSlotLengthInMinutes: Int? = null,
352351
)
353352

354353
data class HandlingFee(

src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/request/UpdatedStoreProfile.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ data class UpdatedStoreProfile(
180180
val dateFormat: String? = null,
181181
val timeFormat: String? = null,
182182
val timezone: String? = null,
183-
val timezoneOffsetInMinutes: Int? = null,
184183
val dimensionsUnit: DimensionUnit? = null,
185184
val volumeUnit: VolumeUnit? = null,
186185
val orderNumberPrefix: String? = null,

src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ data class FetchedStoreProfile(
214214
val dateFormat: String? = null,
215215
val timeFormat: String? = null,
216216
val timezone: String? = null,
217-
val timezoneOffsetInMinutes: Int? = null,
218217
val dimensionsUnit: DimensionUnit? = null,
219218
val volumeUnit: VolumeUnit = VolumeUnit.ML,
220219
val orderNumberPrefix: String? = null,

src/test/kotlin/com/ecwid/apiclient/v3/entity/StoreProfileTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ class StoreProfileTest : BaseEntityTest() {
105105
dateFormat = "yyyy/MM/dd",
106106
timeFormat = "HH:mm:ss",
107107
timezone = "timezone",
108-
timezoneOffsetInMinutes = 1234567,
109108
dimensionsUnit = UpdatedStoreProfile.DimensionUnit.MM,
110109
volumeUnit = UpdatedStoreProfile.VolumeUnit.L,
111110
orderNumberPrefix = "orderNumberPrefix",

src/test/kotlin/com/ecwid/apiclient/v3/rule/NonUpdatablePropertyRules.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ val nonUpdatablePropertyRules: List<NonUpdatablePropertyRule<*, *>> = listOf(
226226
ReadOnly(FetchedOrder.ShippingOption::isShippingLimit),
227227
ReadOnly(FetchedOrder.ShippingOption::scheduled),
228228
ReadOnly(FetchedOrder.ShippingOption::scheduledTimePrecisionType),
229-
ReadOnly(FetchedOrder.ShippingOption::timeSlotLengthInMinutes),
230229
ReadOnly(FetchedOrder.HandlingFee::valueWithoutTax),
231230
ReadOnly(FetchedOrder.Surcharge::totalWithoutTax),
232231
Ignored(FetchedOrder::refundedAmount),

src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedOrderRules.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ val fetchedOrderNullablePropertyRules: List<NullablePropertyRule<*, *>> = listOf
187187
AllowNullable(FetchedOrder.ShippingOption::localizedLabel),
188188
AllowNullable(FetchedOrder.ShippingOption::scheduled),
189189
AllowNullable(FetchedOrder.ShippingOption::scheduledTimePrecisionType),
190-
AllowNullable(FetchedOrder.ShippingOption::timeSlotLengthInMinutes),
191190
AllowNullable(FetchedOrder.ShippingServiceInfo::carrier),
192191
AllowNullable(FetchedOrder.ShippingServiceInfo::carrierName),
193192
AllowNullable(FetchedOrder.ShippingServiceInfo::carrierServiceCode),

src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
193193
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::orderNumberSuffix),
194194
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::timeFormat),
195195
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::timezone),
196-
AllowNullable(FetchedStoreProfile.FormatsAndUnits::timezoneOffsetInMinutes),
197196
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::weightDecimalSeparator),
198197
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::weightGroupSeparator),
199198
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::weightPrecision),

0 commit comments

Comments
 (0)