public interface VendorCreateCmd extends ToolsControllerCommand
This command requires to have the store entity id and language id set in the command context.
Parameters
Example xml_string for vendor:
<?xml version="1.0" encoding="UTF-8"?> <XML> <XMLFile>inventory.VendorNewWizard</XMLFile> <vendorName>vendor name</vendorName> <description>description of the vendor</description> <address1>Line 1 of address</address1> <address2>Line 2 of address</address2> <address3>Line 3 of address</address3> <businessTitle>business title</businessTitle> <city>city</city> <country>country</country> <email1>email address</email1> <fax1>fax number</fax1> <firstName>first name</firstName> <lastName>last name</lastName> <middleName>middle name</middleName> <personTitle>person title</personTitle> <phone1>phone number</phone1> <state>state</state> <zipCode>zip code</zipCode> </XML>
Response Parameters
Exceptions
When the required fields are missing or not in the right data type, this command will throw exception to indicate which field is missing or bad.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT |
static java.lang.String | defaultCommandClassName
The default implementation class name.
|
static java.lang.String | NAME |
Modifier and Type | Method and Description |
---|---|
void | setAddress1(java.lang.String newAddress1)
Set vendor address line 1.
|
void | setAddress2(java.lang.String newAddress2)
Set vendor address line 2.
|
void | setAddress3(java.lang.String newAddress3)
Set vendor address line 3.
|
void | setBusinessTitle(java.lang.String newBusinessTitle)
Set the business title.
|
void | setCity(java.lang.String newCity)
Set the city within this address.
|
void | setCountry(java.lang.String newCountry)
Set the country or region within this address.
|
void | setDescription(java.lang.String newDescription)
Set the description of the vendor.
|
void | setEmail1(java.lang.String newEmail1)
Set the primary e-mail address.
|
void | setFax1(java.lang.String newFax1)
Set the primary fax number.
|
void | setFirstName(java.lang.String newFirstName)
Set the first name for the contact person.
|
void | setLastName(java.lang.String newLastName)
Set the last name for the contact person.
|
void | setMiddleName(java.lang.String newMiddleName)
Set the middle name for the contact person.
|
void | setPersonTitle(java.lang.String newPersonTitle)
Set the business title for the contact person.
|
void | setPhone1(java.lang.String newPhone1)
Set the primary phone number.
|
void | setState(java.lang.String newState)
Set the state within this address.
|
void | setVendorName(java.lang.String newVendorName)
Set the vendor name.
|
void | setZipCode(java.lang.String newZipCode)
Set the ZIP code within this address.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
void setAddress1(java.lang.String newAddress1)
void setAddress2(java.lang.String newAddress2)
void setAddress3(java.lang.String newAddress3)
void setBusinessTitle(java.lang.String newBusinessTitle)
void setCity(java.lang.String newCity)
void setCountry(java.lang.String newCountry)
void setDescription(java.lang.String newDescription)
void setEmail1(java.lang.String newEmail1)
void setFax1(java.lang.String newFax1)
void setFirstName(java.lang.String newFirstName)
void setLastName(java.lang.String newLastName)
void setMiddleName(java.lang.String newMiddleName)
void setPersonTitle(java.lang.String newPersonTitle)
void setPhone1(java.lang.String newPhone1)
void setState(java.lang.String newState)
void setVendorName(java.lang.String newVendorName)
void setZipCode(java.lang.String newZipCode)