diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/customer/result/FetchedCustomer.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/customer/result/FetchedCustomer.kt index a8465e7c3..cfb433108 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/customer/result/FetchedCustomer.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/customer/result/FetchedCustomer.kt @@ -6,6 +6,7 @@ import com.ecwid.apiclient.v3.dto.customer.enums.CommercialRelationshipScheme import com.ecwid.apiclient.v3.dto.customer.request.UpdatedCustomer import com.ecwid.apiclient.v3.jsontransformer.JsonFieldName import java.util.* +import kotlin.collections.ArrayList data class FetchedCustomer( val id: Int = 0, @@ -24,7 +25,7 @@ data class FetchedCustomer( val lang: String? = null, val stats: CustomerStats? = null, val privateAdminNotes: String? = null, - var favorites: List, + var favorites: List = ArrayList(), @JsonFieldName("b2b_b2c") val commercialRelationshipScheme: CommercialRelationshipScheme = CommercialRelationshipScheme.b2c,