Skip to content

Commit dd62fe3

Browse files
authored
Merge pull request #407 from Ecwid/ECWID_139752
ECWID-139752 New Reports: addToCartConversion report internal api: ch…
2 parents c3f5242 + 70c8c39 commit dd62fe3

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/main/kotlin/com/ecwid/apiclient/v3/dto/report/result/FetchedReportResponse.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,11 @@ data class FetchedReportResponse(
6767

6868
data class AdditionalProductData(
6969
val productName: String? = null,
70-
val productSmallThumbnailUrl: String? = null,
7170
val productUrl: String? = null,
7271
val productEditUrl: String? = null,
72+
val productSku: String? = null,
73+
val productImageUrl: String? = null,
74+
val productThumbnailUrl: String? = null,
7375
) : FetchedAdditionalData(AdditionalDataType.PRODUCT)
7476

7577
data class AdditionalCouponData(

src/test/kotlin/com/ecwid/apiclient/v3/rule/NullablePropertyRules.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,11 @@ val otherNullablePropertyRules: List<NullablePropertyRule<*, *>> = listOf(
112112
AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalInventoryData::exampleOrder),
113113

114114
AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalProductData::productName),
115-
AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalProductData::productSmallThumbnailUrl),
116115
AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalProductData::productUrl),
117116
AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalProductData::productEditUrl),
117+
AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalProductData::productSku),
118+
AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalProductData::productImageUrl),
119+
AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalProductData::productThumbnailUrl),
118120

119121
AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalCouponData::couponName),
120122

0 commit comments

Comments
 (0)