Class CountryLightweight

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

@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 CountryLightweight extends Object
Country
  • Field Details

  • Constructor Details

    • CountryLightweight

      public CountryLightweight()
  • Method Details

    • iso

      public CountryLightweight iso(@Nullable String iso)
    • getIso

      @Nullable public String getIso()
      ISO code
      Returns:
      iso
    • setIso

      public void setIso(@Nullable String iso)
    • iso3

      public CountryLightweight iso3(@Nullable String iso3)
    • getIso3

      @Nullable public String getIso3()
      3 character ISO code
      Returns:
      iso3
    • setIso3

      public void setIso3(@Nullable String iso3)
    • isoNumeric

      public CountryLightweight isoNumeric(@Nullable Integer isoNumeric)
    • getIsoNumeric

      @Nullable public Integer getIsoNumeric()
      Numeric ISO code
      Returns:
      isoNumeric
    • setIsoNumeric

      public void setIsoNumeric(@Nullable Integer isoNumeric)
    • fips

      public CountryLightweight fips(@Nullable String fips)
    • getFips

      @Nullable public String getFips()
      FIPS country code
      Returns:
      fips
    • setFips

      public void setFips(@Nullable String fips)
    • name

      public CountryLightweight name(@Nullable String name)
    • getName

      @Nullable public String getName()
      Country name
      Returns:
      name
    • setName

      public void setName(@Nullable String name)
    • capital

      public CountryLightweight capital(@Nullable String capital)
    • getCapital

      @Nullable public String getCapital()
      Country capital
      Returns:
      capital
    • setCapital

      public void setCapital(@Nullable String capital)
    • area

      public CountryLightweight area(@Nullable Float area)
    • getArea

      @Nullable public Float getArea()
      Area in square kilometers
      Returns:
      area
    • setArea

      public void setArea(@Nullable Float area)
    • population

      public CountryLightweight population(@Nullable Long population)
    • getPopulation

      @Nullable public Long getPopulation()
      Country population
      Returns:
      population
    • setPopulation

      public void setPopulation(@Nullable Long population)
    • continent

      public CountryLightweight continent(@Nullable String continent)
    • getContinent

      @Nullable public String getContinent()
      Continent code
      Returns:
      continent
    • setContinent

      public void setContinent(@Nullable String continent)
    • topLevelDomain

      public CountryLightweight topLevelDomain(@Nullable String topLevelDomain)
    • getTopLevelDomain

      @Nullable public String getTopLevelDomain()
      Country TLD
      Returns:
      topLevelDomain
    • setTopLevelDomain

      public void setTopLevelDomain(@Nullable String topLevelDomain)
    • currencyCode

      public CountryLightweight currencyCode(@Nullable String currencyCode)
    • getCurrencyCode

      @Nullable public String getCurrencyCode()
      Currency code
      Returns:
      currencyCode
    • setCurrencyCode

      public void setCurrencyCode(@Nullable String currencyCode)
    • currencyName

      public CountryLightweight currencyName(@Nullable String currencyName)
    • getCurrencyName

      @Nullable public String getCurrencyName()
      Currency name
      Returns:
      currencyName
    • setCurrencyName

      public void setCurrencyName(@Nullable String currencyName)
    • phone

      public CountryLightweight phone(@Nullable String phone)
    • getPhone

      @Nullable public String getPhone()
      Calling code
      Returns:
      phone
    • setPhone

      public void setPhone(@Nullable String phone)
    • postalCodeFormat

      public CountryLightweight postalCodeFormat(@Nullable String postalCodeFormat)
    • getPostalCodeFormat

      @Nullable public String getPostalCodeFormat()
      Postal code format
      Returns:
      postalCodeFormat
    • setPostalCodeFormat

      public void setPostalCodeFormat(@Nullable String postalCodeFormat)
    • postalCodeRegEx

      public CountryLightweight postalCodeRegEx(@Nullable String postalCodeRegEx)
    • getPostalCodeRegEx

      @Nullable public String getPostalCodeRegEx()
      Postal code regular expression
      Returns:
      postalCodeRegEx
    • setPostalCodeRegEx

      public void setPostalCodeRegEx(@Nullable String postalCodeRegEx)
    • languages

      public CountryLightweight languages(@Nullable List<Object> languages)
    • addLanguagesItem

      public CountryLightweight addLanguagesItem(Object languagesItem)
    • getLanguages

      @Nullable public List<Object> getLanguages()
      Get languages
      Returns:
      languages
    • setLanguages

      public void setLanguages(@Nullable List<Object> languages)
    • geoNameId

      public CountryLightweight geoNameId(@Nullable String geoNameId)
    • getGeoNameId

      @Nullable public String getGeoNameId()
      Country GeoNames identifier
      Returns:
      geoNameId
    • setGeoNameId

      public void setGeoNameId(@Nullable String geoNameId)
    • neighbors

      public CountryLightweight neighbors(@Nullable List<Object> neighbors)
    • addNeighborsItem

      public CountryLightweight addNeighborsItem(Object neighborsItem)
    • getNeighbors

      @Nullable public List<Object> getNeighbors()
      Get neighbors
      Returns:
      neighbors
    • setNeighbors

      public void setNeighbors(@Nullable List<Object> neighbors)
    • 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