Class SubCountry

java.lang.Object
io.trippay.sdk.payment.model.SubCountry

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-31T08:59:00.067927603+07:00[Asia/Bangkok]") public class SubCountry extends Object
Country subdivision such as a state or province
  • Field Details

  • Constructor Details

    • SubCountry

      public SubCountry()
  • Method Details

    • code

      public SubCountry code(String code)
    • getCode

      @Nullable public String getCode()
      Code
      Returns:
      code
    • setCode

      public void setCode(String code)
    • countryCode

      public SubCountry countryCode(String countryCode)
    • getCountryCode

      @Nullable public String getCountryCode()
      Country code
      Returns:
      countryCode
    • setCountryCode

      public void setCountryCode(String countryCode)
    • subCountryCode

      public SubCountry subCountryCode(String subCountryCode)
    • getSubCountryCode

      @Nullable public String getSubCountryCode()
      Sub-country code
      Returns:
      subCountryCode
    • setSubCountryCode

      public void setSubCountryCode(String subCountryCode)
    • name

      public SubCountry name(String name)
    • getName

      @Nullable public String getName()
      Sub-country name
      Returns:
      name
    • setName

      public void setName(String name)
    • asciiName

      public SubCountry asciiName(String asciiName)
    • getAsciiName

      @Nullable public String getAsciiName()
      Sub-country ascii name
      Returns:
      asciiName
    • setAsciiName

      public void setAsciiName(String asciiName)
    • geoNameId

      public SubCountry geoNameId(String geoNameId)
    • getGeoNameId

      @Nullable public String getGeoNameId()
      Sub-country GeoNames identifier
      Returns:
      geoNameId
    • setGeoNameId

      public void setGeoNameId(String geoNameId)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object