org.broadleafcommerce.core.pricing.service.fulfillment
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
address
protected Address address
SimpleFulfillmentLocationResolver
public SimpleFulfillmentLocationResolver()
resolveLocationForFulfillmentGroup
public Address resolveLocationForFulfillmentGroup(FulfillmentGroup group)
- Description copied from interface:
FulfillmentLocationResolver
- This method should give an
Address that a particular FulfillmentGroup will
be fulfilled from. Implementations could store this information in the database or integrate
with an existing warehouse solution.
- Specified by:
resolveLocationForFulfillmentGroup in interface FulfillmentLocationResolver
- Returns:
- the
Address that group should be fulfilled from
getAddress
public Address getAddress()
setAddress
public void setAddress(Address address)
Copyright © 2013. All Rights Reserved.