Skip to Content
0
Former Member
Jan 29, 2017 at 02:07 PM

get user address details

277 Views

in hybris 5.7 : I have a register user with address in his address book (in my account). In some Populator I'm trying to retrieve this address like this :

final UserModel um = defaultUserService.getUserForUID(orderModel.getUserId()); final Collection col = um.getAddresses();

I'm getting the UserModel and the Addresses , and in the Collection there is one address record - not null , but all the address fields are empty - I don't see the user address details.