com.ibm.commerce.usermanagement.commands

Interface AddressBaseCmd

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
      static java.lang.String NAME
      The name of this command.
      • 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 getAddress1()
      Gets the first line of the address.
      java.lang.String getAddress2()
      Gets the second line of the address.
      java.lang.String getAddress3()
      Gets the third line of the address.
      java.lang.String getAddressId()
      Gets the address ID.
      java.lang.String getAddressType()
      Gets the type of the addresses.
      java.lang.String getAuthenticateMode()
      Gets the authenticate mode.
      java.lang.String getBestCallingTime()
      Gets the indicator for the best time to call the individual.
      java.lang.String getBillingCode()
      Gets the code to identify shipping/billing address
      java.lang.String getBillingCodeType()
      Gets the code designating the system/method of code structure
      java.lang.String getBusinessTitle()
      Gets the business title of the person to which this address applies - For example, Manager, Vice President.
      java.lang.String getCity()
      Gets the city name.
      java.lang.String getCountry()
      Gets the country name.
      java.sql.Timestamp getCreatedTimestamp()
      Gets the date and time when the address was created.
      java.lang.String getEmail1()
      Gets the e-mail or URL address 1 of the individual.
      java.lang.String getEmail2()
      Gets the e-mail or URL address 2 of the individual.
      java.lang.String getFax1()
      Gets the facsimile number 1 of the individual.
      java.lang.String getFax2()
      Gets the facsimile number 2 of the individual.
      java.lang.String getFirstName()
      Gets the first name of the individual.
      java.lang.String getLastName()
      Gets the last name of the individual.
      java.lang.String getMiddleName()
      Gets the middle name of the individual.
      java.lang.String getMobilePhone1()
      Gets the mobile phone 1 of the individual.
      java.lang.String getMobilePhone1Country()
      Gets the mobile phone 1 country of the individual.
      java.lang.String getNickName()
      Gets the nick name of the individual.
      java.lang.String getOfficeAddress()
      Gets the desktop delivery or office address associated with the shipping address.
      java.lang.String getOrganizationName()
      Gets the name of the organization to which this address information applies if this is a business address.
      java.lang.String getOrganizationUnitName()
      Gets the name of the organizational unit to which this contact info applies if this is a business contact.
      java.lang.String getOutAddressName()
      Returns the name of a name-value pair that the AddressAdd/Update command should add to the redirection specified URL by the url parameter
      java.lang.Integer getPackageSuppression()
      Gets the Package inserts suppression flag.
      java.lang.String getPersonTitle()
      Gets the title of the person to which this address applies.
      java.lang.String getPhone1()
      Gets the phone number 1.
      java.lang.String getPhone1Type()
      Gets the type of the phone 1.
      java.lang.String getPhone2()
      Gets the phone number 2.
      java.lang.String getPhone2Type()
      Gets the type of the phone 2.
      java.lang.Integer getPrimary()
      Gets an integer indicating whether the address is a primary address.
      java.lang.Integer getPublishPhone1()
      Gets an integer indicating whether or not to publish phone 1 number.
      java.lang.Integer getPublishPhone2()
      Gets an integer indicating whether or not publish phone 2 number.
      java.lang.String getState()
      Gets the name of the state, province, or equivalent where the individual resides.
      java.lang.String getStatus()
      Gets the temporary or permanent address, 'Permanent' really means 'current' address, 'Temporary' really means 'historical' address.
      java.lang.String getZipCode()
      Gets the zip code or equivalent postal code of the individual's address.
      void reset()
      Reset all instance variables of the command to initial state so it can be used again.
      void setAddress1(java.lang.String astrAddress1)
      Sets the first line of the address.
      void setAddress2(java.lang.String astrAddress2)
      Sets the second line of the address.
      void setAddress3(java.lang.String astrAddress3)
      Sets the third line of the address.
      void setAddressField1(java.lang.String astrAddressField1)
      Sets the customizable address field 1.
      void setAddressField2(java.lang.String astrAddressField2)
      Sets the customizable address field 2.
      void setAddressField3(java.lang.String astrAddressField3)
      Sets the customizable address field 3.
      void setAddressId(java.lang.Long anAddressId)
      Sets the address Id.
      void setAddressId(java.lang.String astrAddressId)
      Sets the address Id.
      void setAddressType(java.lang.String astrAddressType)
      Sets the type of addresses.
      void setAuthenticateMode(java.lang.String astrAuthenticateMode)
      Sets the authenticate mode.
      void setBestCallingTime(java.lang.String astrBestCallingTime)
      Sets the indicator for the best time to call the individual.
      void setBillingCode(java.lang.String astrBillingCode)
      Sets the code to identify shipping/billing address.
      void setBillingCodeType(java.lang.String astrBillingCodeType)
      Sets the code designating the system/method of code structure
      void setBusinessTitle(java.lang.String astrBusinessTitle)
      Sets the business title of the person to which this address applies, eg.
      void setCity(java.lang.String astrCity)
      Sets the city name.
      void setCountry(java.lang.String astrCountry)
      Sets the country name.
      void setCreatedTimestamp(java.sql.Timestamp atmCreatedTimestamp)
      Sets the date and time when the address was created.
      void setEmail1(java.lang.String astrEmail1)
      Sets the email or URL address 1 of the individual.
      void setEmail2(java.lang.String astrEmail2)
      Sets the email or URL address 2 of the individual.
      void setFax1(java.lang.String astrFax1)
      Sets the facsimile number 1.
      void setFax2(java.lang.String astrFax1)
      Sets the facsimile number 2.
      void setFirstName(java.lang.String astrFirstName)
      Sets the first name of the individual.
      void setLastName(java.lang.String astrLastName)
      Sets the last name of the individual.
      void setMiddleName(java.lang.String astrMidName)
      Sets the middle name of the individual.
      void setMobilePhone1(java.lang.String astrMobilePhone1)
      Sets the mobile number 1.
      void setMobilePhone1Country(java.lang.String astrMobilePhone1Country)
      Sets the mobile number 1 country.
      void setNickName(java.lang.String astrNickName)
      Sets the nick name of the individual.
      void setOfficeAddress(java.lang.String astrOfficeAddress)
      Sets the office address.This may be an internal address, such as the office number, and not a complete address with street number, city, province/state, country and postal code.
      void setOrganizationName(java.lang.String astrOrganizationName)
      Sets the name of the organization to which this address information applies if this is a business address.
      void setOrganizationUnitName(java.lang.String astrOrganizationUnitName)
      Sets the name of the organization unit to which this address information applies if this is a business address.
      void setOutAddressName(java.lang.String astrOutAddressName)
      The name of a name-value pair that the AddressAdd/Update command should add to the redirection specified URL by the url parameter
      void setPackageSuppression(java.lang.Integer anPackageSuppression)
      Sets the Package inserts suppression flag.
      void setPackageSuppression(java.lang.String astrPackageSuppression)
      Sets the Package inserts suppression flag.
      void setPersonTitle(java.lang.String astrPersonTitle)
      Sets the title of the person to which this address applies
      void setPhone1(java.lang.String astrPhone1)
      Sets the phone number 1.
      void setPhone1Type(java.lang.String astrPhone1Type)
      Sets the type of the phone 1
      void setPhone2(java.lang.String astrPhone2)
      Sets the phone number 2.
      void setPhone2Type(java.lang.String astrPhone2Type)
      Sets the type of the phone 2
      void setPrimary(java.lang.Integer anPrimary)
      Sets an integer indicating whether the address is a primary address.
      void setPrimary(java.lang.String anPrimary)
      Sets an integer indicating whether the address is a primary address.
      void setPublishPhone1(java.lang.Integer anPublishPhone1)
      Sets an integer indicating whether or not to publish phone 1 number.
      void setPublishPhone1(java.lang.String astrPublishPhone1)
      Sets a string indicating whether or not to publish phone 1 number.
      void setPublishPhone2(java.lang.Integer anPublishPhone2)
      Sets an integer indicating whether or not to publish phone 2 number.
      void setPublishPhone2(java.lang.String astrPublishPhone2)
      Sets a string indicating whether or not to publish the phone 2 number.
      void setSelfAddress(java.lang.String astrSelfAddress)
      Sets the self address indicator.
      void setShippingGeoCode(java.lang.String astrShippingGeoCode)
      Sets the shipping geographic code.
      void setState(java.lang.String astrState)
      Sets the name of the state, province, or equivalent where the individual resides.
      void setStatus(java.lang.String astrStatus)
      Sets the temporary or permanent address, 'Permanent' really means 'current' address, 'Temporary' really means 'historical' address.
      void setTaxGeoCode(java.lang.String astrTaxGeoCode)
      Sets the Tax geographic code.
      void setURL(java.lang.String astrURL)
      Set the URL that is called when the command successfully completes.
      void setZipCode(java.lang.String astrZipCode)
      Sets the zip code or equivalent postal code of the individual's address .
      • 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.CommandCaller

        unionDependencies
      • Methods inherited from interface com.ibm.websphere.command.Command

        isReadyToCallExecute
    • Method Detail

      • getAddress1

        java.lang.String getAddress1()
        Gets the first line of the address.
        Returns:
        The first line of the address
      • getAddress2

        java.lang.String getAddress2()
        Gets the second line of the address.
        Returns:
        The second line of the address.
      • getAddress3

        java.lang.String getAddress3()
        Gets the third line of the address.
        Returns:
        The third line of the address.
      • getAddressId

        java.lang.String getAddressId()
        Gets the address ID.
        Returns:
        The address ID.
      • getAddressType

        java.lang.String getAddressType()
        Gets the type of the addresses.
        Returns:
        The type of the addresses. For example:
        • SB - shipto and billto (default)
        • R - residential
        • M - mailing
        • B - billto
        • S - shipto
      • getAuthenticateMode

        java.lang.String getAuthenticateMode()
        Gets the authenticate mode.
        Returns:
        The authenticate mode.
        • DB - use WebSphere Commerce Database to authenticate
        • LDAP - use LDAP server (such as IBM SecureWay) to authenticate
      • getBestCallingTime

        java.lang.String getBestCallingTime()
        Gets the indicator for the best time to call the individual.
        Returns:
        The best time to call. For example:
        • D - Daytime
        • E - Evening
      • getBillingCode

        java.lang.String getBillingCode()
        Gets the code to identify shipping/billing address
        Returns:
        The shipping billing code.
      • getBillingCodeType

        java.lang.String getBillingCodeType()
        Gets the code designating the system/method of code structure
        Returns:
        The shipping billing code type.
      • getBusinessTitle

        java.lang.String getBusinessTitle()
        Gets the business title of the person to which this address applies - For example, Manager, Vice President.
        Returns:
        The business title. For example:
        • P - President
        • M - Manager
      • getCity

        java.lang.String getCity()
        Gets the city name.
        Returns:
        The name of the city.
      • getCountry

        java.lang.String getCountry()
        Gets the country name.
        Returns:
        The name of the country.
      • getCreatedTimestamp

        java.sql.Timestamp getCreatedTimestamp()
        Gets the date and time when the address was created.
        Returns:
        The date and time when the address was created.
      • getEmail1

        java.lang.String getEmail1()
        Gets the e-mail or URL address 1 of the individual.
        Returns:
        The e-mail or URL address 1 of the individual.
      • getEmail2

        java.lang.String getEmail2()
        Gets the e-mail or URL address 2 of the individual.
        Returns:
        The e-mail or URL address 2 of the individual.
      • getFax1

        java.lang.String getFax1()
        Gets the facsimile number 1 of the individual.
        Returns:
        The first facsimile number.
      • getFax2

        java.lang.String getFax2()
        Gets the facsimile number 2 of the individual.
        Returns:
        The second facsimile number.
      • getMobilePhone1

        java.lang.String getMobilePhone1()
        Gets the mobile phone 1 of the individual.
        Returns:
        The first mobile phone.
      • getMobilePhone1Country

        java.lang.String getMobilePhone1Country()
        Gets the mobile phone 1 country of the individual.
        Returns:
        The first mobile phone country.
      • getFirstName

        java.lang.String getFirstName()
        Gets the first name of the individual.
        Returns:
        The first name.
      • getLastName

        java.lang.String getLastName()
        Gets the last name of the individual.
        Returns:
        The last name.
      • getMiddleName

        java.lang.String getMiddleName()
        Gets the middle name of the individual.
        Returns:
        The middle name.
      • getNickName

        java.lang.String getNickName()
        Gets the nick name of the individual.
        Returns:
        the nick name.
      • getOfficeAddress

        java.lang.String getOfficeAddress()
        Gets the desktop delivery or office address associated with the shipping address. This may be an internal address, such as the office number, and not a complete address with street number, city, province/state, country and postal code.
        Returns:
        The office address.
      • getOrganizationName

        java.lang.String getOrganizationName()
        Gets the name of the organization to which this address information applies if this is a business address.
        Returns:
        The name of the organization.
      • getOrganizationUnitName

        java.lang.String getOrganizationUnitName()
        Gets the name of the organizational unit to which this contact info applies if this is a business contact.
        Returns:
        The name of the organizational unit.
      • getOutAddressName

        java.lang.String getOutAddressName()
        Returns the name of a name-value pair that the AddressAdd/Update command should add to the redirection specified URL by the url parameter
        Returns:
        The name of a name-value pair that the AddressAdd/Update Command should add to the redirection specified URL by the url parameter.
      • getPackageSuppression

        java.lang.Integer getPackageSuppression()
        Gets the Package inserts suppression flag.
        Returns:
        The package suppression flag which indicates whether or not to include package inserts when the order is shipped
        • 1 - include
        • 0 - do not include
      • getPersonTitle

        java.lang.String getPersonTitle()
        Gets the title of the person to which this address applies.
        Returns:
        The person title. For example:
        • N - Not provided (default)
        • Mr - Mr.
        • Mrs - Mrs.
        • Ms - Ms.
        • Dr - Dr.
        • Prof- Prof.
      • getPhone1

        java.lang.String getPhone1()
        Gets the phone number 1.
        Returns:
        The first phone number.
      • getPhone1Type

        java.lang.String getPhone1Type()
        Gets the type of the phone 1.
        Returns:
        The type of the first phone number. For Example:
        • PHN - standard phone
        • TTY - teletypewriter for people who have hearing impairment.
      • getPhone2

        java.lang.String getPhone2()
        Gets the phone number 2.
        Returns:
        The second phone number.
      • getPhone2Type

        java.lang.String getPhone2Type()
        Gets the type of the phone 2.
        Returns:
        The type of the second phone number. For Example:
        • PHN - standard phone
        • TTY - teletypewriter for people who have hearing impairment.
      • getPrimary

        java.lang.Integer getPrimary()
        Gets an integer indicating whether the address is a primary address. Multiple addresses are allowed for each address type and one address per type can be designated as the primary address. For each address type, there can be one or none primary address. Each address type can have one or none primary address.
        Returns:
        An integer indicating whether the address is a primary address.
        • 1 - primary (or default) address
        • 0 - not primary address
      • getPublishPhone1

        java.lang.Integer getPublishPhone1()
        Gets an integer indicating whether or not to publish phone 1 number.
        Returns:
        An integer indicating whether or not to publish the first phone number.
        • 1 - publish the phone 1 number
        • 0 - not publish the phone 1 number
      • getPublishPhone2

        java.lang.Integer getPublishPhone2()
        Gets an integer indicating whether or not publish phone 2 number.
        Returns:
        An integer indicating whether or not to publish the second phone number.
        • 1 - publish the phone 2 number
        • 0 - not publish the phone 2 number
      • getState

        java.lang.String getState()
        Gets the name of the state, province, or equivalent where the individual resides.
        Returns:
        The name of the state.
      • getStatus

        java.lang.String getStatus()
        Gets the temporary or permanent address, 'Permanent' really means 'current' address, 'Temporary' really means 'historical' address. Each time a address is update, a new address will be created and the old address will become temporary address.
        Returns:
        The status of the address.
        • P - permanent address
        • T - temporary address
      • getZipCode

        java.lang.String getZipCode()
        Gets the zip code or equivalent postal code of the individual's address.
        Returns:
        The zip code.
      • reset

        void reset()
        Reset all instance variables of the command to initial state so it can be used again.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
      • setAddress1

        void setAddress1(java.lang.String astrAddress1)
        Sets the first line of the address.
        Parameters:
        astrAddress1 - The first line of the address.
      • setAddress2

        void setAddress2(java.lang.String astrAddress2)
        Sets the second line of the address.
        Parameters:
        astrAddress2 - The second line of the address.
      • setAddress3

        void setAddress3(java.lang.String astrAddress3)
        Sets the third line of the address.
        Parameters:
        astrAddress3 - The third line of the address.
      • setAddressField1

        void setAddressField1(java.lang.String astrAddressField1)
        Sets the customizable address field 1.
        Parameters:
        astrField1 - The customizable address field 1.
      • setAddressField2

        void setAddressField2(java.lang.String astrAddressField2)
        Sets the customizable address field 2.
        Parameters:
        astrField1 - The customizable address field 2.
      • setAddressField3

        void setAddressField3(java.lang.String astrAddressField3)
        Sets the customizable address field 3.
        Parameters:
        astrField1 - The customizable address field 3.
      • setAddressId

        void setAddressId(java.lang.Long anAddressId)
        Sets the address Id.
        Parameters:
        anAddressId - the address Id.
      • setAddressId

        void setAddressId(java.lang.String astrAddressId)
        Sets the address Id.
        Parameters:
        astrAddressId - the address Id.
      • setAddressType

        void setAddressType(java.lang.String astrAddressType)
        Sets the type of addresses.
        Parameters:
        The - type of addresses. For example:
        • R - residential
        • M - mailing
        • B - billto
        • S - shipto
      • setAuthenticateMode

        void setAuthenticateMode(java.lang.String astrAuthenticateMode)
        Sets the authenticate mode.
        Parameters:
        astrAuthenticateMode - The authenticate mode.
        • DB - use WebSphere Commerce Database to authenticate
        • LDAP - use LDAP server (such as IBM SecureWay) to authenticate
      • setBestCallingTime

        void setBestCallingTime(java.lang.String astrBestCallingTime)
        Sets the indicator for the best time to call the individual.
        Parameters:
        astrBestCallingTime - The best calling time. For example:
        • D - Daytime
        • E - Evening
      • setBillingCode

        void setBillingCode(java.lang.String astrBillingCode)
        Sets the code to identify shipping/billing address.
        Parameters:
        astrBillingCode - The shipping billing code.
      • setBillingCodeType

        void setBillingCodeType(java.lang.String astrBillingCodeType)
        Sets the code designating the system/method of code structure
        Parameters:
        astrBillingCodeType - The shipping billing code type
      • setBusinessTitle

        void setBusinessTitle(java.lang.String astrBusinessTitle)
        Sets the business title of the person to which this address applies, eg. Manager, Vice President.
        Parameters:
        astrBusinessTitle - The business title. For example:
        • P - President
        • M - Manager
      • setCity

        void setCity(java.lang.String astrCity)
        Sets the city name.
        Parameters:
        astrCity - The city name.
      • setCountry

        void setCountry(java.lang.String astrCountry)
        Sets the country name.
        Parameters:
        astrCountry - The country name.
      • setCreatedTimestamp

        void setCreatedTimestamp(java.sql.Timestamp atmCreatedTimestamp)
        Sets the date and time when the address was created.
        Parameters:
        atmCreatedTimestamp - The date and time when the address was created.
      • setEmail1

        void setEmail1(java.lang.String astrEmail1)
        Sets the email or URL address 1 of the individual.
        Parameters:
        astrEmail1 - The email or URL address 1.
      • setEmail2

        void setEmail2(java.lang.String astrEmail2)
        Sets the email or URL address 2 of the individual.
        Parameters:
        astrEmail2 - The email or URL address 2.
      • setFax1

        void setFax1(java.lang.String astrFax1)
        Sets the facsimile number 1.
        Parameters:
        astrFax1 - The facsimile number 1.
      • setFax2

        void setFax2(java.lang.String astrFax1)
        Sets the facsimile number 2.
        Parameters:
        astrFax1 - The facsimile number 2.
      • setMobilePhone1

        void setMobilePhone1(java.lang.String astrMobilePhone1)
        Sets the mobile number 1.
        Parameters:
        astrMobilePhone1 - The mobile phone 1.
      • setMobilePhone1Country

        void setMobilePhone1Country(java.lang.String astrMobilePhone1Country)
        Sets the mobile number 1 country.
        Parameters:
        astrMobilePhone1Country - The mobile phone 1 country.
      • setFirstName

        void setFirstName(java.lang.String astrFirstName)
        Sets the first name of the individual.
        Parameters:
        astrFirstName - The first name.
      • setLastName

        void setLastName(java.lang.String astrLastName)
        Sets the last name of the individual.
        Parameters:
        astrLastName - The last name.
      • setMiddleName

        void setMiddleName(java.lang.String astrMidName)
        Sets the middle name of the individual.
        Parameters:
        astrMiddleName - The middle name.
      • setNickName

        void setNickName(java.lang.String astrNickName)
        Sets the nick name of the individual.
        Parameters:
        astrNickName - The nick name.
      • setOfficeAddress

        void setOfficeAddress(java.lang.String astrOfficeAddress)
        Sets the office address.This may be an internal address, such as the office number, and not a complete address with street number, city, province/state, country and postal code.
        Parameters:
        astrOfficeAddress - The office address.
      • setOrganizationName

        void setOrganizationName(java.lang.String astrOrganizationName)
        Sets the name of the organization to which this address information applies if this is a business address.
        Parameters:
        astrOrganizationName - The name of the organization.
      • setOrganizationUnitName

        void setOrganizationUnitName(java.lang.String astrOrganizationUnitName)
        Sets the name of the organization unit to which this address information applies if this is a business address.
        Parameters:
        astrOrganizationUnitName - The name of the organization unit.
      • setOutAddressName

        void setOutAddressName(java.lang.String astrOutAddressName)
        The name of a name-value pair that the AddressAdd/Update command should add to the redirection specified URL by the url parameter
        Parameters:
        astrOutAddressName - The name of a name-value pair that the AddressAdd/Update command should add to the redirection specified URL by the url parameter.
      • setPackageSuppression

        void setPackageSuppression(java.lang.Integer anPackageSuppression)
        Sets the Package inserts suppression flag.
        Parameters:
        anPackageSuppression - The package suppression flag.
        • 1 - include
        • 0 - do not include
      • setPackageSuppression

        void setPackageSuppression(java.lang.String astrPackageSuppression)
        Sets the Package inserts suppression flag.
        Parameters:
        astrPackageSuppression - The package suppression flag.
        • 1 - include
        • 0 - do not include
      • setPersonTitle

        void setPersonTitle(java.lang.String astrPersonTitle)
        Sets the title of the person to which this address applies
        Parameters:
        astrPersonTitle - The person title.
        • N - Not provided (default)
        • Mr.
        • Mrs.
        • Ms.
        • Dr.
        • Prof.
        • Rev.
      • setPhone1

        void setPhone1(java.lang.String astrPhone1)
        Sets the phone number 1.
        Parameters:
        astrPhone1 - The phone number 1.
      • setPhone1Type

        void setPhone1Type(java.lang.String astrPhone1Type)
        Sets the type of the phone 1
        Parameters:
        astrPhone1Type - The type of phone1.
        • PHN - standard phone
        • TTY - teletypewriter for people who have a hearing impairment.
      • setPhone2

        void setPhone2(java.lang.String astrPhone2)
        Sets the phone number 2.
        Parameters:
        astrPhone2 - The phone number 2.
      • setPhone2Type

        void setPhone2Type(java.lang.String astrPhone2Type)
        Sets the type of the phone 2
        Parameters:
        astrPhone2Type - The type of phone 2.
        • PHN - standard phone
        • TTY - teletypewriter for people who have a hearing impairment.
      • setPrimary

        void setPrimary(java.lang.Integer anPrimary)
        Sets an integer indicating whether the address is a primary address. Multiple addresses are allowed for each address type and one address per type can be designated as the primary address. For each address type, there can be one or none primary address. Each address type can have one or none primary address.
        Parameters:
        anPrimary - An integer indicating whether the address is a primary address.
        • 1 - primary (or default) address
        • 0 - not primary address
      • setPrimary

        void setPrimary(java.lang.String anPrimary)
        Sets an integer indicating whether the address is a primary address. This allows multiple addresses for each address type (for example, Multiple billing addresses, multiple shipto addresses) and one of them to be designated as the 'primary billing address', 'primary shipto address'. Each address type can have one or none primary address.
        Parameters:
        anPrimary - A String indicating whether the address is a primary address.
        • 1 - primary (or default) address
        • 0 - not primary address
      • setPublishPhone1

        void setPublishPhone1(java.lang.Integer anPublishPhone1)
        Sets an integer indicating whether or not to publish phone 1 number.
        Parameters:
        anPublishPhone1 - An integer indicating whether or not publish phone 1 number.
        • 1 - publish the phone 1 number
        • 0 - not publish the phone 1 number
      • setPublishPhone1

        void setPublishPhone1(java.lang.String astrPublishPhone1)
        Sets a string indicating whether or not to publish phone 1 number.
        Parameters:
        astrPublishPhone1 - A string indicating whether or not publish phone 1 number.
        • 1 - publish the phone 1 number
        • 0 - not publish the phone 1 number
      • setPublishPhone2

        void setPublishPhone2(java.lang.Integer anPublishPhone2)
        Sets an integer indicating whether or not to publish phone 2 number.
        Parameters:
        anPublishPhone2 - An integer indicating whether or not publish phone 2 number.
        • 1 - publish the phone 2 number
        • 0 - not publish the phone 2 number
      • setPublishPhone2

        void setPublishPhone2(java.lang.String astrPublishPhone2)
        Sets a string indicating whether or not to publish the phone 2 number.
        Parameters:
        astrPublishPhone2 - A string indicating whether or not to publish the phone 2 number.
        • 1 - publish the phone 2 number
        • 0 - not publish the phone 2 number
      • setSelfAddress

        void setSelfAddress(java.lang.String astrSelfAddress)
        Sets the self address indicator. In an address book, only for the address whose nickname is the same as logon Id, the self address equals 1. For all other addresses, self address equals 0. This field is added for easier administration.
        Parameters:
        astrSelfAddress - The first line of the address.
        • 1 - this address is the member's own address
        • 0 - this address is not the member's own address
      • setShippingGeoCode

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

        void setState(java.lang.String astrState)
        Sets the name of the state, province, or equivalent where the individual resides.
        Parameters:
        astrState - The name of the state.
      • setStatus

        void setStatus(java.lang.String astrStatus)
        Sets the temporary or permanent address, 'Permanent' really means 'current' address, 'Temporary' really means 'historical' address.
        Parameters:
        astrStatus - The status of the address.
        • P - permanent address
        • T - temporary address
      • setTaxGeoCode

        void setTaxGeoCode(java.lang.String astrTaxGeoCode)
        Sets the Tax geographic code.
        Parameters:
        astrTaxGeoCode - the tax geographic code.
      • setURL

        void setURL(java.lang.String astrURL)
        Set the URL that is called when the command successfully completes.
        Parameters:
        astrURL - The URL.
      • setZipCode

        void setZipCode(java.lang.String astrZipCode)
        Sets the zip code or equivalent postal code of the individual's address .
        Parameters:
        astrZipCode - The zip code.