Slide 6
Slide 6 text
public class Api {
public List doSearch(
String deviceToken
// other parameters
) {
String customerId = getCustomerIdFromSessionToken(deviceToken);
// Do something and returns the search
return ArrayList();
}
private String getCustomerIdFromSessionToken(String authToken) {
// Retrieve the customer through the user session
return "CustomerId";
}
}