public class GiftWithPurchaseSelectionChoice
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
protected RepositoryItem |
mProduct |
protected java.util.Collection<RepositoryItem> |
mSkus |
Constructor and Description |
---|
GiftWithPurchaseSelectionChoice() |
Modifier and Type | Method and Description |
---|---|
void |
addAllSkus(java.util.Collection<RepositoryItem> pSkus)
Adds a collection of SKUs for this selection choice
|
void |
addSku(RepositoryItem pSku)
Adds a SKU to the collection for this selection choice.
|
RepositoryItem |
getProduct()
Getter for the product item
|
int |
getSkuCount()
Gets a count of the SKUs available for selection.
|
java.util.Collection<RepositoryItem> |
getSkus()
Getter for the collection of child sku items.
|
void |
removeSku(RepositoryItem pSku)
Removes a SKU from the collection for this selection choice.
|
void |
setProduct(RepositoryItem pProduct)
Setter for the product item
|
java.lang.String |
toString() |
public static final java.lang.String CLASS_VERSION
protected RepositoryItem mProduct
protected java.util.Collection<RepositoryItem> mSkus
public RepositoryItem getProduct()
public void setProduct(RepositoryItem pProduct)
pProduct
- RepositoryItempublic java.util.Collection<RepositoryItem> getSkus()
public void addSku(RepositoryItem pSku)
pSku
- RepositoryItempublic void removeSku(RepositoryItem pSku)
pSku
- RepositoryItempublic void addAllSkus(java.util.Collection<RepositoryItem> pSkus)
pSkus
- Collection of RepositoryItempublic int getSkuCount()
public java.lang.String toString()
toString
in class java.lang.Object