Class DefaultDeliveryAddressesLookupStrategy
- java.lang.Object
-
- de.hybris.platform.commerceservices.strategies.impl.DefaultDeliveryAddressesLookupStrategy
-
- All Implemented Interfaces:
DeliveryAddressesLookupStrategy
public class DefaultDeliveryAddressesLookupStrategy extends java.lang.Object implements DeliveryAddressesLookupStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultDeliveryAddressesLookupStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CheckoutCustomerStrategy
getCheckoutCustomerStrategy()
protected CustomerAccountService
getCustomerAccountService()
java.util.List<AddressModel>
getDeliveryAddressesForOrder(AbstractOrderModel abstractOrder, boolean visibleAddressesOnly)
Gets the list of delivery addresses for an ordervoid
setCheckoutCustomerStrategy(CheckoutCustomerStrategy checkoutCustomerStrategy)
void
setCustomerAccountService(CustomerAccountService customerAccountService)
-
-
-
Method Detail
-
getDeliveryAddressesForOrder
public java.util.List<AddressModel> getDeliveryAddressesForOrder(AbstractOrderModel abstractOrder, boolean visibleAddressesOnly)
Description copied from interface:DeliveryAddressesLookupStrategy
Gets the list of delivery addresses for an order- Specified by:
getDeliveryAddressesForOrder
in interfaceDeliveryAddressesLookupStrategy
- Parameters:
abstractOrder
- the ordervisibleAddressesOnly
- include only the visible addresses- Returns:
- A list of delivery address for an order.
-
getCustomerAccountService
protected CustomerAccountService getCustomerAccountService()
-
setCustomerAccountService
public void setCustomerAccountService(CustomerAccountService customerAccountService)
-
getCheckoutCustomerStrategy
protected CheckoutCustomerStrategy getCheckoutCustomerStrategy()
-
setCheckoutCustomerStrategy
public void setCheckoutCustomerStrategy(CheckoutCustomerStrategy checkoutCustomerStrategy)
-
-