atg.commerce.order
Interface CommerceItem

All Superinterfaces:
CommerceIdentifier, PaymentGroupRelationshipContainer, java.io.Serializable, ShippingGroupRelationshipContainer
All Known Subinterfaces:
B2BCommerceItem
All Known Implementing Classes:
B2BCommerceItemImpl, CommerceItemImpl, ConfigurableCommerceItem, FilteredCommerceItem, PricingCommerceItem, SubSkuCommerceItem

public interface CommerceItem
extends ShippingGroupRelationshipContainer, PaymentGroupRelationshipContainer, CommerceIdentifier, java.io.Serializable

Implemented by classes which represent a CommerceItem. This interface provides all the methods to manipulate a CommerceItem object.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Method Summary
 AuxiliaryData getAuxiliaryData()
          returns the AuxiliaryData.
 java.lang.String getCatalogId()
          Returns the catalogId
 java.lang.String getCatalogKey()
          Returns the catalogKey
 java.lang.String getCatalogRefId()
          Returns the catalogRefId
 java.lang.String getCommerceItemClassType()
          Returns the commerceItemClassType
 ItemPriceInfo getPriceInfo()
          returns the CommerceItemPriceInfo object.
 long getQuantity()
          returns the number of CommerceItems which this CommerceItem object represents.
 long getReturnedQuantity()
          Returns the returnedQuantity
 int getState()
          Returns the state
 java.lang.String getStateDetail()
          Returns the stateDetail
 void setCatalogId(java.lang.String pCatalogId)
          Sets the catalogId
 void setCatalogKey(java.lang.String pCatalogKey)
          Sets the catalogKey
 void setCatalogRefId(java.lang.String pCatalogRefId)
          Sets the catalogRefId
 void setCommerceItemClassType(java.lang.String pCommerceItemClassType)
          Sets the commerceItemClassType
 void setPriceInfo(ItemPriceInfo pPriceInfo)
          sets the ItemPriceInfo object.
 void setQuantity(long pQuantity)
          sets the number of CommerceItems which this CommerceItem object represents.
 void setState(int pState)
          Sets the state
 void setStateDetail(java.lang.String pStateDetail)
          Sets the stateDetail
 
Methods inherited from interface atg.commerce.order.ShippingGroupRelationshipContainer
addShippingGroupRelationship, addShippingGroupRelationship, getShippingGroupRelationship, getShippingGroupRelationshipCount, getShippingGroupRelationships, removeAllShippingGroupRelationships, removeShippingGroupRelationship
 
Methods inherited from interface atg.commerce.order.PaymentGroupRelationshipContainer
addPaymentGroupRelationship, addPaymentGroupRelationship, getPaymentGroupRelationship, getPaymentGroupRelationshipCount, getPaymentGroupRelationships, removeAllPaymentGroupRelationships, removePaymentGroupRelationship
 
Methods inherited from interface atg.commerce.order.CommerceIdentifier
getId
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Method Detail

getCommerceItemClassType

java.lang.String getCommerceItemClassType()
Returns the commerceItemClassType


setCommerceItemClassType

void setCommerceItemClassType(java.lang.String pCommerceItemClassType)
Sets the commerceItemClassType


getCatalogId

java.lang.String getCatalogId()
Returns the catalogId


setCatalogId

void setCatalogId(java.lang.String pCatalogId)
Sets the catalogId


getCatalogRefId

java.lang.String getCatalogRefId()
Returns the catalogRefId


setCatalogRefId

void setCatalogRefId(java.lang.String pCatalogRefId)
Sets the catalogRefId


getCatalogKey

java.lang.String getCatalogKey()
Returns the catalogKey


setCatalogKey

void setCatalogKey(java.lang.String pCatalogKey)
Sets the catalogKey


getQuantity

long getQuantity()
returns the number of CommerceItems which this CommerceItem object represents.


setQuantity

void setQuantity(long pQuantity)
sets the number of CommerceItems which this CommerceItem object represents.

Parameters:
pQuantity - the new value for the quantity

getReturnedQuantity

long getReturnedQuantity()
Returns the returnedQuantity


getState

int getState()
Returns the state


setState

void setState(int pState)
Sets the state


getStateDetail

java.lang.String getStateDetail()
Returns the stateDetail


setStateDetail

void setStateDetail(java.lang.String pStateDetail)
Sets the stateDetail


getPriceInfo

ItemPriceInfo getPriceInfo()
returns the CommerceItemPriceInfo object.


setPriceInfo

void setPriceInfo(ItemPriceInfo pPriceInfo)
sets the ItemPriceInfo object.

Parameters:
pPriceInfo - the PriceInfo object to set

getAuxiliaryData

AuxiliaryData getAuxiliaryData()
returns the AuxiliaryData.