I am creating a new UserPriceGroup, programmatically in the service layer (extension of DefaultCustomerAccountService).
final UserPriceGroup newPriceGroup = UserPriceGroup.valueOf(codeNumber); customer.getDefaultB2BUnit().setUserPriceGroup(newPriceGroup);
I want to set the localized name for the new UserPriceGroup. It is an enum type, so it is not clear to me how to set that localized english name, programmatically, so it shows as such in the HMC Localized name Properties.
Any suggestions? Thank You