public class DynamicKitConfigurationAddCmdImpl extends ControllerCommandImpl implements DynamicKitConfigurationAddCmd
Name | XPath | Description |
---|---|---|
configurationId | /XML/ConfigurationId | (Required) The unique configuration ID that represents this configuration. If xmlConfiguration is specified, a value in the XML for ConfigurationId overrides this parameter. |
catEntryId | /XML/DynamicKitId | (Required) The ID of the dynamic kit catalog entry. If xmlConfiguration is specified, a value in the XML for DynamicKitId overrides this parameter. |
currency | /XML/Currency | (Required if prices are specified) The currency in which the prices of the components within the dynamic kit are supplied. If xmlConfiguration is specified, a value in the XML for Currency overrides this parameter. |
URL | /XML/WCSURL | (Required) The URL to be called when the command completes successfully. |
componentId | /XML/WCSItemId | (Required only if partNumber is not provided) The ID of the catalog entry that represents a component of the dynamic kit. Specify a componentId for each component in the kit. If xmlConfiguration is specified, values in the XML for WCSItemId override this parameter. |
partNumber | /XML/WCSPartNumber | (Required only if componentId is not provided. Do not specify if componentId is specified.) The part number of the catalog entry that represents a component of the dynamic kit. Specify a partNumber for each component in the kit. If xmlConfiguration is specified, values in the XML for WCSPartNumber override this parameter. |
memberId | /XML/MemberId | If partNumber is specified then memberId is used to determine the componentId from the partnumber+memberid unique index. If not specified, memberId defaults to the memberId of the current store's organization. If xmlConfiguration is specified, values in the XML for MemberID override this parameter. |
quantity | /XML/Quantity | (Required) The number of this component in the dynamic kit. If xmlConfiguration is specified, values in the XML for Quantity override this parameter. |
price | /XML/UnitPrice | The price of this component. This value is optional; however, if a price is supplied for one component, then every other component also requires a price. If xmlConfiguration is specified, values in the XML for UnitPrice override this parameter. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
Constructor and Description |
---|
DynamicKitConfigurationAddCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void | performExecute()
This method executes the business logic of this command implementation.
|
void | reset()
This method resets the instance variables.
|
void | setCatalogEntryId(java.lang.String astrCatalogEntryId)
This method sets the Catalog Entry Id.
|
void | setConfigurationComponents(java.lang.String[] astrarComponents)
This method sets the list of configuration components.
|
void | setConfigurationId(java.lang.String astrConfigurationId)
This method sets the configurationId.
|
void | setCurrency(java.lang.String astrCurrency)
(Optional) This method sets the currency of the Prices for the configuration components.
|
void | setMemberId(java.lang.String[] astrarMemberId)
(Optional) This method sets the list of member id for each of the configuration components.
|
void | setPartNumber(java.lang.String[] astrarPartNumber)
(Optional) This method sets the list of part number for each of the configuration components.
|
void | setPrices(java.lang.String[] astrarPrices)
(Optional) This method sets the list of prices for each of the configuration components.
|
void | setQuantities(java.lang.String[] astrarQuantities)
This method sets the list of quantities of the configuration components.
|
void | setRequestProperties(TypedProperty reqParms)
This method sets the request properties.
|
void | setXMLDefinition(java.lang.String astrXMLDefinition)
This method sets the XML Definition of the configuration.
|
void | validateParameters()
This method extracts and validates the input parameters of this command implementation.
|
public static final java.lang.String COPYRIGHT
public void performExecute() throws ECException
public void reset()
public void setCatalogEntryId(java.lang.String astrCatalogEntryId)
public void setConfigurationComponents(java.lang.String[] astrarComponents)
public void setConfigurationId(java.lang.String astrConfigurationId)
public void setCurrency(java.lang.String astrCurrency)
public void setMemberId(java.lang.String[] astrarMemberId)
public void setPartNumber(java.lang.String[] astrarPartNumber)
public void setPrices(java.lang.String[] astrarPrices)
public void setQuantities(java.lang.String[] astrarQuantities)
public void setXMLDefinition(java.lang.String astrXMLDefinition)
public void setRequestProperties(TypedProperty reqParms) throws ECException
public void validateParameters() throws ECException