com.ibm.commerce.inventory.commands

Interface UpdateStoreAddressCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    UpdateStoreAddressCmdImpl


    public interface UpdateStoreAddressCmd
    extends TaskCommand
    Update the fulfillment or vendor address.

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

    Input Parameters

    staddressId
    The store address identifier.
    address1
    Vendor address line 1
    address2
    Vendor address line 2
    address3
    Vendor address line 3
    businessTitle
    The business 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 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.

    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

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The internal copyright field.
      static java.lang.String defaultCommandClassName
      The default implementation class is "com.ibm.commerce.inventory.commands.UpdateStoreAddressCmdImpl".
      static java.lang.String NAME
      The name of this interface is "com.ibm.commerce.inventory.commands.UpdateStoreAddressCmd".
      • Fields inherited from interface com.ibm.websphere.command.Command

        serialVersionUID
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String getStoreAddressId()
      Return store address identifier.
      void setAddress1(java.lang.String newAddress1)
      This method sets vendor address line 1.
      void setAddress2(java.lang.String newAddress2)
      This method sets vendor address line 2.
      void setAddress3(java.lang.String newAddress3)
      This method sets vendor address line 3.
      void setBusinessTitle(java.lang.String newBusinessTitle)
      This method sets the business title.
      void setCity(java.lang.String newCity)
      This method sets the city within this address.
      void setCountry(java.lang.String newCountry)
      This method sets the country or region within this address.
      void setEmail1(java.lang.String newEmail1)
      This method sets the primary e-mail address.
      void setEmail2(java.lang.String newEmail2)
      This method sets the secondary e-mail address.
      void setFax1(java.lang.String newFax1)
      This method sets the primary fax number.
      void setFax2(java.lang.String newFax2)
      This method sets the secondary fax number.
      void setField1(java.lang.String newField1)
      This method sets the value of field1.
      void setField2(java.lang.String newField2)
      This method sets the value of field2.
      void setField3(java.lang.String newField3)
      This method sets the value of field3.
      void setFirstName(java.lang.String newFirstName)
      This method sets the first name for the contact person.
      void setLastName(java.lang.String newLastName)
      This method sets the last name for the contact person.
      void setMiddleName(java.lang.String newMiddleName)
      This method sets the middle name for the contact person.
      void setNickname(java.lang.String newNickname)
      This method sets the nickname for the address.
      void setPersonTitle(java.lang.String newPersonTitle)
      This method sets the business title for the contact person.
      void setPhone1(java.lang.String newPhone1)
      This method sets the primary phone number.
      void setPhone2(java.lang.String newPhone2)
      This method sets the secondary phone number.
      void setRequestProperties(TypedProperty newRequestProperties)
      This method sets request properties.
      void setShippingGeoCode(java.lang.String newShippingGeoCode)
      This method sets the shipping geographic code.
      void setState(java.lang.String newState)
      This method sets the state within this address.
      void setStoreAddressId(java.lang.String newStoreAddressid)
      This method sets the store address identifier.
      void setTaxGeoCode(java.lang.String newTaxGeoCode)
      This method sets the tax geographic code.
      void setZipCode(java.lang.String newZipCode)
      This method sets the ZIP code within this address.
      • Methods inherited from interface com.ibm.commerce.command.CacheableECCommand

        execute
      • Methods inherited from interface com.ibm.websphere.command.CacheableCommand

        executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
      • Methods inherited from interface com.ibm.websphere.command.TargetableCommand

        getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
      • Methods inherited from interface com.ibm.websphere.command.Command

        isReadyToCallExecute, reset
      • Methods inherited from interface com.ibm.websphere.command.CommandCaller

        unionDependencies
    • Field Detail

      • COPYRIGHT

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

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

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

      • getStoreAddressId

        java.lang.String getStoreAddressId()
        Return store address identifier.
        Returns:
        java.lang.String
      • setAddress1

        void setAddress1(java.lang.String newAddress1)
        This method sets vendor address line 1.
        Parameters:
        newAddress1 - java.lang.String
      • setAddress2

        void setAddress2(java.lang.String newAddress2)
        This method sets vendor address line 2.
        Parameters:
        newAddress2 - java.lang.String
      • setAddress3

        void setAddress3(java.lang.String newAddress3)
        This method sets vendor address line 3.
        Parameters:
        newAddress3 - java.lang.String
      • setBusinessTitle

        void setBusinessTitle(java.lang.String newBusinessTitle)
        This method sets the business title.
        Parameters:
        newBusinessTitle - java.lang.String
      • setCity

        void setCity(java.lang.String newCity)
        This method sets the city within this address.
        Parameters:
        newCity - java.lang.String
      • setCountry

        void setCountry(java.lang.String newCountry)
        This method sets the country or region within this address.
        Parameters:
        newCountry - java.lang.String
      • setEmail1

        void setEmail1(java.lang.String newEmail1)
        This method sets the primary e-mail address.
        Parameters:
        newEmail1 - java.lang.String
      • setEmail2

        void setEmail2(java.lang.String newEmail2)
        This method sets the secondary e-mail address.
        Parameters:
        newEmail2 - java.lang.String
      • setFax1

        void setFax1(java.lang.String newFax1)
        This method sets the primary fax number.
        Parameters:
        newFax1 - java.lang.String
      • setFax2

        void setFax2(java.lang.String newFax2)
        This method sets the secondary fax number.
        Parameters:
        newFax2 - java.lang.String
      • setField1

        void setField1(java.lang.String newField1)
        This method sets the value of field1.
        Parameters:
        newField1 - java.lang.String
      • setField2

        void setField2(java.lang.String newField2)
        This method sets the value of field2.
        Parameters:
        newField2 - java.lang.String
      • setField3

        void setField3(java.lang.String newField3)
        This method sets the value of field3.
        Parameters:
        newField3 - java.lang.String
      • setFirstName

        void setFirstName(java.lang.String newFirstName)
        This method sets the first name for the contact person.
        Parameters:
        newFirstName - java.lang.String
      • setLastName

        void setLastName(java.lang.String newLastName)
        This method sets the last name for the contact person.
        Parameters:
        newLastName - java.lang.String
      • setMiddleName

        void setMiddleName(java.lang.String newMiddleName)
        This method sets the middle name for the contact person.
        Parameters:
        newMiddleName - java.lang.String
      • setNickname

        void setNickname(java.lang.String newNickname)
        This method sets the nickname for the address.
        Parameters:
        newNickname - java.lang.String
      • setPersonTitle

        void setPersonTitle(java.lang.String newPersonTitle)
        This method sets the business title for the contact person.
        Parameters:
        newPersonTitle - java.lang.String
      • setPhone1

        void setPhone1(java.lang.String newPhone1)
        This method sets the primary phone number.
        Parameters:
        newPhone1 - java.lang.String
      • setPhone2

        void setPhone2(java.lang.String newPhone2)
        This method sets the secondary phone number.
        Parameters:
        newPhone2 - java.lang.String
      • setShippingGeoCode

        void setShippingGeoCode(java.lang.String newShippingGeoCode)
        This method sets the shipping geographic code.
        Parameters:
        newShippingGeoCode - java.lang.String
      • setState

        void setState(java.lang.String newState)
        This method sets the state within this address.
        Parameters:
        newState - java.lang.String
      • setStoreAddressId

        void setStoreAddressId(java.lang.String newStoreAddressid)
        This method sets the store address identifier.
        Parameters:
        newStoreAddressid - java.lang.String
      • setTaxGeoCode

        void setTaxGeoCode(java.lang.String newTaxGeoCode)
        This method sets the tax geographic code.
        Parameters:
        newTaxGeoCode - java.lang.String
      • setZipCode

        void setZipCode(java.lang.String newZipCode)
        This method sets the ZIP code within this address.
        Parameters:
        newZipCode - java.lang.String