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()  | 
String | 
toString()  | 
getCustomDatapublic 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()
Copyright © 2024. All rights reserved.