atg.commerce.order
Interface CommerceItemRelationship

All Superinterfaces:
CommerceIdentifier, Relationship, java.io.Serializable
All Known Subinterfaces:
B2BCommerceItemRelationship
All Known Implementing Classes:
CostCenterCommerceItemRelationship, PaymentGroupCommerceItemRelationship, ShippingGroupCommerceItemRelationship

public interface CommerceItemRelationship
extends Relationship

An interface which represents a part of a relationship that is a CommerceItem.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Method Summary
 double getAmount()
          Returns the amount that this Relationship represents.
 CommerceItem getCommerceItem()
          Returns the CommerceItem reference.
 long getQuantity()
          Returns the quantity that this Relationship represents.
 long getReturnedQuantity()
          Returns the returnedQuantity
 int getState()
          Returns the state
 java.lang.String getStateDetail()
          Returns the stateDetail
 void setAmount(double pAmount)
          Sets the amount that this Relationship represents.
 void setCommerceItem(CommerceItem pCommerceItem)
          Sets the CommerceItem reference.
 void setQuantity(long pQuantity)
          Sets the quantity that this Relationship represents.
 void setReturnedQuantity(long pReturnedQuantity)
          Sets the returnedQuantity
 void setState(int pState)
          Sets the state
 void setStateDetail(java.lang.String pStateDetail)
          Sets the stateDetail
 
Methods inherited from interface atg.commerce.order.Relationship
getRelationshipClassType, getRelationshipType, setRelationshipClassType, setRelationshipType
 
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

getCommerceItem

CommerceItem getCommerceItem()
Returns the CommerceItem reference.


setCommerceItem

void setCommerceItem(CommerceItem pCommerceItem)
Sets the CommerceItem reference.


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


getQuantity

long getQuantity()
Returns the quantity that this Relationship represents.


setQuantity

void setQuantity(long pQuantity)
Sets the quantity that this Relationship represents.


getReturnedQuantity

long getReturnedQuantity()
Returns the returnedQuantity


setReturnedQuantity

void setReturnedQuantity(long pReturnedQuantity)
Sets the returnedQuantity


getAmount

double getAmount()
Returns the amount that this Relationship represents.


setAmount

void setAmount(double pAmount)
Sets the amount that this Relationship represents.