Skip to content

Commit

Permalink
ECWID-131152 (ECWID-132021) - add default values
Browse files Browse the repository at this point in the history
  • Loading branch information
mplain committed Dec 19, 2023
1 parent 63d26b0 commit b46a134
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import com.ecwid.apiclient.v3.httptransport.HttpBody
import com.ecwid.apiclient.v3.impl.RequestInfo

data class UpdateProductLocationInventory(
val productId: Int,
val locationInventory: Map<String, Int>,
val productId: Int = 0,
val locationInventory: Map<String, Int> = emptyMap(),
val checkLowStockNotification: Boolean = false,
) : ApiRequest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import com.ecwid.apiclient.v3.httptransport.HttpBody
import com.ecwid.apiclient.v3.impl.RequestInfo

data class UpdateVariationLocationInventory(
val productId: Int,
val variationId: Int,
val locationInventory: Map<String, Int>,
val productId: Int = 0,
val variationId: Int = 0,
val locationInventory: Map<String, Int> = emptyMap(),
val checkLowStockNotification: Boolean = false,
) : ApiRequest {

Expand Down

0 comments on commit b46a134

Please sign in to comment.