public class XPFProductSkuOption extends XPFEntity
Constructor and Description |
---|
XPFProductSkuOption(@NonNull String key,
@NonNull XPFEntitySupplier<Map<Locale,String>> displayNames) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Optional<String> |
getDisplayName(Locale locale)
Get localized display name for a locale with fallback behavior.
|
Map<Locale,String> |
getDisplayNames()
Get the display names.
|
@NonNull String |
getKey()
The product sku option key.
|
int |
hashCode() |
String |
toString() |
getCustomData
public XPFProductSkuOption(@NonNull @NonNull String key, @NonNull @NonNull XPFEntitySupplier<Map<Locale,String>> displayNames)
@LazyLoaded public Map<Locale,String> getDisplayNames()
public Optional<String> getDisplayName(Locale locale)
locale
- The locale to get a display name for.@NonNull public @NonNull String getKey()
Copyright © 2025. All rights reserved.