Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECWID-155668 Add "updateShippingOption" method to ecwid-java-api-client #454

Merged
merged 7 commits into from
Jan 30, 2025
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,
Alexis2004 marked this conversation as resolved.
Show resolved Hide resolved
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>>>
Loading