com.ibm.commerce.ordermanagement.objects
Class RMAChargeBean

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

public class RMAChargeBean
implements java.io.Serializable

This bean provides access to the RMACHARGE table.

The following is a description of this table:

This table stores charges or credits, applied to a return merchandise authorization (RMA), which are not for sellable products or services. This can be applicable to the entire RMA or to a specific RMA item, such as restocking fees or shipping credits.

See Also:
Serialized Form

Constructor Summary
RMAChargeBean()
           
 
Method Summary
 java.math.BigDecimal getAmount()
          This method provides access to the RMACHARGE.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 java.lang.Integer getChargeTypeId()
          This method provides access to the RMACHARGE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getCurrency()
          This method provides access to the RMACHARGE.CURRENCY column of DB2 type CHAR(3) NOT NULL.
 java.lang.Long getRmaChargeId()
          This method provides access to the RMACHARGE.RMACHARGE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRmaId()
          This method provides access to the RMACHARGE.RMA_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRmaItemId()
          This method provides access to the RMACHARGE.RMAITEM_ID column of DB2 type BIGINT NULL.
 void setAmount(java.math.BigDecimal aAmount)
          This method provides access to the RMACHARGE.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
 void setChargeTypeId(java.lang.Integer aChargeTypeId)
          This method provides access to the RMACHARGE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL.
 void setCurrency(java.lang.String aCurrency)
          This method provides access to the RMACHARGE.CURRENCY column of DB2 type CHAR(3) NOT NULL.
 void setRmaChargeId(java.lang.Long aRmaChargeId)
          This method provides access to the RMACHARGE.RMACHARGE_ID column of DB2 type BIGINT NOT NULL.
 void setRmaId(java.lang.Long aRmaId)
          This method provides access to the RMACHARGE.RMA_ID column of DB2 type BIGINT NOT NULL.
 void setRmaItemId(java.lang.Long aRmaItemId)
          This method provides access to the RMACHARGE.RMAITEM_ID column of DB2 type BIGINT NULL.
 

Constructor Detail

RMAChargeBean

public RMAChargeBean()
Method Detail

getAmount

public java.math.BigDecimal getAmount()

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

The following is a description of this column:

Amount of the charge or credit.

Returns:
java.math.BigDecimal

getChargeTypeId

public java.lang.Integer getChargeTypeId()

This method provides access to the RMACHARGE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The type of charge or credit. The CHARGETYPE_ID column is a foreign key to the CHARGETYPE table. A return policy uses the charge type of a restocking fee for returned items.

Returns:
java.lang.Integer

getCurrency

public java.lang.String getCurrency()

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

The following is a description of this column:

Currency used for the charge or credit. This is a currency code as per ISO 4217 standards.

Returns:
java.lang.String

getRmaChargeId

public java.lang.Long getRmaChargeId()

This method provides access to the RMACHARGE.RMACHARGE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Long

getRmaId

public java.lang.Long getRmaId()

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

The following is a description of this column:

The RMA to which this charge or credit applies.

Returns:
java.lang.Long

getRmaItemId

public java.lang.Long getRmaItemId()

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

The following is a description of this column:

The RMA item to which this charge applies. If this field is NULL, then the charge does not apply to a specific RMA item but against the whole RMA.

Returns:
java.lang.Long

setAmount

public void setAmount(java.math.BigDecimal aAmount)

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

The following is a description of this column:

Amount of the charge or credit.

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

setChargeTypeId

public void setChargeTypeId(java.lang.Integer aChargeTypeId)

This method provides access to the RMACHARGE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The type of charge or credit. The CHARGETYPE_ID column is a foreign key to the CHARGETYPE table. A return policy uses the charge type of a restocking fee for returned items.

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

setCurrency

public void setCurrency(java.lang.String aCurrency)

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

The following is a description of this column:

Currency used for the charge or credit. This is a currency code as per ISO 4217 standards.

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

setRmaChargeId

public void setRmaChargeId(java.lang.Long aRmaChargeId)

This method provides access to the RMACHARGE.RMACHARGE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

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

setRmaId

public void setRmaId(java.lang.Long aRmaId)

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

The following is a description of this column:

The RMA to which this charge or credit applies.

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

setRmaItemId

public void setRmaItemId(java.lang.Long aRmaItemId)

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

The following is a description of this column:

The RMA item to which this charge applies. If this field is NULL, then the charge does not apply to a specific RMA item but against the whole RMA.

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