Class SubCountryLightweight

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-26T20:12:05.578754358+07:00[Asia/Bangkok]", comments="Generator version: 7.13.0") public class SubCountryLightweight extends Object
Country subdivision such as a state or province
  • Field Details

  • Constructor Details

    • SubCountryLightweight

      public SubCountryLightweight()
  • Method Details

    • code

      public SubCountryLightweight code(@Nullable String code)
    • getCode

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

      public void setCode(@Nullable String code)
    • countryCode

      public SubCountryLightweight countryCode(@Nullable String countryCode)
    • getCountryCode

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

      public void setCountryCode(@Nullable String countryCode)
    • subCountryCode

      public SubCountryLightweight subCountryCode(@Nullable String subCountryCode)
    • getSubCountryCode

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

      public void setSubCountryCode(@Nullable String subCountryCode)
    • name

      public SubCountryLightweight name(@Nullable String name)
    • getName

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

      public void setName(@Nullable String name)
    • asciiName

      public SubCountryLightweight asciiName(@Nullable String asciiName)
    • getAsciiName

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

      public void setAsciiName(@Nullable String asciiName)
    • geoNameId

      public SubCountryLightweight geoNameId(@Nullable String geoNameId)
    • getGeoNameId

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

      public void setGeoNameId(@Nullable 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