Skip to content

Commit de4559d

Browse files
authored
Merge pull request #440 from Ecwid/ECWID-148803
ECWID-148803 New customers: added new field for internal customer api
2 parents 2f94bfe + e76a7eb commit de4559d

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/main/kotlin/com/ecwid/apiclient/v3/dto/extrafield/result/FetchedCustomersConfig.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ data class FetchedCustomersConfig(
1212
val entityTypes: List<ExtrafieldEntityType>? = null,
1313
val type: ExtrafieldType? = null,
1414
val shownOnOrderDetails: Boolean? = null,
15+
val linkedWithCheckoutField: Boolean? = null,
1516
val createdDate: Date? = null,
1617
val lastModifiedDate: Date? = null,
1718
) : ApiFetchedDTO {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ val nonUpdatablePropertyRules: List<NonUpdatablePropertyRule<*, *>> = listOf(
326326
ReadOnly(FetchedInstantSiteRedirect::id),
327327

328328
ReadOnly(FetchedCustomersConfig::entityTypes),
329+
ReadOnly(FetchedCustomersConfig::linkedWithCheckoutField),
329330
ReadOnly(FetchedCustomersConfig::createdDate),
330331
ReadOnly(FetchedCustomersConfig::lastModifiedDate),
331332
)

src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedCustomersConfigRules.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ val fetchedCustomersConfigNullablePropertyRules: List<NullablePropertyRule<*, *>
1010
AllowNullable(FetchedCustomersConfig::entityTypes),
1111
AllowNullable(FetchedCustomersConfig::type),
1212
AllowNullable(FetchedCustomersConfig::shownOnOrderDetails),
13+
AllowNullable(FetchedCustomersConfig::linkedWithCheckoutField),
1314
AllowNullable(FetchedCustomersConfig::createdDate),
1415
AllowNullable(FetchedCustomersConfig::lastModifiedDate),
1516
)

0 commit comments

Comments
 (0)