com.ibm.commerce.inventory.commands
Interface CreateStoreAddressCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
CreateStoreAddressCmdImpl

public interface CreateStoreAddressCmd
extends TaskCommand

Create the fulfillment or vendor address.

This 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.
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
The internal copyright field.

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class is "com.ibm.commerce.inventory.commands.CreateStoreAddressCmdImpl".

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.inventory.commands.CreateStoreAddressCmd".
Method Detail

getStoreAddressId

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

setAddress1

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

setAddress2

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

setAddress3

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

setBusinessTitle

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

setCity

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

setCountry

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

setEmail1

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

setEmail2

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

setFax1

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

setFax2

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

setField1

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

setField2

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

setField3

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

setFirstName

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

setLastName

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

setMemberId

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

setMiddleName

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

setNickname

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

setPersonTitle

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

setPhone1

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

setPhone2

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

setRequestProperties

public void setRequestProperties(TypedProperty newRequestProperties)
                          throws ECApplicationException
Set request properties.
Parameters:
reqParms - com.ibm.commerce.datatype.TypedProperty

setShippingGeoCode

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

setState

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

setTaxGeoCode

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

setZipCode

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