com.ibm.commerce.user.beans

Class CountryStateListDataBean.StateProvince

  • java.lang.Object
    • com.ibm.commerce.user.beans.CountryStateListDataBean.StateProvince
  • Enclosing class:
    CountryStateListDataBean


    public static final class CountryStateListDataBean.StateProvince
    extends java.lang.Object
    This class contains properties that describe a state or province.
    • Constructor Summary

      Constructors 
      Constructor and Description
      StateProvince()
      The default constructor.
      StateProvince(java.lang.String inCode, java.lang.String inName)
      This constructor takes the state or province's abbreviation code and its name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getCode()
      Get the abbreviation code of the country
      java.lang.String getDisplayName()
      Get the display name of the country or region in the required language.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StateProvince

        public StateProvince()
        The default constructor.
      • StateProvince

        public StateProvince(java.lang.String inCode,
                             java.lang.String inName)
        This constructor takes the state or province's abbreviation code and its name.
        Parameters:
        inCode - The state or province's abbreviation code
        inName - The name
    • Method Detail

      • getCode

        public java.lang.String getCode()
        Get the abbreviation code of the country
        Returns:
        the abbreviation code of the country
      • getDisplayName

        public java.lang.String getDisplayName()
        Get the display name of the country or region in the required language.
        Returns:
        The display name of the country or region in the required language.