Skip to content

Commit fcd03b1

Browse files
author
mvgreen
committed
Fix spacing in CustomAppRequest
1 parent da3f652 commit fcd03b1

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/main/kotlin/com/ecwid/apiclient/v3/dto/custom/CustomAppRequest.kt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,10 @@ data class CustomAppRequest(
223223
val applicationLimit: DiscountCouponApplicationLimit? = null,
224224
val creationDate: Date? = null,
225225
val orderCount: Int? = null,
226-
@Deprecated("This field is added for backward compatibility only. Don't use it.", replaceWith = ReplaceWith("catalogLimit"))
226+
@Deprecated(
227+
"This field is added for backward compatibility only. Don't use it.",
228+
replaceWith = ReplaceWith("catalogLimit")
229+
)
227230
val legacyCatalogLimit: DiscountCouponCatalogLimit? = null,
228231
val catalogLimit: DiscountCouponCatalogLimit? = null,
229232
val repeatCustomerOnly: Boolean? = null,
@@ -279,9 +282,9 @@ data class CustomAppRequest(
279282
override val type: AttributeType? = null,
280283
override val value: String? = null,
281284
override val show: AttributeValueLocation? = null
282-
): FetchedAttributeValue {
285+
) : FetchedAttributeValue {
283286

284-
fun Collection<FetchedAttributeValue>.otOrderAttributeList() = this.map { it as AttributeValue}
287+
fun Collection<FetchedAttributeValue>.otOrderAttributeList() = this.map { it as AttributeValue }
285288

286289
}
287290

0 commit comments

Comments
 (0)