Skip to content

Commit

Permalink
ECWID-153267 - added lang parameter to FetchedOrder and `UpdatedO…
Browse files Browse the repository at this point in the history
…rder` models
  • Loading branch information
aandreww-btw-ecwid committed Nov 26, 2024
1 parent de4559d commit acba3c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ fun FetchedOrder.toUpdated(): UpdatedOrder {
paymentReference = paymentReference,
loyalty = loyalty?.toUpdated(),
customerFiscalCode = customerFiscalCode,
lang = lang,
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ data class UpdatedOrder(
val paymentReference: String? = null,
val loyalty: Loyalty? = null,
val customerFiscalCode: String? = null,
val lang: String? = null,

) : ApiUpdatedDTO {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ data class FetchedOrder(
val shippingLabelAvailableForShipment: Boolean = false,
val loyalty: Loyalty? = null,
val customerFiscalCode: String? = null,
var lang: String? = null,

) : ApiFetchedDTO, ApiResultDTO {

Expand Down

0 comments on commit acba3c2

Please sign in to comment.