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 Type
    Method
    Description
    findSavedSearch(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 OrderStatus
    getOrderModelByOriginalOrderCode(String bookingReference, BaseStoreModel baseStoreModel)
    Gets booking based on booking reference and base store by calling respective Dao method
    Fetches all bookings for the customer where the customer is not an owner but traveling
    getOrderUserMapping(String orderCode, CustomerModel customerModel)
    Returns a particular Order-UserAccount Mapping for the customer

    Methods 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

      OrderModel getOrderModelByOriginalOrderCode(String bookingReference, BaseStoreModel baseStoreModel)
      Gets booking based on booking reference and base store by calling respective Dao method
      Parameters:
      bookingReference - the booking reference
      baseStoreModel - the base store model
      Returns:
      order model by original order code
    • getOrdersFromOrderUserMapping

      List<OrderModel> getOrdersFromOrderUserMapping(CustomerModel customerModel)
      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

      OrderUserAccountMappingModel getOrderUserMapping(String orderCode, CustomerModel customerModel)
      Returns a particular Order-UserAccount Mapping for the customer
      Parameters:
      orderCode - the order code
      customerModel - the customer model
      Returns:
      order user mapping
    • findSavedSearch

      SavedSearchModel findSavedSearch(String savedSearchID)
      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 for
      store - the current store
      status - one or more OrderStatuses to include in the result
      searchPageData - the searchPageData contains requested pagination and sorting information
      Returns:
      the list of orders including order user mapping