public class SimpleFulfillmentLocationResolver extends Object implements FulfillmentLocationResolver
FulfillmentLocationResolver that stores a
single Address. Useful for businesses that do not have a complicated warehouse solution
and fulfill from a single location.| Modifier and Type | Field and Description |
|---|---|
protected OrderAddress |
address |
| Constructor and Description |
|---|
SimpleFulfillmentLocationResolver() |
| Modifier and Type | Method and Description |
|---|---|
OrderAddress |
getAddress() |
OrderAddress |
resolveLocationForFulfillmentGroup(FulfillmentGroup group)
This method should give an
OrderAddress that a particular FulfillmentGroup will
be fulfilled from. |
void |
setAddress(OrderAddress address) |
protected OrderAddress address
public OrderAddress resolveLocationForFulfillmentGroup(FulfillmentGroup group)
FulfillmentLocationResolverOrderAddress that a particular FulfillmentGroup will
be fulfilled from. Implementations could store this information in the database or integrate
with an existing warehouse solution.resolveLocationForFulfillmentGroup in interface FulfillmentLocationResolverOrderAddress that group should be fulfilled frompublic OrderAddress getAddress()
public void setAddress(OrderAddress address)
Copyright © 2017. All rights reserved.