Package | Description |
---|---|
io.sphere.sdk.carts |
Provides model classes and builders for carts.
|
io.sphere.sdk.carts.commands.updateactions |
Provides the possible operations which can be performed on update commands for carts.
|
io.sphere.sdk.carts.queries |
Provides types to retrieve the state of carts.
|
io.sphere.sdk.orderedits.commands.stagedactions | |
io.sphere.sdk.orders |
Provides model classes and builders for orders.
|
io.sphere.sdk.shippingmethods |
Provides model classes and builders for shipping methods.
|
io.sphere.sdk.shippingmethods.commands |
Provides types to change the state of shipping methods.
|
io.sphere.sdk.shippingmethods.expansion |
Provides reference expansion models for shipping methods.
|
io.sphere.sdk.shippingmethods.queries |
Provides types to retrieve the state of shipping methods.
|
Modifier and Type | Method and Description |
---|---|
Reference<ShippingMethod> |
CartShippingInfo.getShippingMethod() |
ResourceIdentifier<ShippingMethod> |
CartDraft.getShippingMethod() |
Modifier and Type | Method and Description |
---|---|
CartDraftBuilder |
CartDraftBuilder.shippingMethod(Referenceable<ShippingMethod> shippingMethod) |
CartDraftDsl |
CartDraftDsl.withShippingMethod(Referenceable<ShippingMethod> shippingMethod) |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<ShippingMethod> |
SetShippingMethod.getShippingMethod() |
Modifier and Type | Method and Description |
---|---|
static SetShippingMethod |
SetShippingMethod.of(ResourceIdentifier<ShippingMethod> shippingMethod) |
static SetShippingMethod |
SetShippingMethod.ofReferencable(Referenceable<ShippingMethod> shippingMethod)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ReferenceOptionalQueryModel<T,ShippingMethod> |
CartShippingInfoQueryModel.shippingMethod() |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<ShippingMethod> |
SetShippingAddressAndShippingMethod.getShippingMethod() |
ResourceIdentifier<ShippingMethod> |
SetShippingMethod.getShippingMethod() |
Modifier and Type | Method and Description |
---|---|
static SetShippingAddressAndShippingMethod |
SetShippingAddressAndShippingMethod.of(Address address,
ResourceIdentifier<ShippingMethod> shippingMethod,
ExternalTaxRateDraft externalTaxRate) |
static SetShippingMethod |
SetShippingMethod.of(ResourceIdentifier<ShippingMethod> shippingMethod,
ExternalTaxRateDraft externalTaxRate) |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<ShippingMethod> |
ShippingInfoImportDraft.getShippingMethod() |
Reference<ShippingMethod> |
OrderShippingInfo.getShippingMethod() |
ResourceIdentifier<ShippingMethod> |
ShippingInfoImportDraftBuilder.getShippingMethod() |
ResourceIdentifier<ShippingMethod> |
ShippingInfoImportDraftDsl.getShippingMethod() |
Modifier and Type | Method and Description |
---|---|
static OrderShippingInfo |
OrderShippingInfo.of(String shippingMethodName,
javax.money.MonetaryAmount price,
ShippingRate shippingRate,
TaxRate taxRate,
Reference<TaxCategory> taxCategory,
Reference<ShippingMethod> shippingMethod,
List<Delivery> deliveries)
Creates an
OrderShippingInfo for the OrderImportDraft . |
static ShippingInfoImportDraftBuilder |
ShippingInfoImportDraftBuilder.of(String shippingMethodName,
javax.money.MonetaryAmount price,
ShippingRate shippingRate,
TaxRate taxRate,
ResourceIdentifier<TaxCategory> taxCategory,
ResourceIdentifier<ShippingMethod> shippingMethod,
ShippingMethodState shippingMethodState,
List<Delivery> deliveries)
Creates a new object initialized with the given values.
|
static ShippingInfoImportDraftDsl |
ShippingInfoImportDraftDsl.of(String shippingMethodName,
javax.money.MonetaryAmount price,
ShippingRate shippingRate,
TaxRate taxRate,
ResourceIdentifier<TaxCategory> taxCategory,
ResourceIdentifier<ShippingMethod> shippingMethod,
ShippingMethodState shippingMethodState,
List<Delivery> deliveries)
Creates a new object initialized with the given values.
|
ShippingInfoImportDraftBuilder |
ShippingInfoImportDraftBuilder.shippingMethod(ResourceIdentifier<ShippingMethod> shippingMethod)
Sets the
shippingMethod property of this builder. |
ShippingInfoImportDraftDsl |
ShippingInfoImportDraftDsl.withShippingMethod(ResourceIdentifier<ShippingMethod> shippingMethod) |
Modifier and Type | Method and Description |
---|---|
static Reference<ShippingMethod> |
ShippingMethod.referenceOfId(String id)
Creates a reference for one item of this class by a known ID.
|
default Reference<ShippingMethod> |
ShippingMethod.toReference() |
static com.fasterxml.jackson.core.type.TypeReference<ShippingMethod> |
ShippingMethod.typeReference()
Creates a container which contains the full Java type information to deserialize this class from JSON.
|
Modifier and Type | Method and Description |
---|---|
static ShippingMethodDeleteCommand |
ShippingMethodDeleteCommand.of(Versioned<ShippingMethod> versioned)
Creates a command object to delete a
ShippingMethod by ID. |
static ShippingMethodUpdateCommand |
ShippingMethodUpdateCommand.of(Versioned<ShippingMethod> versioned,
List<? extends UpdateAction<ShippingMethod>> updateActions)
Creates a command to update a ShippingMethod selected by its ID using several update actions.
|
static ShippingMethodUpdateCommand |
ShippingMethodUpdateCommand.of(Versioned<ShippingMethod> versioned,
List<? extends UpdateAction<ShippingMethod>> updateActions)
Creates a command to update a ShippingMethod selected by its ID using several update actions.
|
static ShippingMethodUpdateCommand |
ShippingMethodUpdateCommand.of(Versioned<ShippingMethod> versioned,
UpdateAction<ShippingMethod> updateAction,
UpdateAction<ShippingMethod>... updateActions)
Creates a command to update a ShippingMethod selected by its ID using one update action.
|
static ShippingMethodUpdateCommand |
ShippingMethodUpdateCommand.of(Versioned<ShippingMethod> versioned,
UpdateAction<ShippingMethod> updateAction,
UpdateAction<ShippingMethod>... updateActions)
Creates a command to update a ShippingMethod selected by its ID using one update action.
|
static ShippingMethodUpdateCommand |
ShippingMethodUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<ShippingMethod>> updateActions)
Creates a command to update a ShippingMethod selected by its key using several update actions.
|
static ShippingMethodUpdateCommand |
ShippingMethodUpdateCommand.ofKey(String key,
Long version,
UpdateAction<ShippingMethod> updateAction)
Creates a command to update a ShippingMethod selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static ShippingMethodExpansionModel<ShippingMethod> |
ShippingMethodExpansionModel.of() |
Modifier and Type | Method and Description |
---|---|
List<ExpansionPath<ShippingMethod>> |
ShippingMethodByKeyGet.expansionPaths() |
List<ExpansionPath<ShippingMethod>> |
ShippingMethodByIdGet.expansionPaths() |
BooleanQueryModel<ShippingMethod> |
ShippingMethodQueryModel.isDefault() |
StringQuerySortingModel<ShippingMethod> |
ShippingMethodQueryModel.key() |
StringQuerySortingModel<ShippingMethod> |
ShippingMethodQueryModel.name() |
static com.fasterxml.jackson.core.type.TypeReference<PagedQueryResult<ShippingMethod>> |
ShippingMethodQuery.resultTypeReference()
Creates a container which contains the full Java type information to deserialize the query result (NOT this class) from JSON.
|
ReferenceQueryModel<ShippingMethod,TaxCategory> |
ShippingMethodQueryModel.taxCategory() |
ZoneRateCollectionQueryModel<ShippingMethod> |
ShippingMethodQueryModel.zoneRates() |