File tree Expand file tree Collapse file tree
src/main/kotlin/com/ecwid/apiclient/v3/dto/report Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ package com .ecwid .apiclient .v3 .dto .report .enums ;
2+
3+ public enum StorefrontPlatform {
4+ undefined ,
5+ code ,
6+ instantSite ,
7+ facebook ,
8+ singleProduct ,
9+ wix ,
10+ linkUp ,
11+ email ,
12+ ecwidServer ,
13+ wordpress ,
14+ squarespace ,
15+ joomla ,
16+ weebly ,
17+ duda ,
18+ other ,
19+ }
Original file line number Diff line number Diff line change 11package com.ecwid.apiclient.v3.dto.report.request
22
33import com.ecwid.apiclient.v3.dto.ApiRequest
4- import com.ecwid.apiclient.v3.dto.report.enums.ComparePeriod
5- import com.ecwid.apiclient.v3.dto.report.enums.FirstDayOfWeek
6- import com.ecwid.apiclient.v3.dto.report.enums.ReportType
7- import com.ecwid.apiclient.v3.dto.report.enums.TimeScaleValue
4+ import com.ecwid.apiclient.v3.dto.report.enums.*
85import com.ecwid.apiclient.v3.impl.RequestInfo
96import com.ecwid.apiclient.v3.responsefields.ResponseFields
107
@@ -20,6 +17,7 @@ data class ReportRequest(
2017 val limit : Int? = null ,
2118 val offset : Int? = null ,
2219 val responseFields : ResponseFields = ResponseFields .All ,
20+ val storefrontPlatform : StorefrontPlatform ? = null ,
2321) : ApiRequest {
2422
2523 override fun toRequestInfo () = RequestInfo .createGetRequest(
@@ -42,6 +40,7 @@ data class ReportRequest(
4240 orderDirection?.let { put(" orderDirection" , it) }
4341 limit?.let { put(" limit" , it.toString()) }
4442 offset?.let { put(" offset" , it.toString()) }
43+ storefrontPlatform?.let { put(" storefrontPlatform" , it.toString()) }
4544 }.toMap()
4645 }
4746
You can’t perform that action at this time.
0 commit comments