Class SimpleFulfillmentLocationResolver
java.lang.Object
org.broadleafcommerce.core.pricing.service.fulfillment.SimpleFulfillmentLocationResolver
- All Implemented Interfaces:
FulfillmentLocationResolver
public class SimpleFulfillmentLocationResolver
extends Object
implements FulfillmentLocationResolver
Default implementation of
FulfillmentLocationResolver that stores a
single Address. Useful for businesses that do not have a complicated warehouse solution
and fulfill from a single location.- Author:
- Phillip Verheyden
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method should give anAddressthat a particularFulfillmentGroupwill be fulfilled from.voidsetAddress(Address address)
-
Field Details
-
address
-
-
Constructor Details
-
SimpleFulfillmentLocationResolver
public SimpleFulfillmentLocationResolver()
-
-
Method Details
-
resolveLocationForFulfillmentGroup
Description copied from interface:FulfillmentLocationResolverThis method should give anAddressthat a particularFulfillmentGroupwill be fulfilled from. Implementations could store this information in the database or integrate with an existing warehouse solution.- Specified by:
resolveLocationForFulfillmentGroupin interfaceFulfillmentLocationResolver- Returns:
- the
Addressthat group should be fulfilled from
-
getAddress
-
setAddress
-