public class OrderBuilder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_COUNTRY_CODE |
static java.lang.Double |
DEFAULT_DELIVER_LATITUDE |
static java.lang.Double |
DEFAULT_DELIVER_LONGITDUE |
| Constructor and Description |
|---|
OrderBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static OrderBuilder |
aSourcingOrder() |
OrderModel |
build(AddressModel address,
CurrencyModel currency,
ProductService productService,
java.util.Map<java.lang.String,java.lang.Long> productInfo) |
OrderModel |
build(AddressModel address,
CurrencyModel currency,
ProductService productService,
java.util.Map<java.lang.String,java.lang.Long> productInfo,
PointOfServiceModel pointOfServiceModel,
DeliveryModeModel deliveryModeModel) |
UserModel |
setDefaultUser() |
OrderBuilder |
withBaseStore(BaseStoreModel baseStore) |
OrderBuilder |
withDeliveryGeoCode(double deliveryLatitude,
double deliveryLongitude) |
public static final java.lang.Double DEFAULT_DELIVER_LATITUDE
public static final java.lang.Double DEFAULT_DELIVER_LONGITDUE
public static final java.lang.String DEFAULT_COUNTRY_CODE
public static OrderBuilder aSourcingOrder()
public OrderModel build(AddressModel address, CurrencyModel currency, ProductService productService, java.util.Map<java.lang.String,java.lang.Long> productInfo)
public OrderModel build(AddressModel address, CurrencyModel currency, ProductService productService, java.util.Map<java.lang.String,java.lang.Long> productInfo, PointOfServiceModel pointOfServiceModel, DeliveryModeModel deliveryModeModel)
public OrderBuilder withDeliveryGeoCode(double deliveryLatitude, double deliveryLongitude)
public UserModel setDefaultUser()
public OrderBuilder withBaseStore(BaseStoreModel baseStore)
Copyright © 2018 SAP SE. All Rights Reserved.