From c8c4452f3e8d9684f8c3d72c973ac5ec0730fc85 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Mon, 15 Sep 2025 18:16:02 +0300 Subject: [PATCH] ECWID-170845 add outlets settings to FetchedStoreProfile.kt --- .../apiclient/v3/dto/profile/result/FetchedStoreProfile.kt | 4 +++- .../v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt index 69fb7780..1d7d4641 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt @@ -243,7 +243,9 @@ data class FetchedStoreProfile( data class Shipping( val handlingFee: HandlingFee? = null, val shippingOrigin: ShippingOrigin? = null, - val shippingOptions: List? = null + val shippingOptions: List? = null, + val showOutlets: Boolean? = null, + val showProductsQuantity: Boolean? = null, ) data class HandlingFee( diff --git a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt index 808a2677..de77c963 100644 --- a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt +++ b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt @@ -304,6 +304,8 @@ val fetchedStoreProfileNullablePropertyRules: List> = IgnoreNullable(FetchedStoreProfile.Shipping::handlingFee), IgnoreNullable(FetchedStoreProfile.Shipping::shippingOptions), IgnoreNullable(FetchedStoreProfile.Shipping::shippingOrigin), + IgnoreNullable(FetchedStoreProfile.Shipping::showOutlets), + IgnoreNullable(FetchedStoreProfile.Shipping::showProductsQuantity), IgnoreNullable(FetchedStoreProfile.ShippingOrigin::city), IgnoreNullable(FetchedStoreProfile.ShippingOrigin::companyName), IgnoreNullable(FetchedStoreProfile.ShippingOrigin::countryCode),