Class OrderBuilder
java.lang.Object
de.hybris.platform.warehousing.util.OrderBuilder
This is a Sourcing order builder implementation of the Builder interface
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OrderBuilderbuild(AddressModel address, CurrencyModel currency, ProductService productService, Map<String, Long> productInfo) build(AddressModel address, CurrencyModel currency, ProductService productService, Map<String, Long> productInfo, PointOfServiceModel pointOfServiceModel, DeliveryModeModel deliveryModeModel) withBaseStore(BaseStoreModel baseStore) withDeliveryGeoCode(double deliveryLatitude, double deliveryLongitude)
-
Field Details
-
DEFAULT_DELIVER_LATITUDE
-
DEFAULT_DELIVER_LONGITDUE
-
DEFAULT_COUNTRY_CODE
- See Also:
-
-
Constructor Details
-
OrderBuilder
public OrderBuilder()
-
-
Method Details
-
aSourcingOrder
-
build
public OrderModel build(AddressModel address, CurrencyModel currency, ProductService productService, Map<String, Long> productInfo) -
build
public OrderModel build(AddressModel address, CurrencyModel currency, ProductService productService, Map<String, Long> productInfo, PointOfServiceModel pointOfServiceModel, DeliveryModeModel deliveryModeModel) -
withDeliveryGeoCode
-
setDefaultUser
-
withBaseStore
-