public class SubSkuCommerceItem extends CommerceItemImpl implements atg.commerce.order.ConfigurableSubCommerceItem
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
mAuxiliaryData| Constructor and Description |
|---|
SubSkuCommerceItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCostCenterRelationship(CostCenterRelationship pCostCenterRelationship)
Add the CostCenterRelationship to the container.
|
void |
addCostCenterRelationship(CostCenterRelationship pCostCenterRelationship,
int pIndex)
Add the CostCenterRelationship to the container at the given index.
|
void |
addPaymentGroupRelationship(PaymentGroupRelationship pPaymentGroupRelationship)
Add the PaymentGroupRelationship to the container.
|
void |
addPaymentGroupRelationship(PaymentGroupRelationship pPaymentGroupRelationship,
int pIndex)
Add the PaymentGroupRelationship to the container at the given index.
|
void |
addShippingGroupRelationship(ShippingGroupRelationship pShippingGroupRelationship)
Add the ShippingGroupRelationship to the container.
|
void |
addShippingGroupRelationship(ShippingGroupRelationship pShippingGroupRelationship,
int pIndex)
Add the ShippingGroupRelationship to the container at the given index.
|
java.lang.String |
getConfigurablePropertyId()
Returns the ID of the catalog's configurableProperty associated with this CommerceItem.
|
java.lang.String |
getConfigurationOptionId()
Returns the ID of the catalog's configurationOption associated with this CommerceItem.
|
CostCenterRelationship |
getCostCenterRelationship(java.lang.String pCostCenterRelationshipId)
Returns the CostCenterRelationship whose id is pCostCenterRelationshipId.
|
int |
getCostCenterRelationshipCount()
Returns the number of CostCenterRelationships in the container.
|
java.util.List |
getCostCenterRelationships()
Returns a List of CostCenterRelationships
|
long |
getIndividualQuantity()
Deprecated.
Use the quantity property.
|
PaymentGroupRelationship |
getPaymentGroupRelationship(java.lang.String pPaymentGroupRelationshipId)
Returns the PaymentGroupRelationship whose id is pPaymentGroupRelationshipId.
|
int |
getPaymentGroupRelationshipCount()
Returns the number of PaymentGroupRelationships in the container.
|
java.util.List |
getPaymentGroupRelationships()
Returns a List of PaymentGroupRelationships
|
ShippingGroupRelationship |
getShippingGroupRelationship(java.lang.String pShippingGroupRelationshipId)
Returns the ShippingGroupRelationship whose id is pShippingGroupRelationshipId.
|
int |
getShippingGroupRelationshipCount()
Returns the number of ShippingGroupRelationships in the container.
|
java.util.List |
getShippingGroupRelationships()
Returns a List of ShippingGroupRelationships
|
void |
removeAllCostCenterRelationships()
Removes all the CostCenterRelationships in the container.
|
void |
removeAllPaymentGroupRelationships()
Removes all the PaymentGroupRelationships
|
void |
removeAllShippingGroupRelationships()
Removes all the ShippingGroupRelationships
|
CostCenterRelationship |
removeCostCenterRelationship(java.lang.String pCostCenterRelationshipId)
Removes a CostCenterRelationship whose id is passed in.
|
PaymentGroupRelationship |
removePaymentGroupRelationship(java.lang.String pPaymentGroupRelationshipId)
Removes a PaymentGroupRelationship whose id is passed in.
|
ShippingGroupRelationship |
removeShippingGroupRelationship(java.lang.String pShippingGroupRelationshipId)
Removes a ShippingGroupRelationship whose id is passed in.
|
void |
setConfigurablePropertyId(java.lang.String pConfigurablePropertyId)
Sets the ID of the catalog's configurableProperty associated with this CommerceItem.
|
void |
setConfigurationOptionId(java.lang.String pConfigurationOptionId)
Sets the ID of the catalog's configurationOption associated with this CommerceItem.
|
void |
setIndividualQuantity(long pIndividualQuantity)
Deprecated.
Use the quantity property.
|
addChangedProperty, clearChangedProperties, createAuxiliaryData, getAuxiliaryData, getCatalogId, getCatalogKey, getCatalogRefId, getChangedProperties, getCommerceItemClassType, getExternalId, getPriceInfo, getPriceInfoRepositoryItem, getProductId, getPropertyValue, getQuantity, getQuantityDerivedAsFloatingPoint, getQuantityWithFraction, getRepositoryItem, getReturnedQuantity, getReturnedQuantityDerivedAsFloatingPoint, getReturnedQuantityWithFraction, getSaveAllProperties, getShippingGroupRelationshipContainer, getState, getStateAsString, getStateAsUserResource, getStateDetail, isChanged, isFractional, setCatalogId, setCatalogKey, setCatalogRefId, setChanged, setCommerceItemClassType, setExternalId, setPriceInfo, setPriceInfoRepositoryItem, setProductId, setPropertyValue, setQuantity, setQuantityWithFraction, setRepositoryItem, setSaveAllProperties, setState, setStateAsString, setStateDetail, toString, updategetId, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAuxiliaryData, getCatalogId, getCatalogKey, getCatalogRefId, getCommerceItemClassType, getExternalId, getPriceInfo, getQuantity, getQuantityDerivedAsFloatingPoint, getQuantityWithFraction, getReturnedQuantity, getReturnedQuantityDerivedAsFloatingPoint, getReturnedQuantityWithFraction, getState, getStateDetail, isFractional, setCatalogId, setCatalogKey, setCatalogRefId, setCommerceItemClassType, setExternalId, setPriceInfo, setQuantity, setQuantityWithFraction, setState, setStateDetailgetIdpublic static final java.lang.String CLASS_VERSION
public long getIndividualQuantity()
public void setIndividualQuantity(long pIndividualQuantity)
pIndividualQuantity - the value to set for property individualQuantitypublic java.lang.String getConfigurablePropertyId()
getConfigurablePropertyId in interface atg.commerce.order.ConfigurableSubCommerceItempublic void setConfigurablePropertyId(java.lang.String pConfigurablePropertyId)
setConfigurablePropertyId in interface atg.commerce.order.ConfigurableSubCommerceItempConfigurablePropertyId - the value to set for property configurablePropertyIdpublic java.lang.String getConfigurationOptionId()
getConfigurationOptionId in interface atg.commerce.order.ConfigurableSubCommerceItempublic void setConfigurationOptionId(java.lang.String pConfigurationOptionId)
setConfigurationOptionId in interface atg.commerce.order.ConfigurableSubCommerceItempConfigurationOptionId - the value to set for property configurationOptionIdpublic java.util.List getShippingGroupRelationships()
getShippingGroupRelationships in interface ShippingGroupRelationshipContainergetShippingGroupRelationships in class CommerceItemImplpublic void addShippingGroupRelationship(ShippingGroupRelationship pShippingGroupRelationship) throws DuplicateRelationshipException, InvalidParameterException
addShippingGroupRelationship in interface ShippingGroupRelationshipContaineraddShippingGroupRelationship in class CommerceItemImplDuplicateRelationshipExceptionInvalidParameterExceptionpublic void addShippingGroupRelationship(ShippingGroupRelationship pShippingGroupRelationship, int pIndex) throws DuplicateRelationshipException, InvalidParameterException
addShippingGroupRelationship in interface ShippingGroupRelationshipContaineraddShippingGroupRelationship in class CommerceItemImplDuplicateRelationshipExceptionInvalidParameterExceptionpublic ShippingGroupRelationship removeShippingGroupRelationship(java.lang.String pShippingGroupRelationshipId) throws RelationshipNotFoundException, InvalidParameterException
removeShippingGroupRelationship in interface ShippingGroupRelationshipContainerremoveShippingGroupRelationship in class CommerceItemImplRelationshipNotFoundExceptionInvalidParameterExceptionpublic void removeAllShippingGroupRelationships()
removeAllShippingGroupRelationships in interface ShippingGroupRelationshipContainerremoveAllShippingGroupRelationships in class CommerceItemImplpublic ShippingGroupRelationship getShippingGroupRelationship(java.lang.String pShippingGroupRelationshipId) throws RelationshipNotFoundException, InvalidParameterException
getShippingGroupRelationship in interface ShippingGroupRelationshipContainergetShippingGroupRelationship in class CommerceItemImplRelationshipNotFoundExceptionInvalidParameterExceptionpublic int getShippingGroupRelationshipCount()
getShippingGroupRelationshipCount in interface ShippingGroupRelationshipContainergetShippingGroupRelationshipCount in class CommerceItemImplpublic java.util.List getPaymentGroupRelationships()
getPaymentGroupRelationships in interface PaymentGroupRelationshipContainergetPaymentGroupRelationships in class CommerceItemImplpublic void addPaymentGroupRelationship(PaymentGroupRelationship pPaymentGroupRelationship) throws DuplicateRelationshipException, InvalidParameterException
addPaymentGroupRelationship in interface PaymentGroupRelationshipContaineraddPaymentGroupRelationship in class CommerceItemImplDuplicateRelationshipExceptionInvalidParameterExceptionpublic void addPaymentGroupRelationship(PaymentGroupRelationship pPaymentGroupRelationship, int pIndex) throws DuplicateRelationshipException, InvalidParameterException
addPaymentGroupRelationship in interface PaymentGroupRelationshipContaineraddPaymentGroupRelationship in class CommerceItemImplDuplicateRelationshipExceptionInvalidParameterExceptionpublic PaymentGroupRelationship removePaymentGroupRelationship(java.lang.String pPaymentGroupRelationshipId) throws RelationshipNotFoundException, InvalidParameterException
removePaymentGroupRelationship in interface PaymentGroupRelationshipContainerremovePaymentGroupRelationship in class CommerceItemImplRelationshipNotFoundExceptionInvalidParameterExceptionpublic void removeAllPaymentGroupRelationships()
removeAllPaymentGroupRelationships in interface PaymentGroupRelationshipContainerremoveAllPaymentGroupRelationships in class CommerceItemImplpublic PaymentGroupRelationship getPaymentGroupRelationship(java.lang.String pPaymentGroupRelationshipId) throws RelationshipNotFoundException, InvalidParameterException
getPaymentGroupRelationship in interface PaymentGroupRelationshipContainergetPaymentGroupRelationship in class CommerceItemImplRelationshipNotFoundExceptionInvalidParameterExceptionpublic int getPaymentGroupRelationshipCount()
getPaymentGroupRelationshipCount in interface PaymentGroupRelationshipContainergetPaymentGroupRelationshipCount in class CommerceItemImplpublic java.util.List getCostCenterRelationships()
getCostCenterRelationships in interface CostCenterRelationshipContainergetCostCenterRelationships in class CommerceItemImplpublic void addCostCenterRelationship(CostCenterRelationship pCostCenterRelationship) throws DuplicateRelationshipException, InvalidParameterException
addCostCenterRelationship in interface CostCenterRelationshipContaineraddCostCenterRelationship in class CommerceItemImplDuplicateRelationshipExceptionInvalidParameterExceptionpublic void addCostCenterRelationship(CostCenterRelationship pCostCenterRelationship, int pIndex) throws DuplicateRelationshipException, InvalidParameterException
addCostCenterRelationship in interface CostCenterRelationshipContaineraddCostCenterRelationship in class CommerceItemImplDuplicateRelationshipExceptionInvalidParameterExceptionpublic CostCenterRelationship removeCostCenterRelationship(java.lang.String pCostCenterRelationshipId) throws RelationshipNotFoundException, InvalidParameterException
removeCostCenterRelationship in interface CostCenterRelationshipContainerremoveCostCenterRelationship in class CommerceItemImplRelationshipNotFoundExceptionInvalidParameterExceptionpublic void removeAllCostCenterRelationships()
removeAllCostCenterRelationships in interface CostCenterRelationshipContainerremoveAllCostCenterRelationships in class CommerceItemImplpublic CostCenterRelationship getCostCenterRelationship(java.lang.String pCostCenterRelationshipId) throws RelationshipNotFoundException, InvalidParameterException
getCostCenterRelationship in interface CostCenterRelationshipContainergetCostCenterRelationship in class CommerceItemImplRelationshipNotFoundExceptionInvalidParameterExceptionpublic int getCostCenterRelationshipCount()
getCostCenterRelationshipCount in interface CostCenterRelationshipContainergetCostCenterRelationshipCount in class CommerceItemImpl