Package | Description |
---|---|
io.sphere.sdk.shippingmethods |
Provides model classes and builders for shipping methods.
|
io.sphere.sdk.shippingmethods.commands.updateactions |
Provides the possible operations which can be performed on update commands for shipping methods.
|
io.sphere.sdk.shippingmethods.queries |
Provides types to retrieve the state of shipping methods.
|
io.sphere.sdk.zones |
Provides model classes and builders for zones.
|
io.sphere.sdk.zones.commands |
Provides types to change the state of zones.
|
io.sphere.sdk.zones.expansion |
Provides reference expansion models for zones.
|
io.sphere.sdk.zones.queries |
Provides types to retrieve the state of zones.
|
Modifier and Type | Method and Description |
---|---|
Reference<Zone> |
ZoneRate.getZone() |
ResourceIdentifier<Zone> |
ZoneRateDraft.getZone() |
ResourceIdentifier<Zone> |
ZoneRateDraftBuilder.getZone() |
ResourceIdentifier<Zone> |
ZoneRateDraftDsl.getZone() |
default List<Reference<Zone>> |
ShippingMethod.getZones() |
Modifier and Type | Method and Description |
---|---|
default List<ShippingRate> |
ShippingMethod.getShippingRatesForZone(Referenceable<Zone> zone) |
static ZoneRate |
ZoneRate.of(Referenceable<Zone> zone,
List<ShippingRate> shippingRates) |
static ZoneRateDraftBuilder |
ZoneRateDraftBuilder.of(ResourceIdentifier<Zone> zone,
List<ShippingRate> shippingRates)
Creates a new object initialized with the given values.
|
static ZoneRateDraftDsl |
ZoneRateDraftDsl.of(ResourceIdentifier<Zone> zone,
List<ShippingRate> shippingRates)
Creates a new object initialized with the given values.
|
ZoneRateDraftDsl |
ZoneRateDraftDsl.withZone(ResourceIdentifier<Zone> zone) |
ZoneRateDraftBuilder |
ZoneRateDraftBuilder.zone(ResourceIdentifier<Zone> zone)
Sets the
zone property of this builder. |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<Zone> |
AddZone.getZone() |
ResourceIdentifier<Zone> |
RemoveZone.getZone() |
ResourceIdentifier<Zone> |
AddShippingRate.getZone() |
ResourceIdentifier<Zone> |
RemoveShippingRate.getZone() |
Modifier and Type | Method and Description |
---|---|
static AddZone |
AddZone.of(Referenceable<Zone> zone) |
static RemoveZone |
RemoveZone.of(ResourceIdentifier<Zone> zone) |
static AddShippingRate |
AddShippingRate.of(ShippingRate shippingRate,
Referenceable<Zone> zone) |
static RemoveShippingRate |
RemoveShippingRate.of(ShippingRate shippingRate,
Referenceable<Zone> zone) |
static RemoveZone |
RemoveZone.ofReferencable(Referenceable<Zone> zone)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ReferenceQueryModel<T,Zone> |
ZoneRateCollectionQueryModel.zone() |
Modifier and Type | Method and Description |
---|---|
static Reference<Zone> |
Zone.referenceOfId(String id)
Creates a reference for one item of this class by a known ID.
|
default Reference<Zone> |
Zone.toReference() |
static com.fasterxml.jackson.core.type.TypeReference<Zone> |
Zone.typeReference()
Creates a container which contains the full Java type information to deserialize this class from JSON.
|
Modifier and Type | Method and Description |
---|---|
static ZoneDeleteCommand |
ZoneDeleteCommand.of(Versioned<Zone> versioned)
Creates a command object to delete a
Zone by ID. |
static ZoneUpdateCommand |
ZoneUpdateCommand.of(Versioned<Zone> versioned,
List<? extends UpdateAction<Zone>> updateActions)
Creates a command to update a Zone selected by its ID using several update actions.
|
static ZoneUpdateCommand |
ZoneUpdateCommand.of(Versioned<Zone> versioned,
List<? extends UpdateAction<Zone>> updateActions)
Creates a command to update a Zone selected by its ID using several update actions.
|
static ZoneUpdateCommand |
ZoneUpdateCommand.of(Versioned<Zone> versioned,
UpdateAction<Zone> updateAction,
UpdateAction<Zone>... updateActions)
Creates a command to update a Zone selected by its ID using one update action.
|
static ZoneUpdateCommand |
ZoneUpdateCommand.of(Versioned<Zone> versioned,
UpdateAction<Zone> updateAction,
UpdateAction<Zone>... updateActions)
Creates a command to update a Zone selected by its ID using one update action.
|
static ZoneUpdateCommand |
ZoneUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<Zone>> updateActions)
Creates a command to update a Zone selected by its key using several update actions.
|
static ZoneUpdateCommand |
ZoneUpdateCommand.ofKey(String key,
Long version,
UpdateAction<Zone> updateAction)
Creates a command to update a Zone selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static ZoneExpansionModel<Zone> |
ZoneExpansionModel.of() |
Modifier and Type | Method and Description |
---|---|
List<ExpansionPath<Zone>> |
ZoneByIdGet.expansionPaths() |
List<ExpansionPath<Zone>> |
ZoneByKeyGet.expansionPaths() |
StringQuerySortingModel<Zone> |
ZoneQueryModel.key() |
LocationsCollectionQueryModel<Zone> |
ZoneQueryModel.locations() |
StringQuerySortingModel<Zone> |
ZoneQueryModel.name() |
static com.fasterxml.jackson.core.type.TypeReference<PagedQueryResult<Zone>> |
ZoneQuery.resultTypeReference()
Creates a container which contains the full Java type information to deserialize the query result (NOT this class) from JSON.
|