Class LocationImpl

java.lang.Object
com.commercetools.api.models.zone.LocationImpl
All Implemented Interfaces:
Location, io.vrap.rmf.base.client.ModelBase

public class LocationImpl extends Object implements Location, io.vrap.rmf.base.client.ModelBase

A geographical location representing a country and optionally a state within this country. A location can only be assigned to one Zone.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase

    io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Country code of the geographic location.
    State within the country.
    int
     
    void
    setCountry(String country)
    Country code of the geographic location.
    void
    State within the country.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.commercetools.api.models.zone.Location

    withLocation

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString