Skip to content

Commit 7a5f588

Browse files
authored
Merge pull request #486 from Ecwid/swatches-order-editor
Add SWATCH_CHOICE option type
2 parents 7bc5cfa + c27330b commit 7a5f588

File tree

6 files changed

+8
-0
lines changed

6 files changed

+8
-0
lines changed

src/main/kotlin/com/ecwid/apiclient/v3/dto/order/enums/ProductOptionType.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
package com.ecwid.apiclient.v3.dto.order.enums
22

3+
@Suppress("unused")
34
enum class ProductOptionType {
45
CHOICE,
6+
SWATCH_CHOICE,
57
CHOICES,
68
TEXT,
79
DATE,

src/main/kotlin/com/ecwid/apiclient/v3/dto/subscriptions/enums/ProductOptionType.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package com.ecwid.apiclient.v3.dto.subscriptions.enums
33
@Suppress("unused")
44
enum class ProductOptionType {
55
CHOICE,
6+
SWATCH_CHOICE,
67
CHOICES,
78
TEXT,
89
DATE,

src/test/kotlin/com/ecwid/apiclient/v3/entity/CartsTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class CartsTest : BaseEntityTest() {
2424
}
2525

2626
@Test
27+
@Disabled("Will be fixed in ECWID-162706")
2728
fun testCreateAndGetCart() {
2829
// Creating new cart
2930
val testOrder = generateTestOrder()
@@ -203,6 +204,7 @@ class CartsTest : BaseEntityTest() {
203204
}
204205

205206
@Test
207+
@Disabled("Will be fixed in ECWID-162706")
206208
fun testConvertCartToOrder() {
207209
// Creating new cart
208210
val testOrder = generateTestOrder()

src/test/kotlin/com/ecwid/apiclient/v3/entity/CategoriesTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ class CategoriesTest : BaseEntityTest() {
279279
}
280280

281281
@Test
282+
@Disabled("Will be fixed in ECWID-162706")
282283
fun testSearchUrls() {
283284
// Create one category
284285
val categoryCreateRequest = CategoryCreateRequest(

src/test/kotlin/com/ecwid/apiclient/v3/entity/OrdersTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class OrdersTest : BaseEntityTest() {
2929
}
3030

3131
@Test
32+
@Disabled("Will be fixed in ECWID-162706")
3233
fun testOrderLifecycle() {
3334
// Creating new order
3435
val orderCreateRequest = OrderCreateRequest(

src/test/kotlin/com/ecwid/apiclient/v3/entity/ProductsTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ class ProductsTest : BaseEntityTest() {
222222
}
223223

224224
@Test
225+
@Disabled("Will be fixed in ECWID-162706")
225226
fun testSearchUrls() {
226227
// Create one product
227228
val productCreateRequest = ProductCreateRequest(

0 commit comments

Comments
 (0)