com.ibm.commerce.payment.objects
Class CreditLineBean

com.ibm.commerce.payment.objects.CreditLineBean

public class CreditLineBean

This bean provides access to the CREDITLINE table.

The following is a description of this table:

Each row of this table represents a credit line the account holder (buyer organization) has with the seller organization. This credit line is associated with a specific business account.


Constructor Summary
CreditLineBean()
           
 
Method Summary
 java.lang.Long getAccountId()
          This method provides access to the CREDITLINE.ACCOUNT_ID column of DB2 type BIGINT NULL.
 java.math.BigDecimal getCreditLimit()
          This method provides access to the CREDITLINE.CREDITLIMIT column of DB2 type DECIMAL(20,5) NULL.
 java.lang.Long getCreditLineId()
          This method provides access to the CREDITLINE.CREDITLINE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getCurrency()
          This method provides access to the CREDITLINE.SETCCURR column of DB2 type CHAR(3) NULL.
 java.math.BigDecimal getDecimalField1()
          This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getDecimalField2()
          This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20,5) NULL.
 java.lang.Integer getState()
          This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER NULL.
 java.sql.Timestamp getTimeCreated()
          This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getTimeUpdated()
          This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 void setAccountId(java.lang.Long aAccountId)
          This method provides access to the CREDITLINE.ACCOUNT_ID column of DB2 type BIGINT NULL.
 void setCreditLimit(java.math.BigDecimal aCreditLimit)
          This method provides access to the CREDITLINE.CREDITLIMIT column of DB2 type DECIMAL(20,5) NULL.
 void setCreditLineId(java.lang.Long aCreditLineId)
          This method provides access to the CREDITLINE.CREDITLINE_ID column of DB2 type BIGINT NOT NULL.
 void setCurrency(java.lang.String aCurrency)
          This method provides access to the CREDITLINE.SETCCURR column of DB2 type CHAR(3) NULL.
 void setDecimalField1(java.math.BigDecimal aDecimalField1)
          This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.
 void setDecimalField2(java.math.BigDecimal aDecimalField2)
          This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20,5) NULL.
 void setState(java.lang.Integer aState)
          This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER NULL.
 void setTimeCreated(java.sql.Timestamp aTimeCreated)
          This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP NULL.
 void setTimeUpdated(java.sql.Timestamp aTimeUpdated)
          This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 

Constructor Detail

CreditLineBean

public CreditLineBean()
Method Detail

getAccountId

public java.lang.Long getAccountId()

This method provides access to the CREDITLINE.ACCOUNT_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the business account to which the credit line belongs. Foreign key to the ACCOUNT table.

Returns:
java.lang.Long

getCreditLimit

public java.math.BigDecimal getCreditLimit()

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

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.math.BigDecimal

getCreditLineId

public java.lang.Long getCreditLineId()

This method provides access to the CREDITLINE.CREDITLINE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row.

Returns:
java.lang.Long

getCurrency

public java.lang.String getCurrency()

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

The following is a description of this column:

Currency of the credit limit if specified. (This is a currency code as per ISO 4217 standards.)

Returns:
java.lang.String

getDecimalField1

public java.math.BigDecimal getDecimalField1()

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

The following is a description of this column:

Customizable.

Returns:
java.math.BigDecimal

getDecimalField2

public java.math.BigDecimal getDecimalField2()

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

The following is a description of this column:

Customizable.

Returns:
java.math.BigDecimal

getState

public java.lang.Integer getState()

This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER NULL.

The following is a description of this column:

State of the CreditLine:
0 = unknown
1 = active - available for ordering
2 = closed or suspended - not available for ordering

Returns:
java.lang.Integer

getTimeCreated

public java.sql.Timestamp getTimeCreated()

This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time credit line is created.

Returns:
java.sql.Timestamp

getTimeUpdated

public java.sql.Timestamp getTimeUpdated()

This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time credit line is updated.

Returns:
java.sql.Timestamp

setAccountId

public void setAccountId(java.lang.Long aAccountId)

This method provides access to the CREDITLINE.ACCOUNT_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the business account to which the credit line belongs. Foreign key to the ACCOUNT table.

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

setCreditLimit

public void setCreditLimit(java.math.BigDecimal aCreditLimit)

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

The following is a description of this column:

Reserved for IBM internal use.

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

setCreditLineId

public void setCreditLineId(java.lang.Long aCreditLineId)

This method provides access to the CREDITLINE.CREDITLINE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row.

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

setCurrency

public void setCurrency(java.lang.String aCurrency)

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

The following is a description of this column:

Currency of the credit limit if specified. (This is a currency code as per ISO 4217 standards.)

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

setDecimalField1

public void setDecimalField1(java.math.BigDecimal aDecimalField1)

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

The following is a description of this column:

Customizable.

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

setDecimalField2

public void setDecimalField2(java.math.BigDecimal aDecimalField2)

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

The following is a description of this column:

Customizable.

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

setState

public void setState(java.lang.Integer aState)

This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER NULL.

The following is a description of this column:

State of the CreditLine:
0 = unknown
1 = active - available for ordering
2 = closed or suspended - not available for ordering

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

setTimeCreated

public void setTimeCreated(java.sql.Timestamp aTimeCreated)

This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time credit line is created.

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

setTimeUpdated

public void setTimeUpdated(java.sql.Timestamp aTimeUpdated)

This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time credit line is updated.

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