File tree Expand file tree Collapse file tree
src/main/kotlin/com/ecwid/apiclient/v3/dto/customer/result Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import com.ecwid.apiclient.v3.dto.customer.enums.CommercialRelationshipScheme
66import com.ecwid.apiclient.v3.dto.customer.request.UpdatedCustomer
77import com.ecwid.apiclient.v3.jsontransformer.JsonFieldName
88import java.util.*
9+ import kotlin.collections.ArrayList
910
1011data class FetchedCustomer (
1112 val id : Int = 0 ,
@@ -24,7 +25,7 @@ data class FetchedCustomer(
2425 val lang : String? = null ,
2526 val stats : CustomerStats ? = null ,
2627 val privateAdminNotes : String? = null ,
27- var favorites : List <CustomerFavorite >,
28+ var favorites : List <CustomerFavorite > = ArrayList () ,
2829
2930 @JsonFieldName(" b2b_b2c" )
3031 val commercialRelationshipScheme : CommercialRelationshipScheme = CommercialRelationshipScheme .b2c,
You can’t perform that action at this time.
0 commit comments