com.ibm.commerce.ordermanagement.objects
Class RMAItemBean

com.ibm.commerce.ordermanagement.objects.RMAItemBean
All Implemented Interfaces:
java.io.Serializable

public class RMAItemBean
implements java.io.Serializable

This bean provides access to the RMAITEM table.

The following is a description of this table:

This table stores item information for a return or credit for a return merchandise authorization (RMA).

See Also:
Serialized Form

Constructor Summary
RMAItemBean()
           
 
Method Summary
 java.math.BigDecimal getAdjustment()
          This method provides access to the RMAITEM.ADJUSTMENT column of DB2 type DECIMAL(20,5) NOT NULL.
 java.math.BigDecimal getAdjustmentCredit()
          This method provides access to the RMAITEM.ADJUSTMENTCREDIT column of DB2 type DECIMAL(20,5) NOT NULL.
 java.lang.Long getCatalogEntryId()
          This method provides access to the RMAITEM.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getComments()
          This method provides access to the RMAITEM.COMMENTS column of DB2 type VARCHAR(254) NULL.
 java.math.BigDecimal getCreditAmount()
          This method provides access to the RMAITEM.CREDITAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 java.sql.Timestamp getCreditDate()
          This method provides access to the RMAITEM.CREDITDATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getCurrency()
          This method provides access to the RMAITEM.CURRENCY column of DB2 type CHAR(3) NOT NULL.
 java.lang.Integer getInventoryQuantity()
          This method provides access to the RMAITEM.INVQUANTITY column of DB2 type INTEGER NOT NULL.
 java.lang.Long getItemSpcId()
          This method provides access to the RMAITEM.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 java.sql.Timestamp getLastUpdate()
          This method provides access to the RMAITEM.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.Long getMemberId()
          This method provides access to the RMAITEM.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderItemsId()
          This method provides access to the RMAITEM.ORDERITEMS_ID column of DB2 type BIGINT NULL.
 java.lang.Double getQuantity()
          This method provides access to the RMAITEM.INVQUANTITY column of DB2 type INTEGER NOT NULL.
 java.lang.String getRefundOrReplace()
          This method provides access to the RMAITEM.REFUNDORREPLACE column of DB2 type CHAR(3) NOT NULL.
 java.lang.Long getRmaId()
          This method provides access to the RMAITEM.RMA_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRmaItemId()
          This method provides access to the RMAITEM.RMAITEM_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Integer getRtnReasonId()
          This method provides access to the RMAITEM.RTNREASON_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getStatus()
          This method provides access to the RMAITEM.STATUS column of DB2 type CHAR(3) NULL.
 java.math.BigDecimal getTaxAmount()
          This method provides access to the RMAITEM.TAXAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getTotalCredit()
          This method provides access to the RMAITEM.TOTALCREDIT column of DB2 type DECIMAL(20,5) NOT NULL.
 void setAdjustment(java.math.BigDecimal aAdjustment)
          This method provides access to the RMAITEM.ADJUSTMENT column of DB2 type DECIMAL(20,5) NOT NULL.
 void setAdjustmentCredit(java.math.BigDecimal aAdjustmentCredit)
          This method provides access to the RMAITEM.ADJUSTMENTCREDIT column of DB2 type DECIMAL(20,5) NOT NULL.
 void setCatalogEntryId(java.lang.Long aCatalogEntryId)
          This method provides access to the RMAITEM.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setComments(java.lang.String aComments)
          This method provides access to the RMAITEM.COMMENTS column of DB2 type VARCHAR(254) NULL.
 void setCreditAmount(java.math.BigDecimal aCreditAmount)
          This method provides access to the RMAITEM.CREDITAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 void setCreditDate(java.sql.Timestamp aCreditDate)
          This method provides access to the RMAITEM.CREDITDATE column of DB2 type TIMESTAMP NULL.
 void setCurrency(java.lang.String aCurrency)
          This method provides access to the RMAITEM.CURRENCY column of DB2 type CHAR(3) NOT NULL.
 void setInventoryQuantity(java.lang.Integer aInventoryQuantity)
          This method provides access to the RMAITEM.INVQUANTITY column of DB2 type INTEGER NOT NULL.
 void setItemSpcId(java.lang.Long aItemSpcId)
          This method provides access to the RMAITEM.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 void setLastUpdate(java.sql.Timestamp aLastUpdate)
          This method provides access to the RMAITEM.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the RMAITEM.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setOrderItemsId(java.lang.Long aOrderItemsId)
          This method provides access to the RMAITEM.ORDERITEMS_ID column of DB2 type BIGINT NULL.
 void setQuantity(java.lang.Double aQuantity)
          This method provides access to the RMAITEM.INVQUANTITY column of DB2 type INTEGER NOT NULL.
 void setRefundOrReplace(java.lang.String aRefundOrReplace)
          This method provides access to the RMAITEM.REFUNDORREPLACE column of DB2 type CHAR(3) NOT NULL.
 void setRmaId(java.lang.Long aRmaId)
          This method provides access to the RMAITEM.RMA_ID column of DB2 type BIGINT NOT NULL.
 void setRmaItemId(java.lang.Long aRmaItemId)
          This method provides access to the RMAITEM.RMAITEM_ID column of DB2 type BIGINT NOT NULL.
 void setRtnReasonId(java.lang.Integer aRtnReasonId)
          This method provides access to the RMAITEM.RTNREASON_ID column of DB2 type INTEGER NOT NULL.
 void setStatus(java.lang.String aStatus)
          This method provides access to the RMAITEM.STATUS column of DB2 type CHAR(3) NULL.
 void setTaxAmount(java.math.BigDecimal aTaxAmount)
          This method provides access to the RMAITEM.TAXAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 void setTotalCredit(java.math.BigDecimal aTotalCredit)
          This method provides access to the RMAITEM.TOTALCREDIT column of DB2 type DECIMAL(20,5) NOT NULL.
 

Constructor Detail

RMAItemBean

public RMAItemBean()
Method Detail

getAdjustment

public java.math.BigDecimal getAdjustment()

This method provides access to the RMAITEM.ADJUSTMENT column of DB2 type DECIMAL(20,5) NOT NULL.

The following is a description of this column:

Any adjustment to be made to the credit amount by a Customer Service Representative.

Returns:
java.math.BigDecimal

getAdjustmentCredit

public java.math.BigDecimal getAdjustmentCredit()

This method provides access to the RMAITEM.ADJUSTMENTCREDIT column of DB2 type DECIMAL(20,5) NOT NULL.

The following is a description of this column:

The adjustment, from the original order, to be credited.

Returns:
java.math.BigDecimal

getCatalogEntryId

public java.lang.Long getCatalogEntryId()

This method provides access to the RMAITEM.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.Long

getComments

public java.lang.String getComments()

This method provides access to the RMAITEM.COMMENTS column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Comment that applies to the RMA item.

Returns:
java.lang.String

getCreditAmount

public java.math.BigDecimal getCreditAmount()

This method provides access to the RMAITEM.CREDITAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.

The following is a description of this column:

The amount of the credit for this item in the currency specified by CURRENCY. If this amount is NULL then the credit amount is unknown.

Returns:
java.math.BigDecimal

getCreditDate

public java.sql.Timestamp getCreditDate()

This method provides access to the RMAITEM.CREDITDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date that the credit was initiated.

Returns:
java.sql.Timestamp

getCurrency

public java.lang.String getCurrency()

This method provides access to the RMAITEM.CURRENCY column of DB2 type CHAR(3) NOT NULL.

The following is a description of this column:

The currency of the monetary amounts specified for this item. This is a currency code as per ISO 4217 standards.

Returns:
java.lang.String

getInventoryQuantity

public java.lang.Integer getInventoryQuantity()

This method provides access to the RMAITEM.INVQUANTITY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Quantity in inventory units.

Returns:
java.lang.Integer

getItemSpcId

public java.lang.Long getItemSpcId()

This method provides access to the RMAITEM.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Identity of the inventory item.

Returns:
java.lang.Long

getLastUpdate

public java.sql.Timestamp getLastUpdate()

This method provides access to the RMAITEM.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Timestamp of the last update.

Returns:
java.sql.Timestamp

getMemberId

public java.lang.Long getMemberId()

This method provides access to the RMAITEM.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The ID of the member who created the RMA item record.

Returns:
java.lang.Long

getOrderItemsId

public java.lang.Long getOrderItemsId()

This method provides access to the RMAITEM.ORDERITEMS_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The OrderItem from which the ITEMSPC_ID is from.

Returns:
java.lang.Long

getQuantity

public java.lang.Double getQuantity()

This method provides access to the RMAITEM.INVQUANTITY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Quantity in inventory units.

Returns:
java.lang.Double

getRefundOrReplace

public java.lang.String getRefundOrReplace()

This method provides access to the RMAITEM.REFUNDORREPLACE column of DB2 type CHAR(3) NOT NULL.

The following is a description of this column:

Specifies whether the RMA item will be refunded or replaced: REF (refund) or REP (replace). This affects whether credit is done internally or externally and whether exchange information was gathered. Only REF is valid.

Returns:
java.lang.String

getRmaId

public java.lang.Long getRmaId()

This method provides access to the RMAITEM.RMA_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The RMA of which this RMAItem is a part.

Returns:
java.lang.Long

getRmaItemId

public java.lang.Long getRmaItemId()

This method provides access to the RMAITEM.RMAITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Long

getRtnReasonId

public java.lang.Integer getRtnReasonId()

This method provides access to the RMAITEM.RTNREASON_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The reason for the item to be returned.

Returns:
java.lang.Integer

getStatus

public java.lang.String getStatus()

This method provides access to the RMAITEM.STATUS column of DB2 type CHAR(3) NULL.

The following is a description of this column:

The status of the RMAItem as follows:
PND = pending
APP = automatically approved
MAN = manually approved

Returns:
java.lang.String

getTaxAmount

public java.math.BigDecimal getTaxAmount()

This method provides access to the RMAITEM.TAXAMOUNT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The amount of tax to be refunded, in the currency specified by CURRENCY. If this amount is NULL then the tax amount is unknown.

Returns:
java.math.BigDecimal

getTotalCredit

public java.math.BigDecimal getTotalCredit()

This method provides access to the RMAITEM.TOTALCREDIT column of DB2 type DECIMAL(20,5) NOT NULL.

The following is a description of this column:

Total credit for the RMA Item.

Returns:
java.math.BigDecimal

setAdjustment

public void setAdjustment(java.math.BigDecimal aAdjustment)

This method provides access to the RMAITEM.ADJUSTMENT column of DB2 type DECIMAL(20,5) NOT NULL.

The following is a description of this column:

Any adjustment to be made to the credit amount by a Customer Service Representative.

Parameters:
aAdjustment - java.math.BigDecimal
Returns:
void

setAdjustmentCredit

public void setAdjustmentCredit(java.math.BigDecimal aAdjustmentCredit)

This method provides access to the RMAITEM.ADJUSTMENTCREDIT column of DB2 type DECIMAL(20,5) NOT NULL.

The following is a description of this column:

The adjustment, from the original order, to be credited.

Parameters:
aAdjustmentCredit - java.math.BigDecimal
Returns:
void

setCatalogEntryId

public void setCatalogEntryId(java.lang.Long aCatalogEntryId)

This method provides access to the RMAITEM.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aCatalogEntryId - java.lang.Long
Returns:
void

setComments

public void setComments(java.lang.String aComments)

This method provides access to the RMAITEM.COMMENTS column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Comment that applies to the RMA item.

Parameters:
aComments - java.lang.String
Returns:
void

setCreditAmount

public void setCreditAmount(java.math.BigDecimal aCreditAmount)

This method provides access to the RMAITEM.CREDITAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.

The following is a description of this column:

The amount of the credit for this item in the currency specified by CURRENCY. If this amount is NULL then the credit amount is unknown.

Parameters:
aCreditAmount - java.math.BigDecimal
Returns:
void

setCreditDate

public void setCreditDate(java.sql.Timestamp aCreditDate)

This method provides access to the RMAITEM.CREDITDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date that the credit was initiated.

Parameters:
aCreditDate - java.sql.Timestamp
Returns:
void

setCurrency

public void setCurrency(java.lang.String aCurrency)

This method provides access to the RMAITEM.CURRENCY column of DB2 type CHAR(3) NOT NULL.

The following is a description of this column:

The currency of the monetary amounts specified for this item. This is a currency code as per ISO 4217 standards.

Parameters:
aCurrency - java.lang.String
Returns:
void

setInventoryQuantity

public void setInventoryQuantity(java.lang.Integer aInventoryQuantity)

This method provides access to the RMAITEM.INVQUANTITY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Quantity in inventory units.

Parameters:
aInventoryQuantity - java.lang.Integer
Returns:
void

setItemSpcId

public void setItemSpcId(java.lang.Long aItemSpcId)

This method provides access to the RMAITEM.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Identity of the inventory item.

Parameters:
aItemSpcId - java.lang.Long
Returns:
void

setLastUpdate

public void setLastUpdate(java.sql.Timestamp aLastUpdate)

This method provides access to the RMAITEM.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Timestamp of the last update.

Parameters:
aLastUpdate - java.sql.Timestamp
Returns:
void

setMemberId

public void setMemberId(java.lang.Long aMemberId)

This method provides access to the RMAITEM.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The ID of the member who created the RMA item record.

Parameters:
aMemberId - java.lang.Long
Returns:
void

setOrderItemsId

public void setOrderItemsId(java.lang.Long aOrderItemsId)

This method provides access to the RMAITEM.ORDERITEMS_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The OrderItem from which the ITEMSPC_ID is from.

Parameters:
aOrderItemsId - java.lang.Long
Returns:
void

setQuantity

public void setQuantity(java.lang.Double aQuantity)

This method provides access to the RMAITEM.INVQUANTITY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Quantity in inventory units.

Parameters:
aQuantity - java.lang.Double
Returns:
void

setRefundOrReplace

public void setRefundOrReplace(java.lang.String aRefundOrReplace)

This method provides access to the RMAITEM.REFUNDORREPLACE column of DB2 type CHAR(3) NOT NULL.

The following is a description of this column:

Specifies whether the RMA item will be refunded or replaced: REF (refund) or REP (replace). This affects whether credit is done internally or externally and whether exchange information was gathered. Only REF is valid.

Parameters:
aRefundOrReplace - java.lang.String
Returns:
void

setRmaId

public void setRmaId(java.lang.Long aRmaId)

This method provides access to the RMAITEM.RMA_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The RMA of which this RMAItem is a part.

Parameters:
aRmaId - java.lang.Long
Returns:
void

setRmaItemId

public void setRmaItemId(java.lang.Long aRmaItemId)

This method provides access to the RMAITEM.RMAITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Parameters:
aRmaItemId - java.lang.Long
Returns:
void

setRtnReasonId

public void setRtnReasonId(java.lang.Integer aRtnReasonId)

This method provides access to the RMAITEM.RTNREASON_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The reason for the item to be returned.

Parameters:
aRtnReasonId - java.lang.Integer
Returns:
void

setStatus

public void setStatus(java.lang.String aStatus)

This method provides access to the RMAITEM.STATUS column of DB2 type CHAR(3) NULL.

The following is a description of this column:

The status of the RMAItem as follows:
PND = pending
APP = automatically approved
MAN = manually approved

Parameters:
aStatus - java.lang.String
Returns:
void

setTaxAmount

public void setTaxAmount(java.math.BigDecimal aTaxAmount)

This method provides access to the RMAITEM.TAXAMOUNT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The amount of tax to be refunded, in the currency specified by CURRENCY. If this amount is NULL then the tax amount is unknown.

Parameters:
aTaxAmount - java.math.BigDecimal
Returns:
void

setTotalCredit

public void setTotalCredit(java.math.BigDecimal aTotalCredit)

This method provides access to the RMAITEM.TOTALCREDIT column of DB2 type DECIMAL(20,5) NOT NULL.

The following is a description of this column:

Total credit for the RMA Item.

Parameters:
aTotalCredit - java.math.BigDecimal
Returns:
void