public interface OfferAddCmd extends ControllerCommand
OfferAddCmd
is a URL and controller command that:
ListPriceAddCmd
to create a list price.
Offer
table.
OfferDesc
table.
OfferPrice
table.
ListPriceAdd
command.
OfferAccessBean
OfferDescriptionAccessBean
OfferPriceAccessBean
ListPriceAdd
command.
AddOfferCmd
ListpriceAddCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.OfferAddCmd".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCatentryId()
Gets the catalog entry ID.
|
java.lang.Long |
getOfferId()
Gets the offer ID.
|
void |
setCatentryId(java.lang.Long anCatentryId)
Sets the catalog entry ID.
|
void |
setCompareprice(java.math.BigDecimal abdCompareprice)
Sets the comparative price of the catalog entry.
|
void |
setCurrency(java.lang.String astrCurrency)
Sets the currency of the price.
|
void |
setDescLanguage(java.lang.Integer anDescLanguage)
Sets the language ID used for the offer description.
|
void |
setDescription(java.lang.String astrDescription)
Sets the language dependent description of the offer.
|
void |
setEnddate(java.sql.Timestamp atmEnddate)
Sets the end date of the offer.
|
void |
setField1(java.lang.String astrField1)
Sets field 1 of the offer.
|
void |
setField2(java.lang.String astrField2)
Sets field 2 of the offer.
|
void |
setFlags(java.lang.Integer anFlags)
Sets the offer flag:
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)
Sets the offer identifier.
|
void |
setLastupdate(java.sql.Timestamp atmLastupdate)
Sets the last update time of the offer.
|
void |
setMaximumQuantity(java.lang.Double adMaximumQuantity)
Sets the maximum quantity allowed for the offer.
|
void |
setMinimumQuantity(java.lang.Double adMinimumQuantity)
Sets the minimum quantity required for the offer.
|
void |
setOfferId(java.lang.Long anOfferId)
Sets the offer ID used to create offer description and offer price.
|
void |
setOID(java.lang.String astrOID)
Sets the object identifier for the offer.
|
void |
setPrecedence(java.lang.Double adPrecedence)
Sets the precedence of the offer.
|
void |
setPrice(java.math.BigDecimal abdPrice)
Sets the offer price of the catalog entry.
|
void |
setPublished(java.lang.Integer anPublished)
Sets the published flag of the offer:
0 = offer is not published (temporarily disabled).
|
void |
setQtyunitId(java.lang.String astrQtyunitId)
Sets the quantity unit ID.
|
void |
setStartdate(java.sql.Timestamp atmStartdate)
Sets the start date of the offer.
|
void |
setTradeposcnId(java.lang.Long anTradeposcnId)
Sets the trading position container ID for the offer.
|
void |
setURL(java.lang.String astrURL)
Sets the redirect URL.
|
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
static final java.lang.String COPYRIGHT
static final java.lang.String CLASSNAME
java.lang.Long getCatentryId()
java.lang.Long getOfferId()
void setCatentryId(java.lang.Long anCatentryId)
anCatentryId
- the catalog entry IDvoid setField1(java.lang.String astrField1)
astrField1
- customizable field 1void setField2(java.lang.String astrField2)
astrField2
- customizable field 2void setFlags(java.lang.Integer anFlags)
anFlags
- the offer flagvoid setIdentifier(java.lang.Long anIdentifier)
anIdentifier
- the identifier of the offervoid setLastupdate(java.sql.Timestamp atmLastupdate)
atmLastupdate
- the time the offer is created or last updatedvoid setMaximumQuantity(java.lang.Double adMaximumQuantity)
adMaximumQuantity
- the maximum quantity allowedvoid setMinimumQuantity(java.lang.Double adMinimumQuantity)
adMinimumQuantity
- the minimum quantity requiredvoid setOID(java.lang.String astrOID)
astrOID
- the object identifiervoid setPrecedence(java.lang.Double adPrecedence)
adPrecedence
- the precedence of the offervoid setPublished(java.lang.Integer anPublished)
anPublished
- the published flag of the offervoid setQtyunitId(java.lang.String astrQtyunitId)
astrQtyunitId
- the quantity unit IDvoid setTradeposcnId(java.lang.Long anTradeposcnId)
anTradeposcnId
- the trading position container IDvoid setStartdate(java.sql.Timestamp atmStartdate)
atmStartdate
- the start datevoid setEnddate(java.sql.Timestamp atmEnddate)
atmEnddate
- the end datevoid setOfferId(java.lang.Long anOfferId)
anOfferId
- the offer IDvoid setCompareprice(java.math.BigDecimal abdCompareprice)
abdCompareprice
- the comparative price of the catalog entryvoid setCurrency(java.lang.String astrCurrency)
astrCurrency
- the currency used for the offer pricevoid setPrice(java.math.BigDecimal abdPrice)
abdPrice
- the offer pricevoid setDescLanguage(java.lang.Integer anDescLanguage)
anDescLanguage
- the language IDvoid setDescription(java.lang.String astrDescription)
astrDescription
- the offer descriptionvoid setURL(java.lang.String astrURL)
astrURL
- the redirect URL