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.orderedits.commands.stagedactions | |
io.sphere.sdk.orders |
Provides model classes and builders for orders.
|
io.sphere.sdk.products |
Provides model classes and builders for products.
|
io.sphere.sdk.products.commands.updateactions |
Provides the possible operations which can be performed on update commands for products.
|
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.taxcategories |
Provides model classes and builders for tax categories.
|
io.sphere.sdk.taxcategories.commands |
Provides types to change the state of tax categories.
|
io.sphere.sdk.taxcategories.expansion |
Provides reference expansion models for tax categories.
|
io.sphere.sdk.taxcategories.queries |
Provides types to retrieve the state of tax categories.
|
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<TaxCategory> |
CustomLineItemDraft.getTaxCategory()
Gets the tax category for this custom line item.
|
Reference<TaxCategory> |
CartShippingInfo.getTaxCategory() |
Reference<TaxCategory> |
CustomLineItem.getTaxCategory() |
Modifier and Type | Method and Description |
---|---|
static CustomLineItemDraft |
CustomLineItemDraft.of(LocalizedString name,
String slug,
javax.money.MonetaryAmount money,
Referenceable<TaxCategory> taxCategory,
long quantity)
Creates a draft having a standard tax category and no custom fields.
|
static CustomLineItemDraft |
CustomLineItemDraft.of(LocalizedString name,
String slug,
javax.money.MonetaryAmount money,
Referenceable<TaxCategory> taxCategory,
long quantity,
CustomFieldsDraft custom)
Creates a draft having a standard tax category and custom fields.
|
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<TaxCategory> |
SetCustomShippingMethod.getTaxCategory() |
ResourceIdentifier<TaxCategory> |
AddCustomLineItem.getTaxCategory() |
Modifier and Type | Method and Description |
---|---|
static AddCustomLineItem |
AddCustomLineItem.of(LocalizedString name,
String slug,
javax.money.MonetaryAmount money,
Referenceable<TaxCategory> taxCategory,
long quantity) |
static AddCustomLineItem |
AddCustomLineItem.of(LocalizedString name,
String slug,
javax.money.MonetaryAmount money,
Referenceable<TaxCategory> taxCategory,
long quantity,
CustomFieldsDraft custom) |
static AddCustomLineItem |
AddCustomLineItem.of(LocalizedString name,
String slug,
javax.money.MonetaryAmount money,
ResourceIdentifier<TaxCategory> taxCategory,
long quantity,
CustomFieldsDraft custom) |
static SetCustomShippingMethod |
SetCustomShippingMethod.of(String shippingMethodName,
ShippingRate shippingRate,
Referenceable<TaxCategory> taxCategory) |
static SetCustomShippingMethod |
SetCustomShippingMethod.of(String shippingMethodName,
ShippingRate shippingRate,
ResourceIdentifier<TaxCategory> taxCategory) |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<TaxCategory> |
SetCustomShippingMethod.getTaxCategory() |
ResourceIdentifier<TaxCategory> |
SetShippingAddressAndCustomShippingMethod.getTaxCategory() |
ResourceIdentifier<TaxCategory> |
AddCustomLineItem.getTaxCategory() |
Modifier and Type | Method and Description |
---|---|
static SetShippingAddressAndCustomShippingMethod |
SetShippingAddressAndCustomShippingMethod.of(Address address,
String shippingMethodName,
ShippingRate shippingRate,
ResourceIdentifier<TaxCategory> taxCategory,
ExternalTaxRateDraft externalTaxRate) |
static AddCustomLineItem |
AddCustomLineItem.of(LocalizedString name,
String slug,
javax.money.MonetaryAmount money,
ResourceIdentifier<TaxCategory> taxCategory,
Long quantity,
CustomFieldsDraft custom,
ExternalTaxRateDraft externalTaxRate) |
static SetCustomShippingMethod |
SetCustomShippingMethod.of(String shippingMethodName,
ShippingRate shippingRate,
ResourceIdentifier<TaxCategory> taxCategory,
ExternalTaxRateDraft externalTaxRateDraft) |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<TaxCategory> |
ShippingInfoImportDraft.getTaxCategory() |
Reference<TaxCategory> |
CustomLineItemImportDraft.getTaxCategory() |
Reference<TaxCategory> |
OrderShippingInfo.getTaxCategory() |
ResourceIdentifier<TaxCategory> |
ShippingInfoImportDraftBuilder.getTaxCategory() |
ResourceIdentifier<TaxCategory> |
ShippingInfoImportDraftDsl.getTaxCategory() |
Modifier and Type | Method and Description |
---|---|
static CustomLineItemImportDraftBuilder |
CustomLineItemImportDraftBuilder.of(LocalizedString name,
long quantity,
javax.money.MonetaryAmount money,
Referenceable<TaxCategory> taxCategory) |
static CustomLineItemImportDraftBuilder |
CustomLineItemImportDraftBuilder.of(LocalizedString name,
long quantity,
javax.money.MonetaryAmount money,
Referenceable<TaxCategory> taxCategory,
CustomFieldsDraft custom) |
static CustomLineItemImportDraftBuilder |
CustomLineItemImportDraftBuilder.of(LocalizedString name,
long quantity,
javax.money.MonetaryAmount money,
Referenceable<TaxCategory> taxCategory,
CustomFieldsDraft custom,
ItemShippingDetailsDraft shippingDetails) |
static CustomLineItemImportDraftBuilder |
CustomLineItemImportDraftBuilder.of(LocalizedString name,
long quantity,
javax.money.MonetaryAmount money,
Referenceable<TaxCategory> taxCategory,
ItemShippingDetailsDraft shippingDetails) |
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.taxCategory(ResourceIdentifier<TaxCategory> taxCategory)
Sets the
taxCategory property of this builder. |
ShippingInfoImportDraftDsl |
ShippingInfoImportDraftDsl.withTaxCategory(ResourceIdentifier<TaxCategory> taxCategory) |
Modifier and Type | Method and Description |
---|---|
Reference<TaxCategory> |
ProductLike.getTaxCategory() |
ResourceIdentifier<TaxCategory> |
ProductDraft.getTaxCategory() |
ResourceIdentifier<TaxCategory> |
ProductDraftDsl.getTaxCategory() |
Modifier and Type | Method and Description |
---|---|
ProductDraftBuilder |
ProductDraftBuilder.taxCategory(Reference<TaxCategory> taxCategory) |
ProductDraftBuilder |
ProductDraftBuilder.taxCategory(Referenceable<TaxCategory> taxCategory) |
ProductDraftDsl |
ProductDraftDsl.withTaxCategory(ResourceIdentifier<TaxCategory> taxCategory) |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<TaxCategory> |
SetTaxCategory.getTaxCategory() |
Modifier and Type | Method and Description |
---|---|
static SetTaxCategory |
SetTaxCategory.of(ResourceIdentifier<TaxCategory> taxCategory) |
static SetTaxCategory |
SetTaxCategory.ofReferencable(Referenceable<TaxCategory> taxCategory)
Deprecated.
|
static SetTaxCategory |
SetTaxCategory.to(Referenceable<TaxCategory> taxCategory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<TaxCategory> |
ShippingMethodDraft.getTaxCategory() |
Reference<TaxCategory> |
ShippingMethod.getTaxCategory() |
ResourceIdentifier<TaxCategory> |
ShippingMethodDraftDsl.getTaxCategory() |
Modifier and Type | Method and Description |
---|---|
static ShippingMethodDraft |
ShippingMethodDraft.of(String name,
LocalizedString localizedDescription,
Referenceable<TaxCategory> taxCategory,
List<ZoneRateDraft> zoneRates) |
static ShippingMethodDraft |
ShippingMethodDraft.of(String name,
LocalizedString localizedDescription,
Referenceable<TaxCategory> taxCategory,
List<ZoneRateDraft> zoneRates,
boolean isDefault) |
static ShippingMethodDraftDsl |
ShippingMethodDraftDsl.of(String name,
LocalizedString localizedDescription,
ResourceIdentifier<TaxCategory> taxCategory,
List<ZoneRateDraft> zoneRates,
Boolean _default)
Creates a new object initialized with the given values.
|
static ShippingMethodDraftDsl |
ShippingMethodDraftDsl.of(String name,
ResourceIdentifier<TaxCategory> taxCategory,
List<ZoneRateDraft> zoneRates,
Boolean _default)
Creates a new object initialized with the given values.
|
static ShippingMethodDraft |
ShippingMethodDraft.of(String name,
String description,
Referenceable<TaxCategory> taxCategory,
List<ZoneRateDraft> zoneRates)
Deprecated.
|
static ShippingMethodDraft |
ShippingMethodDraft.of(String name,
String description,
Referenceable<TaxCategory> taxCategory,
List<ZoneRateDraft> zoneRates,
boolean isDefault)
Deprecated.
|
static ShippingMethodDraftDsl |
ShippingMethodDraftDsl.of(String name,
String description,
ResourceIdentifier<TaxCategory> taxCategory,
List<ZoneRateDraft> zoneRates,
Boolean _default)
Creates a new object initialized with the given values.
|
ShippingMethodDraftDsl |
ShippingMethodDraftDsl.withTaxCategory(ResourceIdentifier<TaxCategory> taxCategory) |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<TaxCategory> |
ChangeTaxCategory.getTaxCategory() |
Modifier and Type | Method and Description |
---|---|
static ChangeTaxCategory |
ChangeTaxCategory.of(Referenceable<TaxCategory> taxCategory) |
static ChangeTaxCategory |
ChangeTaxCategory.of(ResourceIdentifier<TaxCategory> taxCategory) |
Modifier and Type | Method and Description |
---|---|
ReferenceQueryModel<ShippingMethod,TaxCategory> |
ShippingMethodQueryModel.taxCategory() |
Modifier and Type | Method and Description |
---|---|
default ShippingMethodQuery |
ShippingMethodQuery.byTaxCategory(Referenceable<TaxCategory> taxCategory) |
Modifier and Type | Method and Description |
---|---|
static Reference<TaxCategory> |
TaxCategory.referenceOfId(String id)
Creates a reference for one item of this class by a known ID.
|
default Reference<TaxCategory> |
TaxCategory.toReference() |
static com.fasterxml.jackson.core.type.TypeReference<TaxCategory> |
TaxCategory.typeReference()
Creates a container which contains the full Java type information to deserialize this class from JSON.
|
Modifier and Type | Method and Description |
---|---|
static TaxCategoryDeleteCommand |
TaxCategoryDeleteCommand.of(Versioned<TaxCategory> versioned)
Creates a command object to delete a
TaxCategory by ID. |
static TaxCategoryUpdateCommand |
TaxCategoryUpdateCommand.of(Versioned<TaxCategory> versioned,
List<? extends UpdateAction<TaxCategory>> updateActions)
Creates a command to update a TaxCategory selected by its ID using several update actions.
|
static TaxCategoryUpdateCommand |
TaxCategoryUpdateCommand.of(Versioned<TaxCategory> versioned,
List<? extends UpdateAction<TaxCategory>> updateActions)
Creates a command to update a TaxCategory selected by its ID using several update actions.
|
static TaxCategoryUpdateCommand |
TaxCategoryUpdateCommand.of(Versioned<TaxCategory> versioned,
UpdateAction<TaxCategory> updateAction,
UpdateAction<TaxCategory>... updateActions)
Creates a command to update a TaxCategory selected by its ID using one update action.
|
static TaxCategoryUpdateCommand |
TaxCategoryUpdateCommand.of(Versioned<TaxCategory> versioned,
UpdateAction<TaxCategory> updateAction,
UpdateAction<TaxCategory>... updateActions)
Creates a command to update a TaxCategory selected by its ID using one update action.
|
Modifier and Type | Method and Description |
---|---|
static TaxCategoryExpansionModel<TaxCategory> |
TaxCategoryExpansionModel.of() |
Modifier and Type | Method and Description |
---|---|
List<ExpansionPath<TaxCategory>> |
TaxCategoryByKeyGet.expansionPaths() |
List<ExpansionPath<TaxCategory>> |
TaxCategoryByIdGet.expansionPaths() |
StringQuerySortingModel<TaxCategory> |
TaxCategoryQueryModel.key() |
StringQuerySortingModel<TaxCategory> |
TaxCategoryQueryModel.name() |
static com.fasterxml.jackson.core.type.TypeReference<PagedQueryResult<TaxCategory>> |
TaxCategoryQuery.resultTypeReference()
Creates a container which contains the full Java type information to deserialize the query result (NOT this class) from JSON.
|