public class XPFBundleConstituent extends XPFEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
XPFBundleConstituent.XPFBundleConstituentBuilder<C extends XPFBundleConstituent,B extends XPFBundleConstituent.XPFBundleConstituentBuilder<C,B>> |
XPFEntity.XPFEntityBuilder<C extends XPFEntity,B extends XPFEntity.XPFEntityBuilder<C,B>>| Modifier | Constructor and Description |
|---|---|
protected |
XPFBundleConstituent(XPFBundleConstituent.XPFBundleConstituentBuilder<?,?> b) |
|
XPFBundleConstituent(XPFProduct product,
int quantity)
Constructor.
|
|
XPFBundleConstituent(XPFProductSku productSku,
int quantity)
Constructor.
|
|
XPFBundleConstituent(XPFProduct product,
XPFProductSku productSku,
int quantity,
boolean autoSelected) |
| Modifier and Type | Method and Description |
|---|---|
static XPFBundleConstituent.XPFBundleConstituentBuilder<?,?> |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
XPFProduct |
getProduct()
The product that this bundle constituent is linked to.
|
XPFProductSku |
getProductSku()
The product sku that this bundle constituent is linked to.
|
int |
getQuantity()
The quantity of items.
|
int |
hashCode() |
boolean |
isAutoSelected()
Identifies if the constituent was automatically selected.
|
void |
setAutoSelected(boolean autoSelected)
Identifies if the constituent was automatically selected.
|
String |
toString() |
getCustomData, getCustomDataValuepublic XPFBundleConstituent(XPFProduct product, int quantity)
product - the productquantity - the quantity of itemspublic XPFBundleConstituent(XPFProductSku productSku, int quantity)
productSku - the product skuquantity - the quantity of itemsprotected XPFBundleConstituent(XPFBundleConstituent.XPFBundleConstituentBuilder<?,?> b)
public XPFBundleConstituent(XPFProduct product, XPFProductSku productSku, int quantity, boolean autoSelected)
public static XPFBundleConstituent.XPFBundleConstituentBuilder<?,?> builder()
public XPFProduct getProduct()
public XPFProductSku getProductSku()
public int getQuantity()
public boolean isAutoSelected()
public void setAutoSelected(boolean autoSelected)
Copyright © 2026. All rights reserved.