File tree Expand file tree Collapse file tree
main/kotlin/com/ecwid/apiclient/v3/dto/cart
test/kotlin/com/ecwid/apiclient/v3/entity Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ data class OrderForCalculate(
7373 )
7474
7575 data class OrderItem (
76- val id : Int ? = null ,
76+ val id : Long ? = null ,
7777
7878 val productId : Int? = null ,
7979 val categoryId : Int? = null ,
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ data class CalculateOrderDetailsResult(
131131 )
132132
133133 data class OrderItem (
134- val id : Int ? = null ,
134+ val id : Long ? = null ,
135135
136136 val productId : Int? = null ,
137137 val categoryId : Int? = null ,
Original file line number Diff line number Diff line change @@ -477,7 +477,7 @@ class CartsTest : BaseEntityTest() {
477477
478478 private fun generateTestItem (): OrderForCalculate .OrderItem {
479479 return OrderForCalculate .OrderItem (
480- id = randomId(),
480+ id = randomId().toLong() ,
481481 productId = randomId(),
482482 categoryId = randomId(),
483483 price = 22.2 ,
You can’t perform that action at this time.
0 commit comments