Package | Description |
---|---|
io.sphere.sdk.zones |
Provides model classes and builders for zones.
|
io.sphere.sdk.zones.commands.updateactions |
Provides the possible operations which can be performed on update commands for zones.
|
io.sphere.sdk.zones.queries |
Provides types to retrieve the state of zones.
|
Modifier and Type | Method and Description |
---|---|
static Location |
Location.of(com.neovisionaries.i18n.CountryCode countryCode) |
static Location |
Location.of(com.neovisionaries.i18n.CountryCode countryCode,
String state) |
Modifier and Type | Method and Description |
---|---|
Set<Location> |
ZoneDraft.getLocations() |
Set<Location> |
Zone.getLocations() |
Set<Location> |
ZoneDraftBuilder.getLocations() |
Set<Location> |
ZoneDraftDsl.getLocations() |
Modifier and Type | Method and Description |
---|---|
ZoneDraftBuilder |
ZoneDraftBuilder.plusLocations(Location locations)
Adds
locations parameter to the locations set property of this builder. |
Modifier and Type | Method and Description |
---|---|
ZoneDraftBuilder |
ZoneDraftBuilder.locations(Set<Location> locations)
Sets the
locations property of this builder. |
static ZoneDraft |
ZoneDraft.of(String name,
Set<Location> locations) |
static ZoneDraftBuilder |
ZoneDraftBuilder.of(String name,
Set<Location> locations)
Creates a new object initialized with the given values.
|
static ZoneDraftDsl |
ZoneDraftDsl.of(String name,
Set<Location> locations)
Creates a new object initialized with the given values.
|
static ZoneDraft |
ZoneDraft.of(String name,
Set<Location> locations,
String description) |
static ZoneDraftBuilder |
ZoneDraftBuilder.of(String name,
Set<Location> locations,
String description)
Creates a new object initialized with the given values.
|
static ZoneDraftDsl |
ZoneDraftDsl.of(String name,
Set<Location> locations,
String description)
Creates a new object initialized with the given values.
|
ZoneDraftBuilder |
ZoneDraftBuilder.plusLocations(Set<Location> locations)
Concatenate
locations parameter to the locations set property of this builder. |
ZoneDraftDsl |
ZoneDraftDsl.withLocations(Set<Location> locations) |
Modifier and Type | Method and Description |
---|---|
Location |
RemoveLocation.getLocation() |
Location |
AddLocation.getLocation() |
Modifier and Type | Method and Description |
---|---|
static RemoveLocation |
RemoveLocation.of(Location location) |
static AddLocation |
AddLocation.of(Location location) |
Modifier and Type | Method and Description |
---|---|
default ZoneQuery |
ZoneQuery.byLocation(Location location)
Predicate which matches the country and state of a location.
|