public class SimpleGetPriceCmdInput extends AbstractGetPriceCmdInput
GetPriceCmdInput
that has a "set" method
for each "get" method.Constructor and Description |
---|
SimpleGetPriceCmdInput()
Constructor for SimpleGetPriceCmdInput.
|
Modifier and Type | Method and Description |
---|---|
MixList<CatEntryPrices> |
getCatEntries()
Returns the catalog entry information which is used in batch mode.
|
java.lang.Long |
getCatEntryID()
Returns the catalog entry for single mode calculations.
|
java.lang.String |
getCurrency()
Returns the currency to be used.
|
MixList<java.lang.Long> |
getCurrentTradingIDs()
Returns the trading agreements that are currently assigned to the user.
|
java.util.Map |
getCustomData()
Returns the custom data associated with the main catalog entry.
|
MixList<java.lang.Long> |
getEligibleTradingIDs()
Returns the trading agreements that the user is entitled to use.
|
java.lang.Long |
getMemberID()
Returns the member that will be used to determine entitlement for the
trading agreements.
|
java.lang.Long[] |
getOfferIDs()
Returns the offer identifiers that will take precedence among the valid
offers.
|
com.ibm.commerce.order.objects.OrderItemAccessBean |
getOrderItem()
Returns the order item that is given by the order component.
|
java.lang.Long |
getOrganizationID()
Returns the organization under which the member acts for determining
entitlement.
|
QuantityAmount |
getQuantity()
Returns the quantity to be used in single mode.
|
java.lang.Integer |
getStoreID()
Returns the store to be used to determine prices.
|
MixList<java.lang.Long> |
getTradingIDs()
Returns the trading agreements to use when determining prices.
|
java.lang.Boolean |
isThrowPriceExceptions()
Returns whether the command will throw an exception if a price could not
be found.
|
void |
setCatEntries(MixList<CatEntryPrices> newCatEntries)
Sets the catalog entry information objects.
|
void |
setCatEntryID(java.lang.Long newCatEntryID)
Sets the catalog entry identifier.
|
void |
setCurrency(java.lang.String newCurrency)
Sets the currency.
|
void |
setCustomData(java.util.Map newCustomData)
Sets the custom data for the command.
|
void |
setMemberID(java.lang.Long newMemberID)
Sets the member identifier.
|
void |
setOfferIDs(java.lang.Long[] newOfferIDs)
Sets the offer identifiers.
|
void |
setOrderItem(com.ibm.commerce.order.objects.OrderItemAccessBean newOrderItem)
Sets the order item for this command.
|
void |
setOrganizationID(java.lang.Long newOrganizationID)
Sets the organization identifier.
|
void |
setQuantity(QuantityAmount newQuantity)
Sets the quantity.
|
void |
setStoreID(java.lang.Integer newStoreID)
Sets the store identifier.
|
void |
setThrowPriceExceptions(java.lang.Boolean newThrowPriceExceptions)
Sets whether the command throws exceptions when no price is found.
|
void |
setTradingIDs(MixList<java.lang.Long> newTradingIDs)
Sets the trading agreement identifiers.
|
isBatchMode, isValid, setToCommand, setToCommand, setToCommand, toString
public SimpleGetPriceCmdInput()
public MixList<CatEntryPrices> getCatEntries()
GetPriceCmdInput
public java.lang.Long getCatEntryID()
GetPriceCmdInput
public java.lang.String getCurrency()
GetPriceCmdInput
public MixList<java.lang.Long> getCurrentTradingIDs()
GetPriceCmdInput
This method does not have a corresponding method in any of the price commands.
public java.util.Map getCustomData()
GetPriceCmdInput
GetCustomContractUnitPriceCmd#setCustomData(Map)
public MixList<java.lang.Long> getEligibleTradingIDs()
GetPriceCmdInput
This method does not have a corresponding method in any of the price commands.
public java.lang.Long getMemberID()
GetPriceCmdInput
public java.lang.Long[] getOfferIDs()
GetPriceCmdInput
public com.ibm.commerce.order.objects.OrderItemAccessBean getOrderItem()
GetPriceCmdInput
public java.lang.Long getOrganizationID()
GetPriceCmdInput
public QuantityAmount getQuantity()
GetPriceCmdInput
public java.lang.Integer getStoreID()
GetPriceCmdInput
public MixList<java.lang.Long> getTradingIDs()
GetPriceCmdInput
public java.lang.Boolean isThrowPriceExceptions()
GetPriceCmdInput
public void setCatEntries(MixList<CatEntryPrices> newCatEntries)
newCatEntries
- The catalog entry information objects. May be null or empty.getCatEntries()
public void setCatEntryID(java.lang.Long newCatEntryID)
newCatEntryID
- The catalog entry ID. May be null.getCatEntryID()
public void setCurrency(java.lang.String newCurrency)
newCurrency
- The currency. May be null, but not empty.getCurrency()
public void setCustomData(java.util.Map newCustomData)
newCustomData
- The custom data. Any key and value may be used. May be null.getCustomData()
public void setMemberID(java.lang.Long newMemberID)
newMemberID
- The member identifier. May be null.getMemberID()
public void setOfferIDs(java.lang.Long[] newOfferIDs)
newOfferIDs
- The offer identifiers. May be null or empty.getOfferIDs()
public void setOrderItem(com.ibm.commerce.order.objects.OrderItemAccessBean newOrderItem)
newOrderItem
- The order item. May be null.getOrderItem()
public void setOrganizationID(java.lang.Long newOrganizationID)
newOrganizationID
- The organization identifier. May be null.getOrganizationID()
public void setQuantity(QuantityAmount newQuantity)
newQuantity
- The quantity. May be null.getQuantity()
public void setStoreID(java.lang.Integer newStoreID)
newStoreID
- The store identifier. May be null.getStoreID()
public void setThrowPriceExceptions(java.lang.Boolean newThrowPriceExceptions)
newThrowPriceExceptions
- True indicates the command will throw exceptions, false
indicates the command will not throw exceptions, and null
indicates the value is not set (likely deferred to a default
value).isThrowPriceExceptions()
public void setTradingIDs(MixList<java.lang.Long> newTradingIDs)
newTradingIDs
- The trading agreement identifiers. May be null or empty.getTradingIDs()