public class XPFProductSkuOptionValue extends XPFEntity
Constructor and Description |
---|
XPFProductSkuOptionValue(@NonNull String key,
@NonNull Map<Locale,String> displayNames,
@NonNull XPFProductSkuOption productSkuOption) |
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.
|
@NonNull Map<Locale,String> |
getDisplayNames()
The product sku option value display name.
|
@NonNull String |
getKey()
The product sku option value key.
|
@NonNull XPFProductSkuOption |
getProductSkuOption()
The product sku option that this value belongs to.
|
int |
hashCode() |
String |
toString() |
getCustomData
public XPFProductSkuOptionValue(@NonNull @NonNull String key, @NonNull @NonNull Map<Locale,String> displayNames, @NonNull @NonNull XPFProductSkuOption productSkuOption)
public Optional<String> getDisplayName(Locale locale)
locale
- The locale to get a display name for.@NonNull public @NonNull String getKey()
@NonNull public @NonNull Map<Locale,String> getDisplayNames()
@NonNull public @NonNull XPFProductSkuOption getProductSkuOption()
Copyright © 2024. All rights reserved.