com.ibm.commerce.inventory.commands
Interface CreateStoreAddressCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
CreateStoreAddressCmdImpl

public interface CreateStoreAddressCmd
extends TaskCommand

Creates the fulfillment or vendor address.

This task command requires to have the store entity id and language id set in the command context.

Input Parameters

address1
Vendor address line 1
address2
Vendor address line 2
address3
Vendor address line 3
businessTitle
The businerss title.
city
The city within this address.
country
The country or region within this address.
email1
The primary e-mail address.
email2
The secondary e-mail address.
fax1
The primary fax number.
fax2
The secondary fax number.
field1
The value of field1.
field2
The value of field2.
field3
The value of field3.
firstName
The first name for the contact person.
lastName
The last name for the contact person.
memberId
The owner identifier.
middleName
The middle name for the contact person.
nickName
The the nickname for the address.
personTitle
The business title for the contact person.
phone1
The primary phone number.
phone2
The secondary phone number.
ShippingGeoCode
The shipping geographic code.
state
The state within this address.
taxGeoCode
The tax geographic code.
zipCode
The ZIP code within this address.

Output Parameters

staddressId
The store address identifier.

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.


Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
static java.lang.String defaultCommandClassName
          The default implementation class is "com.ibm.commerce.inventory.commands.CreateStoreAddressCmdImpl".
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.inventory.commands.CreateStoreAddressCmd".
 
Method Summary
 java.lang.String getStoreAddressId()
          Set the vendor address identifier.
 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 setEmail1(java.lang.String newEmail1)
          Set the primary e-mail address.
 void setEmail2(java.lang.String newEmail2)
          Set the secondary e-mail address.
 void setFax1(java.lang.String newFax1)
          Set the primary fax number.
 void setFax2(java.lang.String newFax2)
          Set the secondary fax number.
 void setField1(java.lang.String newField1)
          Set the value of field1.
 void setField2(java.lang.String newField2)
          Set the value of field2.
 void setField3(java.lang.String newField3)
          Set the value of field3.
 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 setMemberId(java.lang.String newMemberId)
          Set the owner identifier.
 void setMiddleName(java.lang.String newMiddleName)
          Set the middle name for the contact person.
 void setNickname(java.lang.String newNickname)
          Set the nickname for the address.
 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 setPhone2(java.lang.String newPhone2)
          Set the secondary phone number.
 void setRequestProperties( TypedProperty newRequestProperties)
          Set request properties.
 void setShippingGeoCode(java.lang.String newShippingGeoCode)
          Set the shipping geographic code.
 void setState(java.lang.String newState)
          Set the state within this address.
 void setTaxGeoCode(java.lang.String newTaxGeoCode)
          Set the tax geographic code.
 void setZipCode(java.lang.String newZipCode)           Set the ZIP code within this address.
 

Field Detail
public static final java.lang.String COPYRIGHT
The internal copyright field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.inventory.commands.CreateStoreAddressCmd".
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class is "com.ibm.commerce.inventory.commands.CreateStoreAddressCmdImpl".
See Also:
Constant Field Values
Method Detail

getStoreAddressId

public java.lang.String getStoreAddressId()
Set the vendor address identifier.
Returns:
Vendor address.

setAddress1

public void setAddress1(java.lang.String newAddress1)
Set vendor address line 1.
Parameters:
newAddress1 - vendor address line 1

setAddress2

public void setAddress2(java.lang.String newAddress2)
Set vendor address line 2.
Parameters:
newAddress2 - vendor address line 2

setAddress3

public void setAddress3(java.lang.String newAddress3)
Set vendor address line 3.
Parameters:
newAddress3 - vendor address line 3

setBusinessTitle

public void setBusinessTitle(java.lang.String newBusinessTitle)
Set the business title.
Parameters:
newBusinessTitle - business title

setCity

public void setCity(java.lang.String newCity)
Set the city within this address.
Parameters:
newCity - city

setCountry

public void setCountry(java.lang.String newCountry)
Set the country or region within this address.
Parameters:
newCountry - country or region

setEmail1

public void setEmail1(java.lang.String newEmail1)
Set the primary e-mail address.
Parameters:
newEmail1 - e-mail

setEmail2

public void setEmail2(java.lang.String newEmail2)
Set the secondary e-mail address.
Parameters:
newEmail2 - e-mail

setFax1

public void setFax1(java.lang.String newFax1)
Set the primary fax number.
Parameters:
newFax1 - fax number

setFax2

public void setFax2(java.lang.String newFax2)
Set the secondary fax number.
Parameters:
newFax2 - fax number

setField1

public void setField1(java.lang.String newField1)
Set the value of field1.
Parameters:
newField1 - field1

setField2

public void setField2(java.lang.String newField2)
Set the value of field2.
Parameters:
newField2 - field2

setField3

public void setField3(java.lang.String newField3)
Set the value of field3.
Parameters:
newField3 - field3

setFirstName

public void setFirstName(java.lang.String newFirstName)
Set the first name for the contact person.
Parameters:
newFirstName - given name

setLastName

public void setLastName(java.lang.String newLastName)
Set the last name for the contact person.
Parameters:
newLastName - surname

setMemberId

public void setMemberId(java.lang.String newMemberId)
Set the owner identifier.
Parameters:
newMemberId - owner id

setMiddleName

public void setMiddleName(java.lang.String newMiddleName)
Set the middle name for the contact person.
Parameters:
newMiddleName - middle name or initial

setNickname

public void setNickname(java.lang.String newNickname)
Set the nickname for the address.
Parameters:
newNickname - address nickname

setPersonTitle

public void setPersonTitle(java.lang.String newPersonTitle)
Set the business title for the contact person.
Parameters:
newPersonTitle - business title

setPhone1

public void setPhone1(java.lang.String newPhone1)
Set the primary phone number.
Parameters:
newPhone1 - phone number

setPhone2

public void setPhone2(java.lang.String newPhone2)
Set the secondary phone number.
Parameters:
newPhone2 - phone number

setShippingGeoCode

public void setShippingGeoCode(java.lang.String newShippingGeoCode)
Set the shipping geographic code.
Parameters:
newShippingGeoCode - geographic code

setState

public void setState(java.lang.String newState)
Set the state within this address.
Parameters:
newState - state

setTaxGeoCode

public void setTaxGeoCode(java.lang.String newTaxGeoCode)
Set the tax geographic code.
Parameters:
newTaxGeoCode - geographic code

setZipCode

public void setZipCode(java.lang.String newZipCode)
Set the ZIP code within this address.
Parameters:
newZipCode - postal code

setRequestProperties

public void setRequestProperties(TypedProperty newRequestProperties)
                          throws ECApplicationException
Set request properties.
Parameters:
newRequestProperties - name value pairs
Throws:
ECApplicationException