public class XPFProductBundle extends XPFProduct
| Constructor and Description |
|---|
XPFProductBundle(String code,
XPFEntitySupplier<Map<Locale,String>> displayNames,
Instant startDate,
Instant endDate,
Set<XPFCategory> categories,
XPFBrand brand,
Map<Locale,Map<String,XPFAttributeValue>> attributeValues,
boolean bundle,
boolean notSoldSeparately,
boolean hidden,
XPFProductType productType,
List<XPFBundleConstituent> constituents,
Long minConstituentSelections,
Long maxConstituentSelections,
XPFEntitySupplier<List<XPFProductSku>> productSkus,
Instant expectedReleaseDate,
XPFBundleTypeEnum bundleType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
@NonNull XPFBundleTypeEnum |
getBundleType()
The bundle type.
|
List<XPFBundleConstituent> |
getConstituents()
The constituent items of this bundle.
|
Long |
getMaxConstituentSelections()
The maximum number of required selections from the bundle constituents.
|
Long |
getMinConstituentSelections()
The minimum number of required selections from the bundle constituents.
|
int |
hashCode() |
String |
toString() |
getAttributeValueByKey, getAttributeValueByKey, getAttributeValues, getBrand, getCategories, getCode, getDisplayName, getDisplayNames, getEndDate, getExpectedReleaseDate, getProductSkus, getProductType, getStartDate, isBundle, isHidden, isNotSoldSeparatelygetCustomDatapublic XPFProductBundle(String code, XPFEntitySupplier<Map<Locale,String>> displayNames, Instant startDate, Instant endDate, Set<XPFCategory> categories, XPFBrand brand, Map<Locale,Map<String,XPFAttributeValue>> attributeValues, boolean bundle, boolean notSoldSeparately, boolean hidden, XPFProductType productType, List<XPFBundleConstituent> constituents, Long minConstituentSelections, Long maxConstituentSelections, XPFEntitySupplier<List<XPFProductSku>> productSkus, Instant expectedReleaseDate, XPFBundleTypeEnum bundleType)
code - the product code.displayNames - the map of locale to display names for this productstartDate - the start date of this product's availabilityendDate - the end date of this product's availabilitycategories - the categories that this product is a member ofbrand - the product brandattributeValues - the attribute values keyed by locale and then by attribute keybundle - whether or not this product is a bundlenotSoldSeparately - whether or not this product is not sold separatelyhidden - whether or not this product is hiddenproductType - the product typeconstituents - the all cart items of shopping cartminConstituentSelections - the minimum number of allowed selections from the bundle constituentsmaxConstituentSelections - the maximum number of allowed selections from the bundle constituentsproductSkus - the list of product skus associated with this bundle wrapped in XPFEntitySupplierexpectedReleaseDate - the expected release datebundleType - the bundle typepublic List<XPFBundleConstituent> getConstituents()
public Long getMinConstituentSelections()
public Long getMaxConstituentSelections()
@NonNull public @NonNull XPFBundleTypeEnum getBundleType()
public String toString()
toString in class XPFProductpublic boolean equals(Object o)
equals in class XPFProductprotected boolean canEqual(Object other)
canEqual in class XPFProductpublic int hashCode()
hashCode in class XPFProductCopyright © 2025. All rights reserved.