Package | Description |
---|---|
io.sphere.sdk.cartdiscounts |
Provides model classes and builders for cart discounts.
|
io.sphere.sdk.products |
Provides model classes and builders for products.
|
io.sphere.sdk.products.attributes |
Provides model classes for product type attributes.
|
io.sphere.sdk.products.commands |
Provides types to change the state of products.
|
io.sphere.sdk.products.commands.updateactions |
Provides the possible operations which can be performed on update commands for products.
|
io.sphere.sdk.products.expansion |
Provides reference expansion models for products.
|
io.sphere.sdk.products.queries |
Provides types to retrieve the state of products.
|
io.sphere.sdk.productselections |
Provides model classes and builders for product selections.
|
io.sphere.sdk.productselections.commands.updateactions |
Provides the possible operations which can be performed on update commands for product selections.
|
io.sphere.sdk.productselections.messages | |
io.sphere.sdk.productselections.queries |
Provides types to retrieve the state of product selections.
|
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<Product> |
GiftLineItemCartDiscountValue.getProduct() |
Modifier and Type | Method and Description |
---|---|
static GiftLineItemCartDiscountValue |
GiftLineItemCartDiscountValue.of(ResourceIdentifier<Product> product,
Integer variantId,
ResourceIdentifier<Channel> supplyChannel,
ResourceIdentifier<Channel> distributionChannel) |
static GiftLineItemCartDiscountValue |
CartDiscountValue.ofGiftLineItem(ResourceIdentifier<Product> product,
Integer variantId,
ResourceIdentifier<Channel> supplyChannel,
ResourceIdentifier<Channel> distributionChannel) |
Modifier and Type | Method and Description |
---|---|
static Reference<Product> |
Product.reference(Product product) |
static Reference<Product> |
Product.reference(String id) |
static Reference<Product> |
Product.referenceOfId(String id)
Creates a reference for one item of this class by a known ID.
|
default Reference<Product> |
Product.toReference() |
default Reference<Product> |
ProductProjection.toReference() |
static com.fasterxml.jackson.core.type.TypeReference<Product> |
Product.typeReference()
Creates a container which contains the full Java type information to deserialize this class from JSON.
|
Modifier and Type | Method and Description |
---|---|
static Reference<Product> |
Product.reference(Product product) |
Modifier and Type | Method and Description |
---|---|
static ByIdVariantIdentifier |
ByIdVariantIdentifier.of(Referenceable<Product> product,
Integer variantId) |
Modifier and Type | Method and Description |
---|---|
static RichReferenceAttributeType<Product> |
ReferenceAttributeType.ofProduct() |
static AttributeAccess<Reference<Product>> |
AttributeAccess.ofProductReference() |
static AttributeAccess<Set<Reference<Product>>> |
AttributeAccess.ofProductReferenceSet() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
ProductAttributeConverterBase.convertProductReference(Reference<Product> productReference,
Attribute attribute,
ProductType productType) |
protected String |
DefaultProductAttributeFormatter.convertProductReference(Reference<Product> productReference,
Attribute attribute,
ProductType productType) |
protected abstract T |
ProductAttributeConverterBase.convertProductReferenceSet(Set<Reference<Product>> referenceSet,
Attribute attribute,
ProductType productType) |
protected String |
DefaultProductAttributeFormatter.convertProductReferenceSet(Set<Reference<Product>> referenceSet,
Attribute attribute,
ProductType productType) |
Modifier and Type | Method and Description |
---|---|
static ProductDeleteCommand |
ProductDeleteCommand.of(Versioned<Product> versioned)
Creates a command object to delete a
Product by ID. |
static ProductUpdateCommand |
ProductUpdateCommand.of(Versioned<Product> versioned,
List<? extends UpdateAction<Product>> updateActions) |
static ProductUpdateCommand |
ProductUpdateCommand.of(Versioned<Product> versioned,
List<? extends UpdateAction<Product>> updateActions) |
static ProductUpdateCommand |
ProductUpdateCommand.of(Versioned<Product> versioned,
UpdateAction<Product> updateAction,
UpdateAction<Product>... updateActions) |
static ProductUpdateCommand |
ProductUpdateCommand.of(Versioned<Product> versioned,
UpdateAction<Product> updateAction,
UpdateAction<Product>... updateActions) |
static ProductUpdateCommand |
ProductUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<Product>> updateActions) |
static ProductUpdateCommand |
ProductUpdateCommand.ofKey(String key,
Long version,
UpdateAction<Product> updateAction) |
Modifier and Type | Method and Description |
---|---|
static List<UpdateAction<Product>> |
MetaAttributesUpdateActions.of(MetaAttributes metaAttributes) |
Modifier and Type | Method and Description |
---|---|
static ProductExpansionModel<Product> |
ProductExpansionModel.of() |
Modifier and Type | Method and Description |
---|---|
List<ExpansionPath<Product>> |
ProductByKeyProductSelectionGet.expansionPaths() |
List<ExpansionPath<Product>> |
ProductByIdGet.expansionPaths() |
List<ExpansionPath<Product>> |
ProductByIdProductSelectionGet.expansionPaths() |
List<ExpansionPath<Product>> |
ProductByKeyGet.expansionPaths() |
ProductCatalogDataQueryModel<Product> |
ProductQueryModel.masterData() |
ReferenceQueryModel<Product,ProductType> |
ProductQueryModel.productType() |
static com.fasterxml.jackson.core.type.TypeReference<PagedQueryResult<Product>> |
ProductQuery.resultTypeReference()
Creates a container which contains the full Java type information to deserialize the query result (NOT this class) from JSON.
|
ReviewRatingStatisticsQueryModel<Product> |
ProductQueryModel.reviewRatingStatistics() |
ReferenceOptionalQueryModel<Product,State> |
ProductQueryModel.state() |
Modifier and Type | Method and Description |
---|---|
Reference<Product> |
ProductSelectionAssignment.getProduct() |
Reference<Product> |
AssignedProductReference.getProduct() |
Modifier and Type | Method and Description |
---|---|
static AssignedProductReference |
AssignedProductReference.of(Reference<Product> productReference) |
static ProductSelectionAssignment |
ProductSelectionAssignment.of(Reference<Product> productReference,
Reference<ProductSelection> productSelectionReference) |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<Product> |
AddProduct.getProduct() |
ResourceIdentifier<Product> |
RemoveProduct.getProductResourceIdentifier() |
Modifier and Type | Method and Description |
---|---|
static AddProduct |
AddProduct.of(ResourceIdentifier<Product> product) |
static RemoveProduct |
RemoveProduct.of(ResourceIdentifier<Product> productResourceIdentifier) |
Modifier and Type | Method and Description |
---|---|
Reference<Product> |
ProductSelectionProductAddedMessage.getProductReference() |
Reference<Product> |
ProductSelectionProductRemovedMessage.getProductReference() |
Modifier and Type | Method and Description |
---|---|
ReferenceQueryModel<ProductSelectionAssignment,Product> |
ProductSelectionAssignmentQueryModel.product() |