File tree Expand file tree Collapse file tree
src/main/kotlin/com/ecwid/apiclient/v3/dto Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,7 +64,12 @@ data class OrderForCalculate(
6464 val applicationLimit : DiscountCouponApplicationLimit ? = null ,
6565 val creationDate : Date ? = null ,
6666 val orderCount : Int? = null ,
67- val catalogLimit : DiscountCouponCatalogLimit ? = null
67+ val catalogLimit : DiscountCouponCatalogLimit ? = null ,
68+ val shippingLimit : DiscountCouponShippingLimit ? = null
69+ )
70+
71+ data class DiscountCouponShippingLimit (
72+ val shippingMethods : List <String >? = null
6873 )
6974
7075 data class DiscountCouponCatalogLimit (
Original file line number Diff line number Diff line change @@ -122,7 +122,12 @@ data class CalculateOrderDetailsResult(
122122 val applicationLimit : DiscountCouponApplicationLimit ? = null ,
123123 val creationDate : Date ? = null ,
124124 val orderCount : Int? = null ,
125- val catalogLimit : DiscountCouponCatalogLimit ? = null
125+ val catalogLimit : DiscountCouponCatalogLimit ? = null ,
126+ val shippingLimit : DiscountCouponShippingLimit ? = null
127+ )
128+
129+ data class DiscountCouponShippingLimit (
130+ val shippingMethods : List <String >? = null
126131 )
127132
128133 data class DiscountCouponCatalogLimit (
Original file line number Diff line number Diff line change @@ -163,7 +163,12 @@ data class FetchedOrder(
163163 val updateDate : Date ? = null ,
164164 val orderCount : Int? = null , // TODO Figure out how to test
165165 val catalogLimit : DiscountCouponCatalogLimit ? = null , // TODO Figure out how to test
166- val applicationLimit : DiscountCouponApplicationLimit ? = null // TODO Add to docs?
166+ val applicationLimit : DiscountCouponApplicationLimit ? = null , // TODO Add to docs?
167+ val shippingLimit : DiscountCouponShippingLimit ? = null
168+ )
169+
170+ data class DiscountCouponShippingLimit (
171+ val shippingMethods : List <String >? = null
167172 )
168173
169174 data class DiscountCouponCatalogLimit (
You can’t perform that action at this time.
0 commit comments