|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Command Name: OfferUpdate Command Type: URL and Controller Command Description: 1. Updates an Offer, 2. Updatesan Offer Description, 3. Updates an Offer Price. 4. Calls List PriceUpdate command Parameters: 1. All fields in the Offer. 2. All fields in the OfferDesc. 3. All fields in the OfferPrice 4. See ListPriceUpdate command Tables: 1. Offer 2. OfferDescription 3. OfferPrice 4. See ListPriceUpdate command Task Commands: UpdateOfferCmd Other Controller Commands: ListpriceUpdateCmd Mandatory Parameters: offerId, or catentryId + identifier Additional Parameters: Optional Parameters: field1, field2, flags, maxQuantity, minQuantity, precedence, published, qtyunitId, desc, descLangId, compareprice, currency, price, URL
Field Summary | |
static java.lang.String |
CLASSNAME
|
static java.lang.String |
COPYRIGHT
|
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Method Summary | |
java.lang.Long |
getCatentryId()
Get the catalog entry Id |
java.lang.String |
getCurrency()
Get the currency |
void |
setCatentryId(java.lang.Long anCatentryId)
Set the catalog entry Id |
void |
setCompareprice(java.math.BigDecimal abdCompareprice)
Set the comparative price |
void |
setCurrency(java.lang.String astrCurrency)
Set the currency |
void |
setDescLanguage(java.lang.Integer anDescLanguage)
Set the language Id used for the offer description |
void |
setDescription(java.lang.String astrDescription)
Set the description of the offer |
void |
setEnddate(java.sql.Timestamp atmEnddate)
Sets the end date of the offer |
void |
setField1(java.lang.String astrField1)
Set field 1 of the offer |
void |
setField2(java.lang.String astrField2)
Set field 2 of the offer |
void |
setFlags(java.lang.Integer anFlags)
Set offer flags 1 = shipto address required (if 1, OrderPrepare will return an error if an OrderItem references this offer but does not have a shipping address) |
void |
setIdentifier(java.lang.Long anIdentifier)
Set the offer identifier |
void |
setLastupdate(java.sql.Timestamp atmLastupdate)
Set the last update time of the offer |
void |
setMaximumQuantity(java.lang.Double adMaximumQuantity)
Set the maximum quantity allowed for the offer |
void |
setMinimumQuantity(java.lang.Double adMinimumQuantity)
Set the minimum quantity required for the offer |
void |
setOfferId(java.lang.Long anOfferId)
Set the offer Id |
void |
setOID(java.lang.String astrOID)
Set the object identifier of the offer |
void |
setPrecedence(java.lang.Double adPrecedence)
Set the precedence of the offer When more than one offer is effective at a particular time, the one with the highest precedence is used. |
void |
setPrice(java.math.BigDecimal abdPrice)
Set the offer price |
void |
setPublished(java.lang.Integer anPublished)
Set the published flag of the offer 0 = offer is not published (temporarily disabled). |
void |
setQtyunitId(java.lang.String astrQtyunitId)
Set the quantity unit Id. |
void |
setStartdate(java.sql.Timestamp atmStartdate)
Sets the start date of the offer |
void |
setTradeposcnId(java.lang.Long anTradeposcnId)
Set trading positioning container Id for the offer |
void |
setURL(java.lang.String astrURL)
Set the redirect URL |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
Method Detail |
public java.lang.Long getCatentryId()
public java.lang.String getCurrency()
public void setCatentryId(java.lang.Long anCatentryId)
anCatentryId
- java.lang.Longpublic void setCompareprice(java.math.BigDecimal abdCompareprice)
abdCompareprice
- java.math.BigDecimalpublic void setCurrency(java.lang.String astrCurrency)
astrCurrency
- java.lang.Stringpublic void setDescLanguage(java.lang.Integer anDescLanguage)
anDescLanguage
- java.lang.Integerpublic void setDescription(java.lang.String astrDescription)
astrDescription
- java.lang.Stringpublic void setEnddate(java.sql.Timestamp atmEnddate)
atmEnddate
- java.sql.Timestamppublic void setField1(java.lang.String astrField1)
astrField1
- java.lang.Stringpublic void setField2(java.lang.String astrField2)
astrField2
- java.lang.Stringpublic void setFlags(java.lang.Integer anFlags)
anFlags
- java.lang.Integerpublic void setIdentifier(java.lang.Long anIdentifier)
anIdentifier
- java.lang.Longpublic void setLastupdate(java.sql.Timestamp atmLastupdate)
atmLastupdate
- java.sql.Timestamppublic void setMaximumQuantity(java.lang.Double adMaximumQuantity)
adMaximumQuantity
- java.lang.Doublepublic void setMinimumQuantity(java.lang.Double adMinimumQuantity)
adMinimumQuantity
- java.lang.Doublepublic void setOfferId(java.lang.Long anOfferId)
anOfferId
- java.lang.Longpublic void setOID(java.lang.String astrOID)
astrOID
- java.lang.Stringpublic void setPrecedence(java.lang.Double adPrecedence)
adPrecedence
- java.lang.Doublepublic void setPrice(java.math.BigDecimal abdPrice)
abdPrice
- java.math.BigDecimalpublic void setPublished(java.lang.Integer anPublished)
anPublished
- java.lang.Integerpublic void setQtyunitId(java.lang.String astrQtyunitId)
astrQtyunitId
- java.lang.Stringpublic void setStartdate(java.sql.Timestamp atmStartdate)
atmStartdate
- java.sql.Timestamppublic void setTradeposcnId(java.lang.Long anTradeposcnId)
anTradeposcnId
- java.lang.Longpublic void setURL(java.lang.String astrURL)
astrURL
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |