Skip to content

Commit 6b549fa

Browse files
committed
ECWID-141762 rework StorefrontPlatform to Kotlin and add StorefrontPlatform to NullablePropertyRules
1 parent 21bae0f commit 6b549fa

3 files changed

Lines changed: 20 additions & 19 deletions

File tree

src/main/kotlin/com/ecwid/apiclient/v3/dto/report/enums/StorefrontPlatform.java

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package com.ecwid.apiclient.v3.dto.report.enums
2+
3+
enum class StorefrontPlatform {
4+
undefined,
5+
code,
6+
instantSite,
7+
facebook,
8+
singleProduct,
9+
wix,
10+
linkUp,
11+
email,
12+
ecwidServer,
13+
wordpress,
14+
squarespace,
15+
joomla,
16+
weebly,
17+
duda,
18+
other,
19+
}

src/test/kotlin/com/ecwid/apiclient/v3/rule/NullablePropertyRules.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ val otherNullablePropertyRules: List<NullablePropertyRule<*, *>> = listOf(
8181
AllowNullable(ReportRequest::orderDirection),
8282
AllowNullable(ReportRequest::limit),
8383
AllowNullable(ReportRequest::offset),
84+
AllowNullable(ReportRequest::storefrontPlatform),
8485

8586
AllowNullable(FetchedReportResponse::timeScaleValue),
8687
AllowNullable(FetchedReportResponse::comparePeriod),

0 commit comments

Comments
 (0)