| Package | Description |
|---|---|
| io.sphere.sdk.zones |
Provides model classes and builders for zones.
|
| io.sphere.sdk.zones.commands |
Provides types to change the state of zones.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ZoneDraftDsl
Dsl class for
ZoneDraft. |
| Modifier and Type | Method and Description |
|---|---|
static ZoneDraft |
ZoneDraft.of(String name,
Set<Location> locations) |
static ZoneDraft |
ZoneDraft.of(String name,
Set<Location> locations,
String description) |
static ZoneDraft |
ZoneDraft.ofCountries(String name,
Set<com.neovisionaries.i18n.CountryCode> countries,
String description) |
| Modifier and Type | Method and Description |
|---|---|
static ZoneDraftBuilder |
ZoneDraftBuilder.of(ZoneDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static ZoneDraftDsl |
ZoneDraftDsl.of(ZoneDraft template)
Creates a new object initialized with the fields of the template parameter.
|
| Modifier and Type | Method and Description |
|---|---|
static ZoneCreateCommand |
ZoneCreateCommand.of(ZoneDraft draft)
Creates a command object to create a
Zone. |