com.ibm.commerce.payment.objects
Class InvoiceBean

com.ibm.commerce.payment.objects.InvoiceBean

public class InvoiceBean

This bean provides access to the INVOICE table.

The following is a description of this table:

This table stores the invoice XML generated for the order release. An order release is represented by a row in the ORDRELEASE table.


Constructor Summary
InvoiceBean()
           
 
Method Summary
 java.lang.Long getInvoiceId()
          This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderId()
          This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Integer getOrderReleaseNumber()
          This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL.
 java.lang.String getStatus()
          This method provides access to the INVOICE.STATUS column of DB2 type CHAR(4) NULL.
 java.sql.Timestamp getTimeCreated()
          This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP NULL.
 void setInvoiceId(java.lang.Long aInvoiceId)
          This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL.
 void setOrderId(java.lang.Long aOrderId)
          This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void setOrderReleaseNumber(java.lang.Integer aOrderReleaseNumber)
          This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL.
 void setStatus(java.lang.String aStatus)
          This method provides access to the INVOICE.STATUS column of DB2 type CHAR(4) NULL.
 void setTimeCreated(java.sql.Timestamp aTimeCreated)
          This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP NULL.
 

Constructor Detail

InvoiceBean

public InvoiceBean()
Method Detail

getInvoiceId

public java.lang.Long getInvoiceId()

This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row. Also used as the invoice number.

Returns:
java.lang.Long

getOrderId

public java.lang.Long getOrderId()

This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The ID of the order. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.

Returns:
java.lang.Long

getOrderReleaseNumber

public java.lang.Integer getOrderReleaseNumber()

This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Order release number. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.

Returns:
java.lang.Integer

getStatus

public java.lang.String getStatus()

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

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.String

getTimeCreated

public java.sql.Timestamp getTimeCreated()

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

The following is a description of this column:

Time the invoice XML is generated.

Returns:
java.sql.Timestamp

setInvoiceId

public void setInvoiceId(java.lang.Long aInvoiceId)

This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row. Also used as the invoice number.

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

setOrderId

public void setOrderId(java.lang.Long aOrderId)

This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The ID of the order. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.

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

setOrderReleaseNumber

public void setOrderReleaseNumber(java.lang.Integer aOrderReleaseNumber)

This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Order release number. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.

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

setStatus

public void setStatus(java.lang.String aStatus)

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

The following is a description of this column:

Reserved for IBM internal use.

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

setTimeCreated

public void setTimeCreated(java.sql.Timestamp aTimeCreated)

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

The following is a description of this column:

Time the invoice XML is generated.

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