public class XPFProductBundle extends XPFProduct
| Modifier and Type | Class and Description |
|---|---|
static class |
XPFProductBundle.XPFProductBundleBuilder<C extends XPFProductBundle,B extends XPFProductBundle.XPFProductBundleBuilder<C,B>> |
XPFProduct.XPFProductBuilder<C extends XPFProduct,B extends XPFProduct.XPFProductBuilder<C,B>>XPFEntity.XPFEntityBuilder<C extends XPFEntity,B extends XPFEntity.XPFEntityBuilder<C,B>>| Modifier | Constructor and Description |
|---|---|
|
XPFProductBundle(String code,
XPFEntitySupplier<Map<Locale,String>> displayNames,
Instant startDate,
Instant endDate,
XPFProductType productType,
Set<XPFCategory> categories,
Map<Locale,Map<String,XPFAttributeValue>> attributeValues,
boolean bundle,
boolean notSoldSeparately,
boolean hidden,
Instant expectedReleaseDate,
XPFEntitySupplier<List<XPFProductSku>> productSkus,
XPFBrand brand,
XPFEntitySupplier<List<XPFAgreement>> agreements,
List<XPFBundleConstituent> constituents,
Long minConstituentSelections,
Long maxConstituentSelections,
XPFBundleTypeEnum bundleType)
Constructor.
|
protected |
XPFProductBundle(XPFProductBundle.XPFProductBundleBuilder<?,?> b) |
| Modifier and Type | Method and Description |
|---|---|
static XPFProductBundle.XPFProductBundleBuilder<?,?> |
builder() |
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() |
getAgreements, getAttributeValueByKey, getAttributeValueByKey, getAttributeValues, getBrand, getCategories, getCode, getDisplayName, getDisplayNames, getEndDate, getExpectedReleaseDate, getProductSkus, getProductType, getStartDate, isBundle, isHidden, isNotSoldSeparatelygetCustomData, getCustomDataValuepublic XPFProductBundle(String code, XPFEntitySupplier<Map<Locale,String>> displayNames, Instant startDate, Instant endDate, XPFProductType productType, Set<XPFCategory> categories, Map<Locale,Map<String,XPFAttributeValue>> attributeValues, boolean bundle, boolean notSoldSeparately, boolean hidden, Instant expectedReleaseDate, XPFEntitySupplier<List<XPFProductSku>> productSkus, XPFBrand brand, XPFEntitySupplier<List<XPFAgreement>> agreements, List<XPFBundleConstituent> constituents, Long minConstituentSelections, Long maxConstituentSelections, 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 ofattributeValues - 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 XPFEntitySupplierbrand - the product brandagreements - the available product agreementsexpectedReleaseDate - the expected release datebundleType - the bundle typeprotected XPFProductBundle(XPFProductBundle.XPFProductBundleBuilder<?,?> b)
public static XPFProductBundle.XPFProductBundleBuilder<?,?> builder()
public 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 © 2026. All rights reserved.