com.ibm.commerce.ordermanagement.objects
Class RMABean

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

public class RMABean
implements java.io.Serializable

This bean provides access to the RMA table.

The following is a description of this table:

This table is a container for return merchandise authorizations (RMAs).

See Also:
Serialized Form

Constructor Summary
RMABean()
           
 
Method Summary
 java.lang.String getComments()
          This method provides access to the RMA.COMMENTS column of DB2 type VARCHAR(254) NULL.
 java.lang.String getCurrency()
          This method provides access to the RMA.CURRENCY column of DB2 type CHAR(3) NULL.
 java.lang.Integer getFfmcenterId()
          This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER NULL.
 java.lang.String getInUse()
          This method provides access to the RMA.INUSE column of DB2 type CHAR(1) NOT NULL.
 java.sql.Timestamp getLastUpdate()
          This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.Long getMemberId()
          This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrganizationId()
          This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT NULL.
 java.lang.Long getPolicyId()
          This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT NULL.
 java.lang.String getPrepared()
          This method provides access to the RMA.PREPARED column of DB2 type CHAR(1) NOT NULL.
 java.lang.Long getRefundAgainstOrdId()
          This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT NULL.
 java.sql.Timestamp getRmaDate()
          This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.Long getRmaId()
          This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getStatus()
          This method provides access to the RMA.STATUS column of DB2 type CHAR(3) NOT NULL.
 java.lang.Integer getStoreId()
          This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.
 java.math.BigDecimal getTotalCredit()
          This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20,5) NULL.
 java.lang.Long getTradingId()
          This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT NULL.
 void setComments(java.lang.String aComments)
          This method provides access to the RMA.COMMENTS column of DB2 type VARCHAR(254) NULL.
 void setCurrency(java.lang.String aCurrency)
          This method provides access to the RMA.CURRENCY column of DB2 type CHAR(3) NULL.
 void setFfmcenterId(java.lang.Integer aFfmcenterId)
          This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER NULL.
 void setInUse(java.lang.String aInUse)
          This method provides access to the RMA.INUSE column of DB2 type CHAR(1) NOT NULL.
 void setLastUpdate(java.sql.Timestamp aLastUpdate)
          This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setOrganizationId(java.lang.Long aOrganizationId)
          This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT NULL.
 void setPolicyId(java.lang.Long aPolicyId)
          This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT NULL.
 void setPrepared(java.lang.String aPrepared)
          This method provides access to the RMA.PREPARED column of DB2 type CHAR(1) NOT NULL.
 void setRefundAgainstOrdId(java.lang.Long aRefundAgainstOrdId)
          This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT NULL.
 void setRmaDate(java.sql.Timestamp aRmaDate)
          This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.
 void setRmaId(java.lang.Long aRmaId)
          This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.
 void setStatus(java.lang.String aStatus)
          This method provides access to the RMA.STATUS column of DB2 type CHAR(3) NOT NULL.
 void setStoreId(java.lang.Integer aStoreId)
          This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.
 void setTotalCredit(java.math.BigDecimal aTotalCredit)
          This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20,5) NULL.
 void setTradingId(java.lang.Long aTradingId)
          This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT NULL.
 

Constructor Detail

RMABean

public RMABean()
Method Detail

getComments

public java.lang.String getComments()

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

The following is a description of this column:

Comment that applies to the entire RMA.

Returns:
java.lang.String

getCurrency

public java.lang.String getCurrency()

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

The following is a description of this column:

The currency of all monetary amounts within the RMA. All items added to the RMA will have the same currency value. This is a currency code as per ISO 4217 standards.

Returns:
java.lang.String

getFfmcenterId

public java.lang.Integer getFfmcenterId()

This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The FulfillmentCenter to which the returned items are to be shipped.

Returns:
java.lang.Integer

getInUse

public java.lang.String getInUse()

This method provides access to the RMA.INUSE column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Used by the WebSphere Commerce Accelerator to mark the record as being used. When a CSR opens the Change Returns notebook to edit a return, the INUSE column is set to Y to indicate that this RMA is in use. Once closed, the column is set to N.

Returns:
java.lang.String

getLastUpdate

public java.sql.Timestamp getLastUpdate()

This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT 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 RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The member requesting the return. If the RMA was created by a Customer Service Representative, this will be the member who contacted the Customer Service Representative.

Returns:
java.lang.Long

getOrganizationId

public java.lang.Long getOrganizationId()

This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The buying organization.

Returns:
java.lang.Long

getPolicyId

public java.lang.Long getPolicyId()

This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the RefundPaymentMethod policy.

Returns:
java.lang.Long

getPrepared

public java.lang.String getPrepared()

This method provides access to the RMA.PREPARED column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Specifies whether the ReturnPrepare command was the last command executed against the RMA.

Returns:
java.lang.String

getRefundAgainstOrdId

public java.lang.Long getRefundAgainstOrdId()

This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT NULL.

The following is a description of this column:

The order Id to credit the refund against.

Returns:
java.lang.Long

getRmaDate

public java.sql.Timestamp getRmaDate()

This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time the RMA was created.

Returns:
java.sql.Timestamp

getRmaId

public java.lang.Long getRmaId()

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

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Long

getStatus

public java.lang.String getStatus()

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

The following is a description of this column:

The status of the RMA as follows:
PRC = being edited by a customer
EDT = being edited by a Customer Service Representative
PND = pending)
APP = approved
CLO = closed
CAN = canceled

Returns:
java.lang.String

getStoreId

public java.lang.Integer getStoreId()

This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store against which the RMA is being processed.

Returns:
java.lang.Integer

getTotalCredit

public java.math.BigDecimal getTotalCredit()

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

The following is a description of this column:

The total credit due in the currency specified by the CURRENCY column. If this amount is NULL then the total amount is unknown.

Returns:
java.math.BigDecimal

getTradingId

public java.lang.Long getTradingId()

This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the trading agreement under which this RMA is being processed. This determines the policies for approval, charges, and refund payment.

Returns:
java.lang.Long

setComments

public void setComments(java.lang.String aComments)

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

The following is a description of this column:

Comment that applies to the entire RMA.

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

setCurrency

public void setCurrency(java.lang.String aCurrency)

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

The following is a description of this column:

The currency of all monetary amounts within the RMA. All items added to the RMA will have the same currency value. This is a currency code as per ISO 4217 standards.

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

setFfmcenterId

public void setFfmcenterId(java.lang.Integer aFfmcenterId)

This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The FulfillmentCenter to which the returned items are to be shipped.

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

setInUse

public void setInUse(java.lang.String aInUse)

This method provides access to the RMA.INUSE column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Used by the WebSphere Commerce Accelerator to mark the record as being used. When a CSR opens the Change Returns notebook to edit a return, the INUSE column is set to Y to indicate that this RMA is in use. Once closed, the column is set to N.

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

setLastUpdate

public void setLastUpdate(java.sql.Timestamp aLastUpdate)

This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT 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 RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The member requesting the return. If the RMA was created by a Customer Service Representative, this will be the member who contacted the Customer Service Representative.

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

setOrganizationId

public void setOrganizationId(java.lang.Long aOrganizationId)

This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The buying organization.

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

setPolicyId

public void setPolicyId(java.lang.Long aPolicyId)

This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the RefundPaymentMethod policy.

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

setPrepared

public void setPrepared(java.lang.String aPrepared)

This method provides access to the RMA.PREPARED column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Specifies whether the ReturnPrepare command was the last command executed against the RMA.

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

setRefundAgainstOrdId

public void setRefundAgainstOrdId(java.lang.Long aRefundAgainstOrdId)

This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT NULL.

The following is a description of this column:

The order Id to credit the refund against.

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

setRmaDate

public void setRmaDate(java.sql.Timestamp aRmaDate)

This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time the RMA was created.

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

setRmaId

public void setRmaId(java.lang.Long aRmaId)

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

The following is a description of this column:

Generated unique key.

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

setStatus

public void setStatus(java.lang.String aStatus)

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

The following is a description of this column:

The status of the RMA as follows:
PRC = being edited by a customer
EDT = being edited by a Customer Service Representative
PND = pending)
APP = approved
CLO = closed
CAN = canceled

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

setStoreId

public void setStoreId(java.lang.Integer aStoreId)

This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store against which the RMA is being processed.

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

setTotalCredit

public void setTotalCredit(java.math.BigDecimal aTotalCredit)

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

The following is a description of this column:

The total credit due in the currency specified by the CURRENCY column. If this amount is NULL then the total amount is unknown.

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

setTradingId

public void setTradingId(java.lang.Long aTradingId)

This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the trading agreement under which this RMA is being processed. This determines the policies for approval, charges, and refund payment.

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