com.ibm.commerce.inventory.commands

Interface CreateStoreAddressCmd

  • 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:
    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 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.

    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

      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.CreateStoreAddressCmdImpl".
      static java.lang.String NAME
      The name of this interface is "com.ibm.commerce.inventory.commands.CreateStoreAddressCmd".
      • Fields inherited from interface com.ibm.websphere.command.Command

        serialVersionUID
    • 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.CreateStoreAddressCmd".
        See Also:
        Constant Field Values
      • defaultCommandClassName

        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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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