com.ibm.commerce.payment.objects
Class CreditCardCheckBean

com.ibm.commerce.payment.objects.CreditCardCheckBean
All Implemented Interfaces:
java.io.Serializable

public class CreditCardCheckBean
implements java.io.Serializable

This bean provides access to the CCCHECK table.

The following is a description of this table:

The Credit Card Check table. Refer to CCCHECK table: details for more information.

See Also:
Serialized Form

Constructor Summary
CreditCardCheckBean()
           
 
Method Summary
 java.lang.String getCardType()
          This method provides access to the CCCHECK.CCTYPE column of DB2 type VARCHAR(40) NOT NULL.
 java.lang.String getCheckTaskName()
          This method provides access to the CCCHECK.CCALGTASKRN column of DB2 type VARCHAR(256) NULL.
 java.lang.Integer getCreditCardReferenceNumber()
          This method provides access to the CCCHECK.CCRFNBR column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLength()
          This method provides access to the CCCHECK.CCLENGTH column of DB2 type INTEGER NOT NULL.
 java.lang.String getPrefix()
          This method provides access to the CCCHECK.CCPREFIX column of DB2 type CHAR(16) NOT NULL.
 void setCardType(java.lang.String aCardType)
          This method provides access to the CCCHECK.CCTYPE column of DB2 type VARCHAR(40) NOT NULL.
 void setCheckTaskName(java.lang.String aCheckTaskName)
          This method provides access to the CCCHECK.CCALGTASKRN column of DB2 type VARCHAR(256) NULL.
 void setCreditCardReferenceNumber(java.lang.Integer aCreditCardReferenceNumber)
          This method provides access to the CCCHECK.CCRFNBR column of DB2 type INTEGER NOT NULL.
 void setLength(java.lang.Integer aLength)
          This method provides access to the CCCHECK.CCLENGTH column of DB2 type INTEGER NOT NULL.
 void setPrefix(java.lang.String aPrefix)
          This method provides access to the CCCHECK.CCPREFIX column of DB2 type CHAR(16) NOT NULL.
 

Constructor Detail

CreditCardCheckBean

public CreditCardCheckBean()
Method Detail

getCardType

public java.lang.String getCardType()

This method provides access to the CCCHECK.CCTYPE column of DB2 type VARCHAR(40) NOT NULL.

The following is a description of this column:

The credit card brand. This is a case-sensitive string and is used as a search key for a query to this table.

Returns:
java.lang.String

getCheckTaskName

public java.lang.String getCheckTaskName()

This method provides access to the CCCHECK.CCALGTASKRN column of DB2 type VARCHAR(256) NULL.

The following is a description of this column:

The task command interface name to be called by the default CheckCCNumber task command to perform an algorithmic check of the credit card number after passing the length and prefix check. Example: com.ibm.commerce.payment.commands.DoLuhnCheckCmd

Returns:
java.lang.String

getCreditCardReferenceNumber

public java.lang.Integer getCreditCardReferenceNumber()

This method provides access to the CCCHECK.CCRFNBR column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This is the primary key. The combination of CCTYPE, CCLENGTH and CCPREFIX must be unique.

Returns:
java.lang.Integer

getLength

public java.lang.Integer getLength()

This method provides access to the CCCHECK.CCLENGTH column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This is the credit card number length.

Returns:
java.lang.Integer

getPrefix

public java.lang.String getPrefix()

This method provides access to the CCCHECK.CCPREFIX column of DB2 type CHAR(16) NOT NULL.

The following is a description of this column:

This is the credit card prefix.

Returns:
java.lang.String

setCardType

public void setCardType(java.lang.String aCardType)

This method provides access to the CCCHECK.CCTYPE column of DB2 type VARCHAR(40) NOT NULL.

The following is a description of this column:

The credit card brand. This is a case-sensitive string and is used as a search key for a query to this table.

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

setCheckTaskName

public void setCheckTaskName(java.lang.String aCheckTaskName)

This method provides access to the CCCHECK.CCALGTASKRN column of DB2 type VARCHAR(256) NULL.

The following is a description of this column:

The task command interface name to be called by the default CheckCCNumber task command to perform an algorithmic check of the credit card number after passing the length and prefix check. Example: com.ibm.commerce.payment.commands.DoLuhnCheckCmd

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

setCreditCardReferenceNumber

public void setCreditCardReferenceNumber(java.lang.Integer aCreditCardReferenceNumber)

This method provides access to the CCCHECK.CCRFNBR column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This is the primary key. The combination of CCTYPE, CCLENGTH and CCPREFIX must be unique.

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

setLength

public void setLength(java.lang.Integer aLength)

This method provides access to the CCCHECK.CCLENGTH column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This is the credit card number length.

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

setPrefix

public void setPrefix(java.lang.String aPrefix)

This method provides access to the CCCHECK.CCPREFIX column of DB2 type CHAR(16) NOT NULL.

The following is a description of this column:

This is the credit card prefix.

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