Skip to content

Commit 11666b4

Browse files
committed
ECWID-159524 Update additional places
1 parent 253c832 commit 11666b4

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ fun FetchedShippingOption.toUpdated(): UpdatedShippingOption {
2727
pickupInstruction = pickupInstruction,
2828
pickupInstructionTranslated = pickupInstructionTranslated,
2929
scheduledPickup = scheduledPickup,
30+
pickupPrecisionType = pickupPrecisionType,
3031
type = type,
3132
carrier = carrier,
3233
carrierSettings = carrierSettings?.toUpdate(),

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ data class UpdatedShippingOption(
2727
val pickupPreparationTimeHours: Int? = null,
2828
val pickupBusinessHours: String? = null,
2929
val scheduledPickup: Boolean? = null,
30+
val pickupPrecisionType: PickupPrecisionType? = null,
3031
val type: String? = null,
3132
val carrier: String? = null,
3233
val carrierMethods: List<CarrierMethod>? = null,

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ val fetchedShippingOptionNullablePropertyRules: List<NullablePropertyRule<*, *>>
2525
AllowNullable(FetchedShippingOption::pickupInstructionTranslated),
2626
AllowNullable(FetchedShippingOption::pickupBusinessHours),
2727
AllowNullable(FetchedShippingOption::pickupPreparationTimeHours),
28+
AllowNullable(FetchedShippingOption::pickupPrecisionType),
2829
AllowNullable(FetchedShippingOption::type),
2930
AllowNullable(FetchedShippingOption::carrier),
3031
AllowNullable(FetchedShippingOption::carrierSettings),

0 commit comments

Comments
 (0)