|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.fulfillment.objects.CalculationScaleBean
This bean provides access to the CALSCALE table.
The following is a description of this table:
A row in this table represents a CalculationScale, which can be used to perform a scale lookup to calculate a monetary amount, for a given set of OrderItems.
Constructor Summary | |
CalculationScaleBean()
|
Method Summary | |
java.lang.Integer |
getCalculationMethodId()
This method provides access to the CALSCALE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationScaleId()
This method provides access to the CALSCALE.CALSCALE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationUsageId()
This method provides access to the CALSCALE.CALUSAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getCode()
This method provides access to the CALSCALE.CODE column of DB2 type CHAR(30) NULL. |
java.lang.String |
getCurrency()
This method provides access to the CALSCALE.SETCCURR column of DB2 type CHAR(3) NULL. |
java.lang.String |
getDescription()
This method provides access to the CALSCALE.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getField1()
This method provides access to the CALSCALE.FIELD1 column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getQuantityUnitId()
This method provides access to the CALSCALE.QTYUNIT_ID column of DB2 type CHAR(16) NULL. |
java.lang.Integer |
getStoreEntityId()
This method provides access to the CALSCALE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setCalculationMethodId(java.lang.Integer aCalculationMethodId)
This method provides access to the CALSCALE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL. |
void |
setCalculationScaleId(java.lang.Integer aCalculationScaleId)
This method provides access to the CALSCALE.CALSCALE_ID column of DB2 type INTEGER NOT NULL. |
void |
setCalculationUsageId(java.lang.Integer aCalculationUsageId)
This method provides access to the CALSCALE.CALUSAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setCode(java.lang.String aCode)
This method provides access to the CALSCALE.CODE column of DB2 type CHAR(30) NULL. |
void |
setCurrency(java.lang.String aCurrency)
This method provides access to the CALSCALE.SETCCURR column of DB2 type CHAR(3) NULL. |
void |
setDescription(java.lang.String aDescription)
This method provides access to the CALSCALE.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
void |
setField1(java.lang.String aField1)
This method provides access to the CALSCALE.FIELD1 column of DB2 type VARCHAR(254) NULL. |
void |
setQuantityUnitId(java.lang.String aQuantityUnitId)
This method provides access to the CALSCALE.QTYUNIT_ID column of DB2 type CHAR(16) NULL. |
void |
setStoreEntityId(java.lang.Integer aStoreEntityId)
This method provides access to the CALSCALE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
Constructor Detail |
public CalculationScaleBean()
Method Detail |
public java.lang.Integer getCalculationMethodId()
This method provides access to the CALSCALE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationScaleLookupMethod that given a set of OrderItems determines a "lookup number", a "base monetary value", a "result multiplier", and a set of mathematical weights that can be used by the CalculationScale to calculate a monetary amount.
public java.lang.Integer getCalculationScaleId()
This method provides access to the CALSCALE.CALSCALE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique identifier.
public java.lang.Integer getCalculationUsageId()
This method provides access to the CALSCALE.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates the kind of calculation this CalculationScale is used for. For example, the CalculationScale may be used to calculate one of the following monetary amounts: discounts, shipping charges, sales tax, or shipping tax.
public java.lang.String getCode()
This method provides access to the CALSCALE.CODE column of DB2 type CHAR(30) NULL.
The following is a description of this column:
A character string that uniquely identifies this CalculationScale, given a particular CalculationUsage and StoreEntity.
public java.lang.String getCurrency()
This method provides access to the CALSCALE.SETCCURR column of DB2 type CHAR(3) NULL.
The following is a description of this column:
If specified, the currency for the rangeStart values of the CalculationRange objects for this CalculationScale. The CalculationScaleLookupMethod should return a "lookup number" in this currency. This is a currency code as per ISO 4217 standards.
public java.lang.String getDescription()
This method provides access to the CALSCALE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
A brief description of this CalculationScale, suitable for display by a user interface that allows creators of CalculationRules to choose from a list of available CalculationScales.
public java.lang.String getField1()
This method provides access to the CALSCALE.FIELD1 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Customizable.
public java.lang.String getQuantityUnitId()
This method provides access to the CALSCALE.QTYUNIT_ID column of DB2 type CHAR(16) NULL.
The following is a description of this column:
If specified, the unit of measure for the rangeStart values of the CalculationRange objects for this CalculationScale. The CalculationScaleLookupMethod should return a "lookup number" in these units.
public java.lang.Integer getStoreEntityId()
This method provides access to the CALSCALE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationScale is part of this StoreEntity.
public void setCalculationMethodId(java.lang.Integer aCalculationMethodId)
This method provides access to the CALSCALE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationScaleLookupMethod that given a set of OrderItems determines a "lookup number", a "base monetary value", a "result multiplier", and a set of mathematical weights that can be used by the CalculationScale to calculate a monetary amount.
aCalculationMethodId
- java.lang.Integerpublic void setCalculationScaleId(java.lang.Integer aCalculationScaleId)
This method provides access to the CALSCALE.CALSCALE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique identifier.
aCalculationScaleId
- java.lang.Integerpublic void setCalculationUsageId(java.lang.Integer aCalculationUsageId)
This method provides access to the CALSCALE.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates the kind of calculation this CalculationScale is used for. For example, the CalculationScale may be used to calculate one of the following monetary amounts: discounts, shipping charges, sales tax, or shipping tax.
aCalculationUsageId
- java.lang.Integerpublic void setCode(java.lang.String aCode)
This method provides access to the CALSCALE.CODE column of DB2 type CHAR(30) NULL.
The following is a description of this column:
A character string that uniquely identifies this CalculationScale, given a particular CalculationUsage and StoreEntity.
aCode
- java.lang.Stringpublic void setCurrency(java.lang.String aCurrency)
This method provides access to the CALSCALE.SETCCURR column of DB2 type CHAR(3) NULL.
The following is a description of this column:
If specified, the currency for the rangeStart values of the CalculationRange objects for this CalculationScale. The CalculationScaleLookupMethod should return a "lookup number" in this currency. This is a currency code as per ISO 4217 standards.
aCurrency
- java.lang.Stringpublic void setDescription(java.lang.String aDescription)
This method provides access to the CALSCALE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
A brief description of this CalculationScale, suitable for display by a user interface that allows creators of CalculationRules to choose from a list of available CalculationScales.
aDescription
- java.lang.Stringpublic void setField1(java.lang.String aField1)
This method provides access to the CALSCALE.FIELD1 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Customizable.
aField1
- java.lang.Stringpublic void setQuantityUnitId(java.lang.String aQuantityUnitId)
This method provides access to the CALSCALE.QTYUNIT_ID column of DB2 type CHAR(16) NULL.
The following is a description of this column:
If specified, the unit of measure for the rangeStart values of the CalculationRange objects for this CalculationScale. The CalculationScaleLookupMethod should return a "lookup number" in these units.
aQuantityUnitId
- java.lang.Stringpublic void setStoreEntityId(java.lang.Integer aStoreEntityId)
This method provides access to the CALSCALE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationScale is part of this StoreEntity.
aStoreEntityId
- java.lang.Integer
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |