Skip to content

Commit acba3c2

Browse files
ECWID-153267 - added lang parameter to FetchedOrder and UpdatedOrder models
1 parent de4559d commit acba3c2

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedOrder.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ fun FetchedOrder.toUpdated(): UpdatedOrder {
9393
paymentReference = paymentReference,
9494
loyalty = loyalty?.toUpdated(),
9595
customerFiscalCode = customerFiscalCode,
96+
lang = lang,
9697
)
9798
}
9899

src/main/kotlin/com/ecwid/apiclient/v3/dto/order/request/UpdatedOrder.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ data class UpdatedOrder(
9797
val paymentReference: String? = null,
9898
val loyalty: Loyalty? = null,
9999
val customerFiscalCode: String? = null,
100+
val lang: String? = null,
100101

101102
) : ApiUpdatedDTO {
102103

src/main/kotlin/com/ecwid/apiclient/v3/dto/order/result/FetchedOrder.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ data class FetchedOrder(
119119
val shippingLabelAvailableForShipment: Boolean = false,
120120
val loyalty: Loyalty? = null,
121121
val customerFiscalCode: String? = null,
122+
var lang: String? = null,
122123

123124
) : ApiFetchedDTO, ApiResultDTO {
124125

0 commit comments

Comments
 (0)