|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.payment.objects.TradingPurchaseAmountBean
This bean provides access to the TRDPURAMT table.
The following is a description of this table:
This table is used to keep track of Purchase Amounts by Trading Agreements, by Orders or OrderItems. Entries are created only for Trading Agreement with Right-to-Buy by Amount or Obligation-to-Buy by Amount Terms and Conditions.
Constructor Summary | |
TradingPurchaseAmountBean()
|
Method Summary | |
java.math.BigDecimal |
getAmount()
This method provides access to the TRDPURAMT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.lang.String |
getCurrency()
This method provides access to the TRDPURAMT.SETCCURR column of DB2 type CHAR(3) NULL. |
java.lang.Long |
getOrderId()
This method provides access to the TRDPURAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderItemId()
This method provides access to the TRDPURAMT.ORDERITEMS_ID column of DB2 type BIGINT NULL. |
java.lang.Long |
getTradingId()
This method provides access to the TRDPURAMT.TRADING_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getTradingPurchaseAmountId()
This method provides access to the TRDPURAMT.TRDPURAMT_ID column of DB2 type BIGINT NOT NULL. |
void |
setAmount(java.math.BigDecimal aAmount)
This method provides access to the TRDPURAMT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setCurrency(java.lang.String aCurrency)
This method provides access to the TRDPURAMT.SETCCURR column of DB2 type CHAR(3) NULL. |
void |
setOrderId(java.lang.Long aOrderId)
This method provides access to the TRDPURAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderItemId(java.lang.Long aOrderItemId)
This method provides access to the TRDPURAMT.ORDERITEMS_ID column of DB2 type BIGINT NULL. |
void |
setTradingId(java.lang.Long aTradingId)
This method provides access to the TRDPURAMT.TRADING_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingPurchaseAmountId(java.lang.Long aTradingPurchaseAmountId)
This method provides access to the TRDPURAMT.TRDPURAMT_ID column of DB2 type BIGINT NOT NULL. |
Constructor Detail |
public TradingPurchaseAmountBean()
Method Detail |
public java.math.BigDecimal getAmount()
This method provides access to the TRDPURAMT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
Expected purchase amounts for this Trading Agreement for this Order or OrderItem. The amount is in the same currency of the Right-to-Buy Amount and Obligation-to-Buy Amount.
public java.lang.String getCurrency()
This method provides access to the TRDPURAMT.SETCCURR column of DB2 type CHAR(3) NULL.
The following is a description of this column:
Currency of the Amount field. This is a currency code as per ISO 4217 standards.
public java.lang.Long getOrderId()
This method provides access to the TRDPURAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Order ID. Foreign key to the ORDERS table.
public java.lang.Long getOrderItemId()
This method provides access to the TRDPURAMT.ORDERITEMS_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
ID of the OrderItem. This is set to null if all the OrderItems of the Order specify the same Trading ID. Foreign key to the ORDERITEMS table.
public java.lang.Long getTradingId()
This method provides access to the TRDPURAMT.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
ID for the Trading Agreement. Foreign key to the TRADING table.
public java.lang.Long getTradingPurchaseAmountId()
This method provides access to the TRDPURAMT.TRDPURAMT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key for this row.
public void setAmount(java.math.BigDecimal aAmount)
This method provides access to the TRDPURAMT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
Expected purchase amounts for this Trading Agreement for this Order or OrderItem. The amount is in the same currency of the Right-to-Buy Amount and Obligation-to-Buy Amount.
aAmount
- java.math.BigDecimalpublic void setCurrency(java.lang.String aCurrency)
This method provides access to the TRDPURAMT.SETCCURR column of DB2 type CHAR(3) NULL.
The following is a description of this column:
Currency of the Amount field. This is a currency code as per ISO 4217 standards.
aCurrency
- java.lang.Stringpublic void setOrderId(java.lang.Long aOrderId)
This method provides access to the TRDPURAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Order ID. Foreign key to the ORDERS table.
aOrderId
- java.lang.Longpublic void setOrderItemId(java.lang.Long aOrderItemId)
This method provides access to the TRDPURAMT.ORDERITEMS_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
ID of the OrderItem. This is set to null if all the OrderItems of the Order specify the same Trading ID. Foreign key to the ORDERITEMS table.
aOrderItemId
- java.lang.Longpublic void setTradingId(java.lang.Long aTradingId)
This method provides access to the TRDPURAMT.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
ID for the Trading Agreement. Foreign key to the TRADING table.
aTradingId
- java.lang.Longpublic void setTradingPurchaseAmountId(java.lang.Long aTradingPurchaseAmountId)
This method provides access to the TRDPURAMT.TRDPURAMT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key for this row.
aTradingPurchaseAmountId
- java.lang.Long
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |