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 844f9a2aa..1cd12d322 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 @@ -51,7 +51,9 @@ data class FetchedStoreProfile( val accountNickName: String? = null, val accountEmail: String? = null, val availableFeatures: List? = null, - val whiteLabel: Boolean? = null + val whiteLabel: Boolean? = null, + val brandName: String? = null, + val supportEmail: String? = null ) data class Settings( diff --git a/src/test/kotlin/com/ecwid/apiclient/v3/rule/NonUpdatablePropertyRules.kt b/src/test/kotlin/com/ecwid/apiclient/v3/rule/NonUpdatablePropertyRules.kt index 0e3dd32f5..605c54ac0 100644 --- a/src/test/kotlin/com/ecwid/apiclient/v3/rule/NonUpdatablePropertyRules.kt +++ b/src/test/kotlin/com/ecwid/apiclient/v3/rule/NonUpdatablePropertyRules.kt @@ -190,6 +190,8 @@ val nonUpdatablePropertyRules: List> = listOf( Ignored(FetchedStoreProfile.InstantSiteInfo::storeLogoUrl), Ignored(FetchedStoreProfile.Account::availableFeatures), Ignored(FetchedStoreProfile.Account::whiteLabel), + ReadOnly(FetchedStoreProfile.Account::brandName), + ReadOnly(FetchedStoreProfile.Account::supportEmail), Ignored(FetchedStoreProfile.Settings::invoiceLogoUrl), Ignored(FetchedStoreProfile.Settings::emailLogoUrl), Ignored(FetchedStoreProfile.FormatsAndUnits::currencyPrecision), 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 b378d4f7f..f049d7140 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 @@ -31,6 +31,8 @@ val fetchedStoreProfileNullablePropertyRules: List> = IgnoreNullable(FetchedStoreProfile.Account::accountNickName), IgnoreNullable(FetchedStoreProfile.Account::availableFeatures), IgnoreNullable(FetchedStoreProfile.Account::whiteLabel), + AllowNullable(FetchedStoreProfile.Account::brandName), + AllowNullable(FetchedStoreProfile.Account::supportEmail), IgnoreNullable(FetchedStoreProfile.ApplePay::gateway), IgnoreNullable(FetchedStoreProfile.ApplePay::verificationFileUrl), IgnoreNullable(FetchedStoreProfile.BusinessRegistrationID::name),