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 CheckoutCustomerStrategygetCheckoutCustomerStrategy()protected CustomerAccountServicegetCustomerAccountService()java.util.List<AddressModel>getDeliveryAddressesForOrder(AbstractOrderModel abstractOrder, boolean visibleAddressesOnly)Gets the list of delivery addresses for an ordervoidsetCheckoutCustomerStrategy(CheckoutCustomerStrategy checkoutCustomerStrategy)voidsetCustomerAccountService(CustomerAccountService customerAccountService)
-
-
-
Method Detail
-
getDeliveryAddressesForOrder
public java.util.List<AddressModel> getDeliveryAddressesForOrder(AbstractOrderModel abstractOrder, boolean visibleAddressesOnly)
Description copied from interface:DeliveryAddressesLookupStrategyGets the list of delivery addresses for an order- Specified by:
getDeliveryAddressesForOrderin 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)
-
-