public class XPFBundleConstituent extends XPFEntity
Constructor and Description |
---|
XPFBundleConstituent(XPFProduct product,
int quantity)
Constructor.
|
XPFBundleConstituent(XPFProductSku productSku,
int quantity)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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
public XPFBundleConstituent(XPFProduct product, int quantity)
product
- the productquantity
- the quantity of itemspublic XPFBundleConstituent(XPFProductSku productSku, int quantity)
productSku
- the product skuquantity
- the quantity of itemspublic XPFProduct getProduct()
public XPFProductSku getProductSku()
public int getQuantity()
public boolean isAutoSelected()
public void setAutoSelected(boolean autoSelected)
Copyright © 2025. All rights reserved.