public class Region extends Object
Constructor and Description |
---|
Region() |
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code of the region.
|
String |
name()
Get the name of the region.
|
List<Region> |
regions()
Get the list of Regions grouped under this Region in the Geographic Hierarchy.
|
Region |
withCode(String code)
Set the code of the region.
|
Region |
withName(String name)
Set the name of the region.
|
Region |
withRegions(List<Region> regions)
Set the list of Regions grouped under this Region in the Geographic Hierarchy.
|
public String code()
public Region withCode(String code)
code
- the code value to setpublic String name()
public Region withName(String name)
name
- the name value to setpublic List<Region> regions()
Copyright © 2019. All rights reserved.