Skip to content

Commit

Permalink
ECWID-155668 Add "updateShippingOption" method to ecwid-java-api-clie…
Browse files Browse the repository at this point in the history
…nt - (refactor) replace typealias with string
  • Loading branch information
RomanTimchenkoLightspeed committed Jan 22, 2025
1 parent 0d32e13 commit 31cae48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ data class UpdatedShippingOption(
val carrier: String? = null,
val carrierMethods: List<CarrierMethod>? = null,
val carrierSettings: CarrierSettings? = null,
val businessHours: BusinessHours? = null,
val businessHours: String? = null,
val businessHoursLimitationType: ApiBusinessHoursLimitationType? = null,
val allowSameDayDelivery: Boolean? = null,
val deliveryTimeDays: String? = null,
Expand Down Expand Up @@ -121,5 +121,3 @@ data class UpdatedShippingOption(
return ApiUpdatedDTO.ModifyKind.ReadWrite(FetchedShippingOption::class)
}
}

typealias BusinessHours = Map<String, List<List<String>>>
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ data class FetchedShippingOption(
val carrier: String? = null,
val carrierMethods: List<CarrierMethod>? = null,
val carrierSettings: CarrierSettings? = null,
val businessHours: BusinessHours? = null,
val businessHours: String? = null,
val businessHoursLimitationType: ApiBusinessHoursLimitationType? = null,
val allowSameDayDelivery: Boolean? = null,
val deliveryTimeDays: String? = null,
Expand Down Expand Up @@ -122,5 +122,3 @@ data class FetchedShippingOption(
return ApiFetchedDTO.ModifyKind.ReadWrite(UpdatedShippingOption::class)
}
}

typealias BusinessHours = Map<String, List<List<String>>>

0 comments on commit 31cae48

Please sign in to comment.