Interface TravelCustomerAccountService
- All Superinterfaces:
de.hybris.platform.commerceservices.customer.CustomerAccountService
- All Known Implementing Classes:
DefaultTravelCustomerAccountService
public interface TravelCustomerAccountService
extends de.hybris.platform.commerceservices.customer.CustomerAccountService
This extension of CustomerAccountService provides custom APIs to get customer/order details
-
Method Summary
Modifier and TypeMethodDescriptionfindSavedSearch(String savedSearchID) Finds search saved by current customer based on search reference ID.getAllOrdersList(CustomerModel customerModel, BaseStoreModel store, OrderStatus[] status, SearchPageData searchPageData) Returns the orders of the supplied user and from Order-UserAccount Mapping filtering by OrderStatusgetOrderModelByOriginalOrderCode(String bookingReference, BaseStoreModel baseStoreModel) Gets booking based on booking reference and base store by calling respective Dao methodgetOrdersFromOrderUserMapping(CustomerModel customerModel) Fetches all bookings for the customer where the customer is not an owner but travelinggetOrderUserMapping(String orderCode, CustomerModel customerModel) Returns a particular Order-UserAccount Mapping for the customerMethods inherited from interface de.hybris.platform.commerceservices.customer.CustomerAccountService
changePassword, changeUid, clearDefaultAddressEntry, closeAccount, convertGuestToCustomer, createPaymentSubscription, deleteAddressEntry, deleteCCPaymentInfo, forgottenPassword, getAddressBookDeliveryEntries, getAddressBookEntries, getAddressForCode, getAllAddressEntries, getCreditCardPaymentInfoForCode, getCreditCardPaymentInfos, getDefaultAddress, getGuestOrderForGUID, getOrderDetailsForGUID, getOrderForCode, getOrderForCode, getOrderList, getOrderList, getReturnRequestsByCustomerAndStore, getTitles, register, registerGuestForAnonymousCheckout, saveAddressEntry, setDefaultAddressEntry, setDefaultPaymentInfo, setPopulatingConsentsInSessionEnabled, unlinkCCPaymentInfo, updatePassword, updateProfile
-
Method Details
-
getOrderModelByOriginalOrderCode
Gets booking based on booking reference and base store by calling respective Dao method- Parameters:
bookingReference- the booking referencebaseStoreModel- the base store model- Returns:
- order model by original order code
-
getOrdersFromOrderUserMapping
Fetches all bookings for the customer where the customer is not an owner but traveling- Parameters:
customerModel- the customer model- Returns:
- orders from order user mapping
-
getOrderUserMapping
Returns a particular Order-UserAccount Mapping for the customer- Parameters:
orderCode- the order codecustomerModel- the customer model- Returns:
- order user mapping
-
findSavedSearch
Finds search saved by current customer based on search reference ID.- Parameters:
savedSearchID- the saved search id- Returns:
- savedSearchModel saved search model
-
getAllOrdersList
SearchPageData<OrderModel> getAllOrdersList(CustomerModel customerModel, BaseStoreModel store, OrderStatus[] status, SearchPageData searchPageData) Returns the orders of the supplied user and from Order-UserAccount Mapping filtering by OrderStatus- Parameters:
customerModel- the user to retrieve orders forstore- the current storestatus- one or more OrderStatuses to include in the resultsearchPageData- the searchPageData contains requested pagination and sorting information- Returns:
- the list of orders including order user mapping
-