|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.common.objects.CurrencyFormatBean
This bean provides access to the CURFORMAT table.
The following is a description of this table:
Each row of this table represents the Language-independent part of a currency formatting rule. If a Store has no formatting rule for a particular currency, it uses the formatting rule of its StoreGroup.
Constructor Summary | |
CurrencyFormatBean()
|
Method Summary | |
java.lang.String |
getCurrencyCode()
This method provides access to the CURFORMAT.SETCCURR column of DB2 type CHAR(3) NOT NULL. |
java.lang.Integer |
getDecimalPlaces()
This method provides access to the CURFORMAT.DECIMALPLACES column of DB2 type INTEGER NOT NULL. |
java.math.BigDecimal |
getMinimumApproveAmount()
This method provides access to the CURFORMAT.MINAPPROVEAMOUNT column of DB2 type DECIMAL(20,5) NULL. |
java.lang.Integer |
getNumberUsgId()
This method provides access to the CURFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getRoundingMethod()
This method provides access to the CURFORMAT.ROUNDINGMETHOD column of DB2 type CHAR(1) NOT NULL. |
java.lang.Integer |
getRoundingMultiple()
This method provides access to the CURFORMAT.ROUNDINGMULTIPLE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getStoreEntityId()
This method provides access to the CURFORMAT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setDecimalPlaces(java.lang.Integer aDecimalPlaces)
This method provides access to the CURFORMAT.DECIMALPLACES column of DB2 type INTEGER NOT NULL. |
void |
setMinimumApproveAmount(java.math.BigDecimal aMinimumApproveAmount)
This method provides access to the CURFORMAT.MINAPPROVEAMOUNT column of DB2 type DECIMAL(20,5) NULL. |
void |
setNumberUsgId(java.lang.Integer aNumberUsgId)
This method provides access to the CURFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL. |
void |
setRoundingMethod(java.lang.String aRoundingMethod)
This method provides access to the CURFORMAT.ROUNDINGMETHOD column of DB2 type CHAR(1) NOT NULL. |
void |
setRoundingMultiple(java.lang.Integer aRoundingMultiple)
This method provides access to the CURFORMAT.ROUNDINGMULTIPLE column of DB2 type INTEGER NOT NULL. |
Constructor Detail |
public CurrencyFormatBean()
Method Detail |
public java.lang.String getCurrencyCode()
This method provides access to the CURFORMAT.SETCCURR column of DB2 type CHAR(3) NOT NULL.
The following is a description of this column:
The currency. This is a currency code as per ISO 4217 standards.
public java.lang.Integer getDecimalPlaces()
This method provides access to the CURFORMAT.DECIMALPLACES column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The number of decimal places in a rounded or truncated monetary amount.
public java.math.BigDecimal getMinimumApproveAmount()
This method provides access to the CURFORMAT.MINAPPROVEAMOUNT column of DB2 type DECIMAL(20,5) NULL.
The following is a description of this column:
A small amount to be authorized when a backorder is initially submitted, to check that a successful authorization can be obtained. The full amount of the Order will not be authorized until sufficient inventory is allocated to release the backorder.
public java.lang.Integer getNumberUsgId()
This method provides access to the CURFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This currency formatting rule should be used when formatting monetary amounts for this usage.
public java.lang.String getRoundingMethod()
This method provides access to the CURFORMAT.ROUNDINGMETHOD column of DB2 type CHAR(1) NOT NULL.
The following is a description of this column:
How to round to a multiple of ROUNDINGMULTIPLE:
R = round normally - up or down - to the nearest multiple
T = truncate - round down for positive amounts, round up for negative amounts.
public java.lang.Integer getRoundingMultiple()
This method provides access to the CURFORMAT.ROUNDINGMULTIPLE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Rounding multiple according to national law or practice. For example, specify 5 to round dollars to the nearest five cent piece. The default value is 1.
public java.lang.Integer getStoreEntityId()
This method provides access to the CURFORMAT.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity this formatting rule is part of.
public void setDecimalPlaces(java.lang.Integer aDecimalPlaces)
This method provides access to the CURFORMAT.DECIMALPLACES column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The number of decimal places in a rounded or truncated monetary amount.
aDecimalPlaces
- java.lang.Integerpublic void setMinimumApproveAmount(java.math.BigDecimal aMinimumApproveAmount)
This method provides access to the CURFORMAT.MINAPPROVEAMOUNT column of DB2 type DECIMAL(20,5) NULL.
The following is a description of this column:
A small amount to be authorized when a backorder is initially submitted, to check that a successful authorization can be obtained. The full amount of the Order will not be authorized until sufficient inventory is allocated to release the backorder.
aMinimumApproveAmount
- java.math.BigDecimalpublic void setNumberUsgId(java.lang.Integer aNumberUsgId)
This method provides access to the CURFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This currency formatting rule should be used when formatting monetary amounts for this usage.
aNumberUsgId
- java.lang.Integerpublic void setRoundingMethod(java.lang.String aRoundingMethod)
This method provides access to the CURFORMAT.ROUNDINGMETHOD column of DB2 type CHAR(1) NOT NULL.
The following is a description of this column:
How to round to a multiple of ROUNDINGMULTIPLE:
R = round normally - up or down - to the nearest multiple
T = truncate - round down for positive amounts, round up for negative amounts.
aRoundingMethod
- java.lang.Stringpublic void setRoundingMultiple(java.lang.Integer aRoundingMultiple)
This method provides access to the CURFORMAT.ROUNDINGMULTIPLE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Rounding multiple according to national law or practice. For example, specify 5 to round dollars to the nearest five cent piece. The default value is 1.
aRoundingMultiple
- java.lang.Integer
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |