Interface OrderImport

All Known Implementing Classes:
OrderImportImpl

public interface OrderImport

The data representation for an Order to be imported that is persisted as an Order in the Project.

In commercetools, you can import an Order using the Create Order by Import endpoint method instead of creating it from a Cart.

An OrderImport is a snapshot of an order at the time it was imported.


Example to create an instance using the builder pattern

     OrderImport orderImport = OrderImport.builder()
             .orderNumber("{orderNumber}")
             .totalPrice(totalPriceBuilder -> totalPriceBuilder)
             .build()