Package | Description |
---|---|
io.sphere.sdk.cartdiscounts.commands |
Provides types to change the state of cart discounts.
|
io.sphere.sdk.cartdiscounts.commands.updateactions |
Provides the possible operations which can be performed on update commands for cart discounts.
|
io.sphere.sdk.carts.commands |
Provides types to change the state of carts.
|
io.sphere.sdk.carts.commands.updateactions |
Provides the possible operations which can be performed on update commands for carts.
|
io.sphere.sdk.categories.commands |
Provides types to change the state of categories.
|
io.sphere.sdk.categories.commands.updateactions |
Provides the possible operations which can be performed on update commands for categories.
|
io.sphere.sdk.channels.commands |
Provides types to change the state of channels.
|
io.sphere.sdk.channels.commands.updateactions |
Provides the possible operations which can be performed on update commands for channels.
|
io.sphere.sdk.commands |
This package provide tools to change objects in Composable Commerce.
|
io.sphere.sdk.customergroups.commands |
Provides types to change the state of customer groups.
|
io.sphere.sdk.customers.commands |
Provides types to change the state of customers.
|
io.sphere.sdk.customers.commands.updateactions |
Provides the possible operations which can be performed on update commands for customers.
|
io.sphere.sdk.discountcodes.commands |
Provides types to change the state of discount codes.
|
io.sphere.sdk.discountcodes.commands.updateactions |
Provides the possible operations which can be performed on update commands for discount codes.
|
io.sphere.sdk.extensions.commands | |
io.sphere.sdk.extensions.commands.updateactions |
Provides the possible operations which can be performed on update commands for extensions.
|
io.sphere.sdk.inventory.commands |
Provides types to change the state of inventory entries.
|
io.sphere.sdk.inventory.commands.updateactions |
Provides the possible operations which can be performed on update commands for inventory entries.
|
io.sphere.sdk.orderedits.commands | |
io.sphere.sdk.orderedits.commands.updateactions | |
io.sphere.sdk.orders.commands |
Provides types to change the state of orders.
|
io.sphere.sdk.orders.commands.updateactions |
Provides the possible operations which can be performed on update commands for orders.
|
io.sphere.sdk.payments.commands |
Provides types to change the state of payments.
|
io.sphere.sdk.payments.commands.updateactions |
Provides the possible operations which can be performed on update commands for payments.
|
io.sphere.sdk.productdiscounts.commands |
Provides types to change the state of product discounts.
|
io.sphere.sdk.productdiscounts.commands.updateactions |
Provides the possible operations which can be performed on update commands for product discounts.
|
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.productselections.commands |
Provides types to change the state of product selection.
|
io.sphere.sdk.productselections.commands.updateactions |
Provides the possible operations which can be performed on update commands for product selections.
|
io.sphere.sdk.producttypes.commands |
Provides types to change the state of product types.
|
io.sphere.sdk.producttypes.commands.updateactions |
Provides the possible operations which can be performed on update commands for product types.
|
io.sphere.sdk.projects.commands | |
io.sphere.sdk.projects.commands.updateactions | |
io.sphere.sdk.reviews.commands |
Provides types to change the state of reviews.
|
io.sphere.sdk.reviews.commands.updateactions |
Provides the possible operations which can be performed on update commands for reviews.
|
io.sphere.sdk.shippingmethods.commands |
Provides types to change the state of 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.shoppinglists.commands |
Provides types to change the state of shopping list methods.
|
io.sphere.sdk.shoppinglists.commands.updateactions |
Provides the possible operations which can be performed on update commands for shopping list methods.
|
io.sphere.sdk.states.commands |
Provides types to change the state of states.
|
io.sphere.sdk.states.commands.updateactions |
Provides the possible operations which can be performed on update commands for states.
|
io.sphere.sdk.states.relatedupdateactions |
Provides model classes and builders for states.
|
io.sphere.sdk.stores.commands | |
io.sphere.sdk.stores.commands.updateactions | |
io.sphere.sdk.subscriptions.commands |
Provides types to change the state of subscription methods.
|
io.sphere.sdk.subscriptions.commands.updateactions |
Provides the possible operations which can be performed on update commands for subscription methods.
|
io.sphere.sdk.taxcategories.commands |
Provides types to change the state of tax categories.
|
io.sphere.sdk.taxcategories.commands.updateactions |
Provides the possible operations which can be performed on update commands for tax categories.
|
io.sphere.sdk.types.commands |
Provides types to change the state of types.
|
io.sphere.sdk.types.commands.updateactions |
Provides the possible operations which can be performed on update commands for types.
|
io.sphere.sdk.types.customupdateactions |
Provides update actions to update fields of resources implementing
Custom . |
io.sphere.sdk.zones.commands |
Provides types to change the state of zones.
|
io.sphere.sdk.zones.commands.updateactions |
Provides the possible operations which can be performed on update commands for zones.
|
Modifier and Type | Method and Description |
---|---|
static CartDiscountUpdateCommand |
CartDiscountUpdateCommand.of(Versioned<CartDiscount> versioned,
UpdateAction<CartDiscount> updateAction,
UpdateAction<CartDiscount>... updateActions)
Creates a command to update a CartDiscount selected by its ID using one update action.
|
static CartDiscountUpdateCommand |
CartDiscountUpdateCommand.of(Versioned<CartDiscount> versioned,
UpdateAction<CartDiscount> updateAction,
UpdateAction<CartDiscount>... updateActions)
Creates a command to update a CartDiscount selected by its ID using one update action.
|
static CartDiscountUpdateCommand |
CartDiscountUpdateCommand.ofKey(String key,
Long version,
UpdateAction<CartDiscount> updateAction)
Creates a command to update a CartDiscount selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static CartDiscountUpdateCommand |
CartDiscountUpdateCommand.of(Versioned<CartDiscount> versioned,
List<? extends UpdateAction<CartDiscount>> updateActions)
Creates a command to update a CartDiscount selected by its ID using several update actions.
|
static CartDiscountUpdateCommand |
CartDiscountUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<CartDiscount>> updateActions)
Creates a command to update a CartDiscount selected by its key using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
ChangeCartPredicate
Changes the cart predicate.
|
class |
ChangeRequiresDiscountCode
Updates the
requiringDiscountCode property of a CartDiscount . |
class |
ChangeStackingMode
Updates the
stackingMode property of a CartDiscount . |
class |
ChangeTarget
Updates the
target property of a CartDiscount . |
Modifier and Type | Method and Description |
---|---|
static CartInStoreUpdateCommand |
CartInStoreUpdateCommand.of(String storeKey,
Versioned<Cart> versioned,
UpdateAction<Cart> updateAction,
UpdateAction<Cart>... updateActions) |
static CartInStoreUpdateCommand |
CartInStoreUpdateCommand.of(String storeKey,
Versioned<Cart> versioned,
UpdateAction<Cart> updateAction,
UpdateAction<Cart>... updateActions) |
static CartUpdateCommand |
CartUpdateCommand.of(Versioned<Cart> versioned,
UpdateAction<Cart> updateAction,
UpdateAction<Cart>... updateActions)
Creates a command to update a Cart selected by its ID using one update action.
|
static CartUpdateCommand |
CartUpdateCommand.of(Versioned<Cart> versioned,
UpdateAction<Cart> updateAction,
UpdateAction<Cart>... updateActions)
Creates a command to update a Cart selected by its ID using one update action.
|
Modifier and Type | Method and Description |
---|---|
static CartInStoreUpdateCommand |
CartInStoreUpdateCommand.of(String storeKey,
Versioned<Cart> versioned,
List<? extends UpdateAction<Cart>> updateActions) |
static CartUpdateCommand |
CartUpdateCommand.of(Versioned<Cart> versioned,
List<? extends UpdateAction<Cart>> updateActions)
Creates a command to update a Cart selected by its ID using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
AddCustomLineItem
Adds a CustomLineItem to the cart.
|
class |
AddDiscountCode
Adds a discount code to the cart.
|
class |
AddShoppingList
Adds all line items of a shopping list to the cart.
|
class |
ApplyDeltaToCustomLineItemShippingDetailsTargets
Updates the
customLineItems property of a Cart . |
class |
ApplyDeltaToLineItemShippingDetailsTargets
Updates the
lineItems property of a Cart . |
class |
ChangeCustomLineItemMoney
Sets the monetary amount of the given custom line item.
|
class |
ChangeCustomLineItemQuantity
Sets the quantity of the given custom line item.
|
class |
ChangeTaxCalculationMode
Updates the
taxCalculationMode property of a Cart . |
class |
ChangeTaxMode
Changes the
tax mode of a cart. |
class |
ChangeTaxRoundingMode
Changes the
CartLike.getTaxRoundingMode() () tax rounding mode} of a cart. |
class |
FreezeCart |
class |
Recalculate
Updates tax rates and prices.
|
class |
RemoveCustomLineItem
Removes the custom line item from the cart.
|
class |
RemoveDiscountCode
Removes a discount code.
|
class |
SetBillingAddressCustomField
Updates a custom field in a custom line item.
|
class |
SetBillingAddressCustomType
Sets or removes a custom type in a custom line item.
|
class |
SetCartTotalTax
The total tax amount of the cart can be set if it has the
TaxMode.EXTERNAL_AMOUNT set. |
class |
SetCountry
Sets the country of the cart.
|
class |
SetCustomerId
Sets an existing customer ID for a cart.
|
class |
SetCustomLineItemTaxAmount
A custom line item tax amount can be set if the cart has the
TaxMode.EXTERNAL_AMOUNT set. |
class |
SetCustomLineItemTaxRate
Sets a tax rate for a line item if the cart has the tax mode
TaxMode.EXTERNAL . |
class |
SetCustomShippingMethod
Sets a custom shipping method (independent of the shipping methods defined in the project).
|
class |
SetDeliveryAddressCustomField
Updates a custom field in a custom line item.
|
class |
SetDeliveryAddressCustomType
Sets or removes a custom type in a custom line item.
|
class |
SetItemShippingAddressCustomField
Updates a custom field in a custom line item.
|
class |
SetItemShippingAddressCustomType
Sets or removes a custom type in a custom line item.
|
class |
SetLineItemDistributionChannel
Sets the distribution channel of the given LineItem.
|
class |
SetLineItemPrice
Sets the price of a line item and changes the priceMode of the line item to ExternalPrice.
|
class |
SetLineItemSupplyChannel
Sets the supply channel of the given LineItem.
|
class |
SetLineItemTaxAmount
A line item tax amount can be set if the cart has the
TaxMode.EXTERNAL_AMOUNT set. |
class |
SetLineItemTaxRate
Sets a new tax rate that overrides the tax rate selected by default.
|
class |
SetLineItemTotalPrice
Sets the totalPrice and price of the line item and
changes the priceMode of the line item to ExternalTotal.
|
class |
SetShippingAddressCustomField
Updates a custom field in a custom line item.
|
class |
SetShippingAddressCustomType
Sets or removes a custom type in a custom line item.
|
class |
SetShippingMethod
Sets the shipping method.
|
class |
SetShippingMethodTaxAmount
A shipping method tax amount can be set if the cart has the
TaxMode.EXTERNAL_AMOUNT set. |
class |
SetShippingMethodTaxRate
Sets a new tax rate that overrides the tax rate selected by default.
|
class |
SetShippingRateInput
Updates the
shippingRateInput property of a Cart . |
class |
UnfreezeCart |
Modifier and Type | Method and Description |
---|---|
static UpdateAction<Cart> |
ChangeCustomLineItemQuantity.of(CustomLineItem lineItem,
long quantity) |
static UpdateAction<Cart> |
ChangeCustomLineItemMoney.of(CustomLineItem lineItem,
javax.money.MonetaryAmount money) |
static UpdateAction<Cart> |
ChangeLineItemQuantity.of(LineItem lineItem,
long quantity) |
Modifier and Type | Method and Description |
---|---|
static CategoryUpdateCommand |
CategoryUpdateCommand.of(Versioned<Category> versioned,
UpdateAction<Category> updateAction,
UpdateAction<Category>... updateActions)
Creates a command to update a Category selected by its ID using one update action.
|
static CategoryUpdateCommand |
CategoryUpdateCommand.of(Versioned<Category> versioned,
UpdateAction<Category> updateAction,
UpdateAction<Category>... updateActions)
Creates a command to update a Category selected by its ID using one update action.
|
Modifier and Type | Method and Description |
---|---|
static CategoryUpdateCommand |
CategoryUpdateCommand.of(Versioned<Category> versioned,
List<? extends UpdateAction<Category>> updateActions)
Creates a command to update a Category selected by its ID using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
ChangeOrderHint
Changes the order hint of a category.
|
class |
ChangeParent
Sets a concrete parent for the category.
|
class |
SetExternalId
Changes the external id of a category.
|
Modifier and Type | Method and Description |
---|---|
static ChannelUpdateCommand |
ChannelUpdateCommand.of(Versioned<Channel> versioned,
UpdateAction<Channel> updateAction,
UpdateAction<Channel>... updateActions)
Creates a command to update a Channel selected by its ID using one update action.
|
static ChannelUpdateCommand |
ChannelUpdateCommand.of(Versioned<Channel> versioned,
UpdateAction<Channel> updateAction,
UpdateAction<Channel>... updateActions)
Creates a command to update a Channel selected by its ID using one update action.
|
Modifier and Type | Method and Description |
---|---|
static ChannelUpdateCommand |
ChannelUpdateCommand.of(Versioned<Channel> versioned,
List<? extends UpdateAction<Channel>> updateActions)
Creates a command to update a Channel selected by its ID using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
SetAddress
Sets the address.
|
class |
SetGeoLocation
Sets/unsets the geo location of the channel.
|
Modifier and Type | Class and Description |
---|---|
class |
UpdateActionImpl<T>
Operation which can be performed to change the state of a resource in Composable Commerce.
|
Modifier and Type | Method and Description |
---|---|
List<? extends UpdateAction<T>> |
UpdateCommand.getUpdateActions()
Gets the list of updates which should be applied to the object
|
List<? extends UpdateAction<T>> |
MetaModelUpdateCommandDslImpl.getUpdateActions() |
Modifier and Type | Method and Description |
---|---|
C |
MetaModelUpdateCommandDslImpl.plusUpdateActions(List<? extends UpdateAction<T>> updateActions) |
C |
UpdateCommandDsl.plusUpdateActions(List<? extends UpdateAction<T>> updateActions)
Creates a copy of this update command with additional update actions.
|
C |
MetaModelUpdateCommandDslImpl.withUpdateActions(List<? extends UpdateAction<T>> updateActions) |
C |
UpdateCommandDsl.withUpdateActions(List<? extends UpdateAction<T>> updateActions) |
Constructor and Description |
---|
MetaModelUpdateCommandDslImpl(Versioned<T> versioned,
List<? extends UpdateAction<T>> updateActions,
JsonEndpoint<T> endpoint,
Function<MetaModelUpdateCommandDslBuilder<T,C,E>,C> creationFunction,
E expansionModel) |
Modifier and Type | Method and Description |
---|---|
static CustomerGroupUpdateCommand |
CustomerGroupUpdateCommand.of(Versioned<CustomerGroup> versioned,
UpdateAction<CustomerGroup> updateAction,
UpdateAction<CustomerGroup>... updateActions)
Creates a command to update a CustomerGroup selected by its ID using one update action.
|
static CustomerGroupUpdateCommand |
CustomerGroupUpdateCommand.of(Versioned<CustomerGroup> versioned,
UpdateAction<CustomerGroup> updateAction,
UpdateAction<CustomerGroup>... updateActions)
Creates a command to update a CustomerGroup selected by its ID using one update action.
|
static CustomerGroupUpdateCommand |
CustomerGroupUpdateCommand.ofKey(String key,
Long version,
UpdateAction<CustomerGroup> updateAction)
Creates a command to update a CustomerGroup selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static CustomerGroupUpdateCommand |
CustomerGroupUpdateCommand.of(Versioned<CustomerGroup> versioned,
List<? extends UpdateAction<CustomerGroup>> updateActions)
Creates a command to update a CustomerGroup selected by its ID using several update actions.
|
static CustomerGroupUpdateCommand |
CustomerGroupUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<CustomerGroup>> updateActions)
Creates a command to update a CustomerGroup selected by its key using several update actions.
|
Modifier and Type | Method and Description |
---|---|
static CustomerInStoreUpdateCommand |
CustomerInStoreUpdateCommand.of(Versioned<Customer> versioned,
String storeKey,
UpdateAction<Customer> updateAction,
UpdateAction<Customer>... updateActions) |
static CustomerInStoreUpdateCommand |
CustomerInStoreUpdateCommand.of(Versioned<Customer> versioned,
String storeKey,
UpdateAction<Customer> updateAction,
UpdateAction<Customer>... updateActions) |
static CustomerUpdateCommand |
CustomerUpdateCommand.of(Versioned<Customer> versioned,
UpdateAction<Customer> updateAction,
UpdateAction<Customer>... updateActions)
Creates a command to update a Customer selected by its ID using one update action.
|
static CustomerUpdateCommand |
CustomerUpdateCommand.of(Versioned<Customer> versioned,
UpdateAction<Customer> updateAction,
UpdateAction<Customer>... updateActions)
Creates a command to update a Customer selected by its ID using one update action.
|
static CustomerInStoreUpdateCommand |
CustomerInStoreUpdateCommand.ofKey(String key,
Long version,
String storeKey,
UpdateAction<Customer> updateAction) |
static CustomerUpdateCommand |
CustomerUpdateCommand.ofKey(String key,
Long version,
UpdateAction<Customer> updateAction)
Creates a command to update a Customer selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static CustomerUpdateCommand |
CustomerUpdateCommand.of(Versioned<Customer> versioned,
List<? extends UpdateAction<Customer>> updateActions)
Creates a command to update a Customer selected by its ID using several update actions.
|
static CustomerInStoreUpdateCommand |
CustomerInStoreUpdateCommand.of(Versioned<Customer> versioned,
String storeKey,
List<? extends UpdateAction<Customer>> updateActions) |
static CustomerUpdateCommand |
CustomerUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<Customer>> updateActions)
Creates a command to update a Customer selected by its key using several update actions.
|
static CustomerInStoreUpdateCommand |
CustomerInStoreUpdateCommand.ofKey(String key,
Long version,
String storeKey,
List<? extends UpdateAction<Customer>> updateActions) |
Modifier and Type | Class and Description |
---|---|
class |
AddAddress
Adds an address to a customer.
|
class |
AddBillingAddressId
Adds an existing address from the
Customer.getAddresses() - referred to by its `id` - to Customer.getBillingAddressIds() . |
class |
AddShippingAddressId
Adds an existing address from the
Customer.getAddresses() - referred to by its `id` - to Customer.getShippingAddressIds() . |
class |
AddStore |
class |
ChangeAddress
Replaces the address with the given ID, with the new address in the customer's addresses array.
|
class |
ChangeEmail
Updates the
email property of a Customer . |
class |
RemoveAddress
Removes the address with the given ID from the customer's addresses.
|
class |
RemoveBillingAddressId
Removes an existing billing address from the
Customer.getBillingAddressIds() . |
class |
RemoveShippingAddressId
Removes an existing shipping address from the
Customer.getShippingAddressIds() . |
class |
RemoveStore |
class |
SetAddressCustomField
Updates a custom field in a custom line item.
|
class |
SetAddressCustomType
Sets or removes a custom type in a custom line item.
|
class |
SetAuthenticationMode
Sets authentication mode for the customer.
|
class |
SetCompanyName
Sets the
companyName property of a Customer . |
class |
SetCustomerGroup
Sets the customer group for a customer.
|
class |
SetCustomerNumber
Sets the
customerNumber property of a Customer . |
class |
SetDateOfBirth
Sets a date of birth for the customer.
|
class |
SetDefaultBillingAddress
Sets the default billing address from the customer's addresses.
|
class |
SetDefaultShippingAddress
Sets the default shipping address from the customer's addresses.
|
class |
SetFirstName
Sets the
firstName property of a Customer . |
class |
SetLastName
Sets the
lastName property of a Customer . |
class |
SetMiddleName
Sets the
middleName property of a Customer . |
class |
SetSalutation
Sets the
salutation property of a Customer . |
class |
SetStores |
class |
SetVatId
Sets the
vatId property of a Customer . |
Modifier and Type | Method and Description |
---|---|
static DiscountCodeUpdateCommand |
DiscountCodeUpdateCommand.of(Versioned<DiscountCode> versioned,
UpdateAction<DiscountCode> updateAction,
UpdateAction<DiscountCode>... updateActions)
Creates a command to update a DiscountCode selected by its ID using one update action.
|
static DiscountCodeUpdateCommand |
DiscountCodeUpdateCommand.of(Versioned<DiscountCode> versioned,
UpdateAction<DiscountCode> updateAction,
UpdateAction<DiscountCode>... updateActions)
Creates a command to update a DiscountCode selected by its ID using one update action.
|
Modifier and Type | Method and Description |
---|---|
static DiscountCodeUpdateCommand |
DiscountCodeUpdateCommand.of(Versioned<DiscountCode> versioned,
List<? extends UpdateAction<DiscountCode>> updateActions)
Creates a command to update a DiscountCode selected by its ID using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
ChangeCartDiscounts
Changes the cart discounts.
|
class |
ChangeGroups
Updates the
groups property of a DiscountCode . |
class |
SetCartPredicate
Sets the cart predicate.
|
class |
SetMaxApplications
Sets the maximum applicable number of a discount code.
|
class |
SetMaxApplicationsPerCustomer
Sets the maximum number of applicable discount codes per customer.
|
Modifier and Type | Method and Description |
---|---|
static ExtensionUpdateCommand |
ExtensionUpdateCommand.of(Versioned<Extension> versioned,
UpdateAction<Extension> updateAction,
UpdateAction<Extension>... updateActions)
Creates a command to update a Extension selected by its ID using one update action.
|
static ExtensionUpdateCommand |
ExtensionUpdateCommand.of(Versioned<Extension> versioned,
UpdateAction<Extension> updateAction,
UpdateAction<Extension>... updateActions)
Creates a command to update a Extension selected by its ID using one update action.
|
static ExtensionUpdateCommand |
ExtensionUpdateCommand.ofId(String id,
Long version,
UpdateAction<Extension> updateAction)
Creates a command to update a Extension selected by its id using one update action.
|
static ExtensionUpdateCommand |
ExtensionUpdateCommand.ofKey(String key,
Long version,
UpdateAction<Extension> updateAction)
Creates a command to update a Extension selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static ExtensionUpdateCommand |
ExtensionUpdateCommand.of(Versioned<Extension> versioned,
List<? extends UpdateAction<Extension>> updateActions)
Creates a command to update a Extension selected by its ID using several update actions.
|
static ExtensionUpdateCommand |
ExtensionUpdateCommand.ofId(String id,
Long version,
List<? extends UpdateAction<Extension>> updateActions)
Creates a command to update a Extension selected by its id using several update actions.
|
static ExtensionUpdateCommand |
ExtensionUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<Extension>> updateActions)
Creates a command to update a Extension selected by its key using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
ChangeDestination
Updates the
destination property of a Extension . |
class |
ChangeTriggers
Updates the
triggers property of a Extension . |
class |
SetTimeoutInMs
Updates the
timeoutInMs property of a Extension . |
Modifier and Type | Method and Description |
---|---|
static InventoryEntryUpdateCommand |
InventoryEntryUpdateCommand.of(Versioned<InventoryEntry> versioned,
UpdateAction<InventoryEntry> updateAction,
UpdateAction<InventoryEntry>... updateActions)
Creates a command to update a InventoryEntry selected by its ID using one update action.
|
static InventoryEntryUpdateCommand |
InventoryEntryUpdateCommand.of(Versioned<InventoryEntry> versioned,
UpdateAction<InventoryEntry> updateAction,
UpdateAction<InventoryEntry>... updateActions)
Creates a command to update a InventoryEntry selected by its ID using one update action.
|
Modifier and Type | Method and Description |
---|---|
static InventoryEntryUpdateCommand |
InventoryEntryUpdateCommand.of(Versioned<InventoryEntry> versioned,
List<? extends UpdateAction<InventoryEntry>> updateActions)
Creates a command to update a InventoryEntry selected by its ID using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
AddQuantity
Adds items to the stock.
|
class |
ChangeQuantity
Changes the absolute quantity.
|
class |
RemoveQuantity
Subtracts quantity from the stock.
|
class |
SetExpectedDelivery
Sets the expected delivery.
|
class |
SetRestockableInDays
Sets the restackable in days value.
|
class |
SetSupplyChannel
Sets/unsets the supply channel.
|
Modifier and Type | Method and Description |
---|---|
static OrderEditUpdateCommand |
OrderEditUpdateCommand.of(Versioned<OrderEdit> versioned,
UpdateAction<OrderEdit> updateAction,
UpdateAction<OrderEdit>... updateActions)
Creates a command to update a OrderEdit selected by its ID using one update action.
|
static OrderEditUpdateCommand |
OrderEditUpdateCommand.of(Versioned<OrderEdit> versioned,
UpdateAction<OrderEdit> updateAction,
UpdateAction<OrderEdit>... updateActions)
Creates a command to update a OrderEdit selected by its ID using one update action.
|
static OrderEditUpdateCommand |
OrderEditUpdateCommand.ofKey(String key,
Long version,
UpdateAction<OrderEdit> updateAction)
Creates a command to update a OrderEdit selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static OrderEditUpdateCommand |
OrderEditUpdateCommand.of(Versioned<OrderEdit> versioned,
List<? extends UpdateAction<OrderEdit>> updateActions)
Creates a command to update a OrderEdit selected by its ID using several update actions.
|
static OrderEditUpdateCommand |
OrderEditUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<OrderEdit>> updateActions)
Creates a command to update a OrderEdit selected by its key using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
AddStagedAction |
class |
SetComment
Updates the
comment property of a OrderEdit . |
class |
SetStagedActions
Updates the
stagedActions property of a OrderEdit . |
Modifier and Type | Method and Description |
---|---|
static OrderInStoreUpdateByOrderNumberCommand |
OrderInStoreUpdateByOrderNumberCommand.of(String storeKey,
String orderNumber,
Long version,
UpdateAction<Order> updateAction,
UpdateAction<Order>... updateActions) |
static OrderInStoreUpdateByOrderNumberCommand |
OrderInStoreUpdateByOrderNumberCommand.of(String storeKey,
String orderNumber,
Long version,
UpdateAction<Order> updateAction,
UpdateAction<Order>... updateActions) |
static OrderInStoreUpdateByOrderNumberCommand |
OrderInStoreUpdateByIdCommand.of(String storeKey,
Versioned<Order> versioned,
UpdateAction<Order> updateAction,
UpdateAction<Order>... updateActions) |
static OrderInStoreUpdateByOrderNumberCommand |
OrderInStoreUpdateByIdCommand.of(String storeKey,
Versioned<Order> versioned,
UpdateAction<Order> updateAction,
UpdateAction<Order>... updateActions) |
static OrderUpdateCommand |
OrderUpdateCommand.of(Versioned<Order> versioned,
UpdateAction<Order> updateAction,
UpdateAction<Order>... updateActions)
Creates a command to update a Order selected by its ID using one update action.
|
static OrderUpdateCommand |
OrderUpdateCommand.of(Versioned<Order> versioned,
UpdateAction<Order> updateAction,
UpdateAction<Order>... updateActions)
Creates a command to update a Order selected by its ID using one update action.
|
static OrderUpdateCommand |
OrderUpdateCommand.ofOrderNumber(String orderNumber,
Long version,
UpdateAction<Order> updateAction)
Creates a command to update a Order selected by its orderNumber using one update action.
|
Modifier and Type | Method and Description |
---|---|
static OrderInStoreUpdateByOrderNumberCommand |
OrderInStoreUpdateByOrderNumberCommand.of(String storeKey,
String orderNumber,
Long version,
List<UpdateAction<Order>> updateActions) |
static OrderInStoreUpdateByOrderNumberCommand |
OrderInStoreUpdateByIdCommand.of(String storeKey,
Versioned<Order> versioned,
List<? extends UpdateAction<Order>> updateActions) |
static OrderUpdateCommand |
OrderUpdateCommand.of(Versioned<Order> versioned,
List<? extends UpdateAction<Order>> updateActions)
Creates a command to update a Order selected by its ID using several update actions.
|
static OrderUpdateCommand |
OrderUpdateCommand.ofOrderNumber(String orderNumber,
Long version,
List<? extends UpdateAction<Order>> updateActions)
Creates a command to update a Order selected by its orderNumber using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
AddDelivery
Adds a delivery.
|
class |
AddItemShippingAddress
Updates the
itemShippingAddresses property of a Order . |
class |
AddParcelToDelivery
Adds a parcel to a delivery.
|
class |
AddPayment
This action adds a payment to the PaymentInfo.
|
class |
AddReturnInfo
Adds return data to an order.
|
class |
ChangeOrderState
Changes the order state.
|
class |
ChangePaymentState
Changes the payment state.
|
class |
ChangeShipmentState
Changes the shipment state.
|
class |
ImportCustomLineItemState
These import of states does not follow any predefined rules and should be only used if no transitions are defined.
|
class |
ImportLineItemState
These import of states does not follow any predefined rules and should be only used if no transitions are defined.
|
class |
RemoveDelivery
Updates the
deliveries property of a Order . |
class |
RemoveItemShippingAddress
Updates the
itemShippingAddresses property of a Order . |
class |
RemoveParcelFromDelivery
Updates the
parcels property of a Order . |
class |
RemovePayment
This action removes a payment from the PaymentInfo.
|
class |
SetBillingAddress
Sets the billing address.
|
class |
SetCustomerEmail
Sets the customer email.
|
class |
SetCustomLineItemCustomField
Updates a custom field in a custom line item.
|
class |
SetCustomLineItemCustomType
Sets or removes a custom type in a custom line item.
|
class |
SetCustomLineItemShippingDetails
Updates the
customLineItems property of a Order . |
class |
SetDeliveryAddress
Sets the
address value on an existing Delivery |
class |
SetDeliveryCustomField
Updates a custom field in a delivery.
|
class |
SetDeliveryCustomType
Sets or removes a custom type in a delivery
See also OrderUpdateCommand. |
class |
SetDeliveryItems
Updates the
items property of a Order . |
class |
SetLineItemShippingDetails
Updates the
lineItems property of a Order . |
class |
SetLocale
Sets the locale.
|
class |
SetOrderNumber
Sets the order number.
|
class |
SetParcelCustomField
Updates a custom field in a parcel.
|
class |
SetParcelCustomType
Sets or removes a custom type in a parcel.
|
class |
SetParcelItems
Updates the
items property of a Order . |
class |
SetParcelMeasurements
Updates the
measurements property of a Order . |
class |
SetParcelTrackingData
Updates the
trackingData property of a Order . |
class |
SetReturnInfo
Sets return data to an order.
|
class |
SetReturnItemCustomField
Updates a custom field in a return item.
|
class |
SetReturnItemCustomType
Sets or removes a custom type in a return item.
|
class |
SetReturnPaymentState
Sets the return payment state.
|
class |
SetReturnShipmentState
Sets the return shipment state.
|
class |
SetShippingAddress
Sets the shipping address of an order (not its cart) to a new value or to null.
|
class |
TransitionCustomLineItemState
Change the state of a Custom Line Item according to allowed transitions.
|
class |
TransitionLineItemState
Change the state of a Line Item according to allowed transitions
See also OrderUpdateCommand.
|
class |
UpdateItemShippingAddress
Updates the
itemShippingAddresses property of a Order . |
class |
UpdateSyncInfo
Updates the synchronization info.
|
Modifier and Type | Method and Description |
---|---|
static UpdateAction<Order> |
TransitionCustomLineItemState.of(CustomLineItem lineItem,
long quantity,
Referenceable<State> fromState,
Referenceable<State> toState) |
static UpdateAction<Order> |
TransitionCustomLineItemState.of(CustomLineItem lineItem,
long quantity,
Referenceable<State> fromState,
Referenceable<State> toState,
ZonedDateTime actualTransitionDate) |
static UpdateAction<Order> |
TransitionLineItemState.of(LineItem lineItem,
long quantity,
Referenceable<State> fromState,
Referenceable<State> toState) |
static UpdateAction<Order> |
TransitionLineItemState.of(LineItem lineItem,
long quantity,
Referenceable<State> fromState,
Referenceable<State> toState,
ZonedDateTime actualTransitionDate) |
Modifier and Type | Method and Description |
---|---|
static PaymentUpdateCommand |
PaymentUpdateCommand.of(Versioned<Payment> versioned,
UpdateAction<Payment> updateAction,
UpdateAction<Payment>... updateActions)
Creates a command to update a Payment selected by its ID using one update action.
|
static PaymentUpdateCommand |
PaymentUpdateCommand.of(Versioned<Payment> versioned,
UpdateAction<Payment> updateAction,
UpdateAction<Payment>... updateActions)
Creates a command to update a Payment selected by its ID using one update action.
|
static PaymentUpdateCommand |
PaymentUpdateCommand.ofKey(String key,
Long version,
UpdateAction<Payment> updateAction)
Creates a command to update a Payment selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static PaymentUpdateCommand |
PaymentUpdateCommand.of(Versioned<Payment> versioned,
List<? extends UpdateAction<Payment>> updateActions)
Creates a command to update a Payment selected by its ID using several update actions.
|
static PaymentUpdateCommand |
PaymentUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<Payment>> updateActions)
Creates a command to update a Payment selected by its key using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
AddInterfaceInteraction
Adds a new interaction with the interface.
|
class |
AddTransaction
Adds a new financial transaction.
|
class |
ChangeAmountPlanned
Changes how much money this payment intends to receive from the customer.
|
class |
ChangeTransactionInteractionId
Changes the interactionId of a transaction.
|
class |
ChangeTransactionState
Changes state of a transaction.
|
class |
ChangeTransactionTimestamp
Changes timestamp of a transaction.
|
class |
SetAmountPaid
Deprecated.
This update action will be removed with the next major SDK update.
|
class |
SetAmountRefunded
Deprecated.
This update action will be removed with the next major SDK update.
|
class |
SetAnonymousId
Sets the
anonymousId property of a Payment . |
class |
SetAuthorization
Deprecated.
This update action will be removed with the next major SDK update.
|
class |
SetCustomer
Sets the reference to the customer.
|
class |
SetCustomField
Updates a custom field.
|
class |
SetCustomType
Sets or removes a custom type.
|
class |
SetInterfaceId
Sets the
interfaceId property of a Payment . |
class |
SetMethodInfoInterface
Sets the interface that handles the payment (usually a PSP).
|
class |
SetMethodInfoMethod
Sets the method used, e.g.
|
class |
SetMethodInfoName
Sets a human-readable, localizable name for the payment method, e.g.
|
class |
SetStatusInterfaceCode
Sets the code, given by the PSP, that describes the current status.
|
class |
SetStatusInterfaceText
Sets a text, given by the PSP, that describes the current status.
|
class |
SetTransactionCustomField |
class |
SetTransactionCustomType |
class |
TransitionState
Transition to a new state.
|
Modifier and Type | Method and Description |
---|---|
static ProductDiscountUpdateCommand |
ProductDiscountUpdateCommand.of(Versioned<ProductDiscount> versioned,
UpdateAction<ProductDiscount> updateAction,
UpdateAction<ProductDiscount>... updateActions)
Creates a command to update a ProductDiscount selected by its ID using one update action.
|
static ProductDiscountUpdateCommand |
ProductDiscountUpdateCommand.of(Versioned<ProductDiscount> versioned,
UpdateAction<ProductDiscount> updateAction,
UpdateAction<ProductDiscount>... updateActions)
Creates a command to update a ProductDiscount selected by its ID using one update action.
|
static ProductDiscountUpdateCommand |
ProductDiscountUpdateCommand.ofKey(String key,
Long version,
UpdateAction<ProductDiscount> updateAction)
Creates a command to update a ProductDiscount selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static ProductDiscountUpdateCommand |
ProductDiscountUpdateCommand.of(Versioned<ProductDiscount> versioned,
List<? extends UpdateAction<ProductDiscount>> updateActions)
Creates a command to update a ProductDiscount selected by its ID using several update actions.
|
static ProductDiscountUpdateCommand |
ProductDiscountUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<ProductDiscount>> updateActions)
Creates a command to update a ProductDiscount selected by its key using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
ChangeIsActive
Enables or disables the discount.
|
class |
ChangeName
Changes the name.
|
class |
ChangePredicate
Changes the predicate of a discount.
|
class |
ChangeSortOrder
Changes the sort order of a discount.
|
class |
ChangeValue
Changes the value of the discount.
|
class |
SetValidFrom
Updates the
validFrom property of a ProductDiscount . |
class |
SetValidFromAndUntil
Updates the
validFrom property of a ProductDiscount . |
class |
SetValidUntil
Updates the
validUntil property of a ProductDiscount . |
Modifier and Type | Method and Description |
---|---|
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,
UpdateAction<Product> updateAction) |
Modifier and Type | Method and Description |
---|---|
static ProductUpdateCommand |
ProductUpdateCommand.of(Versioned<Product> versioned,
List<? extends UpdateAction<Product>> updateActions) |
static ProductUpdateCommand |
ProductUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<Product>> updateActions) |
Modifier and Type | Class and Description |
---|---|
class |
AddAsset
Adds an asset.
|
class |
AddExternalImage
Adds external image url with meta-information to the product variant.
|
class |
AddPrice
Adds the given price to the product variant's prices set.
|
class |
AddToCategory
Adds a product to a category.
|
class |
AddVariant
Adds a variant to a product.
|
class |
ChangeAssetName
Changes the name of an asset.
|
class |
ChangeAssetOrder
Changes the order of the assets list.
|
class |
ChangeMasterVariant
Sets the given variant as the new master variant.
|
class |
ChangePrice
Replaces a price in the product variant's prices set.
|
class |
ChangeSlug
Updates the slug of a product.
|
class |
LegacySetSku
Deprecated.
use
SetSku instead which updates the SKU just in staged |
class |
MoveImageToPosition
Moves an image to a new position within a product variant.
|
class |
Publish
Publishes a product, which causes the staged projection of the product to override the current projection.
|
class |
RemoveAsset
Removes an asset.
|
class |
RemoveFromCategory
Removes a product from a category.
|
class |
RemoveImage
Removes a product image.
|
class |
RemovePrice
Removes a price from the product.
|
class |
RemoveVariant
Removes a variant from a product.
|
class |
RevertStagedChanges
Revert all changes, which were made to the staged version of a product and reset to the current version.
|
class |
RevertStagedVariantChanges
Revert changes of a variant, which were made to the staged version of a product and reset to the
+current version.
|
class |
SetAssetCustomField
This action sets, overwrites or removes any existing custom field for an existing Asset.
|
class |
SetAssetCustomType
This action sets, overwrites or removes the custom type and fields for an existing Asset.
|
class |
SetAssetDescription
Changes the description of an asset.
|
class |
SetAssetKey
Adds asset to a
Product . |
class |
SetAssetSources
Sets the sources of an asset.
|
class |
SetAssetTags
Sets the tags of an asset.
|
class |
SetAttribute
Adds/Removes/Changes a custom attribute.
|
class |
SetAttributeInAllVariants
Adds / Removes / Changes a custom attribute in all variants at the same time (it can be helpful to set attribute values that are constrained with SameForAll).
|
class |
SetCategoryOrderHint
Sets/unsets the category order hint which can be used to sort products.
|
class |
SetDiscountedPrice
Discounts a product price.
|
class |
SetImageLabel
Updates the
masterData property of a Product . |
class |
SetMetaDescription
Sets the SEO attribute description.
|
class |
SetMetaKeywords
Sets the SEO attribute keywords.
|
class |
SetMetaTitle
Sets the SEO attribute title.
|
class |
SetPrices
Sets the prices of a product variant.
|
class |
SetProductPriceCustomField
Updates a custom field in a price.
|
class |
SetProductPriceCustomType
Sets or removes a custom type in a price.
|
class |
SetProductVariantKey
|
class |
SetSearchKeywords
Sets the search keywords for a product.
|
class |
SetSku
Adds, changes or removes a SKU on a product variant.
|
class |
SetTaxCategory
Adds, changes or removes a product's tax category.
|
class |
Unpublish
Unpublishes a product, effectively deleting the current projection of the product, leaving only the staged projection.
|
Modifier and Type | Method and Description |
---|---|
static List<UpdateAction<Product>> |
MetaAttributesUpdateActions.of(MetaAttributes metaAttributes) |
Modifier and Type | Method and Description |
---|---|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.of(Versioned<ProductSelection> versioned,
UpdateAction<ProductSelection> updateAction,
UpdateAction<ProductSelection>... updateActions)
Creates a command to update a ProductSelection selected by its ID using one update action.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.of(Versioned<ProductSelection> versioned,
UpdateAction<ProductSelection> updateAction,
UpdateAction<ProductSelection>... updateActions)
Creates a command to update a ProductSelection selected by its ID using one update action.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.ofId(String id,
Long version,
UpdateAction<ProductSelection> updateAction)
Creates a command to update a ProductSelection selected by its id using one update action.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.ofKey(String key,
Long version,
UpdateAction<ProductSelection> updateAction)
Creates a command to update a ProductSelection selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.of(Versioned<ProductSelection> versioned,
List<? extends UpdateAction<ProductSelection>> updateActions)
Creates a command to update a ProductSelection selected by its ID using several update actions.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.ofId(String id,
Long version,
List<? extends UpdateAction<ProductSelection>> updateActions)
Creates a command to update a ProductSelection selected by its id using several update actions.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<ProductSelection>> updateActions)
Creates a command to update a ProductSelection selected by its key using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
AddProduct |
class |
RemoveProduct |
Modifier and Type | Method and Description |
---|---|
static ProductTypeUpdateCommand |
ProductTypeUpdateCommand.of(Versioned<ProductType> versioned,
UpdateAction<ProductType> updateAction,
UpdateAction<ProductType>... updateActions)
Creates a command to update a ProductType selected by its ID using one update action.
|
static ProductTypeUpdateCommand |
ProductTypeUpdateCommand.of(Versioned<ProductType> versioned,
UpdateAction<ProductType> updateAction,
UpdateAction<ProductType>... updateActions)
Creates a command to update a ProductType selected by its ID using one update action.
|
static ProductTypeUpdateCommand |
ProductTypeUpdateCommand.ofKey(String key,
Long version,
UpdateAction<ProductType> updateAction)
Creates a command to update a ProductType selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static ProductTypeUpdateCommand |
ProductTypeUpdateCommand.of(Versioned<ProductType> versioned,
List<? extends UpdateAction<ProductType>> updateActions)
Creates a command to update a ProductType selected by its ID using several update actions.
|
static ProductTypeUpdateCommand |
ProductTypeUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<ProductType>> updateActions)
Creates a command to update a ProductType selected by its key using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
AddAttributeDefinition
Adds an attribute definition to a product type.
|
class |
AddEnumValue
Adds an enum value to an enum attribute definition.
|
class |
AddLocalizedEnumValue
Adds a localized enum value to the product attribute definition.
|
class |
ChangeAttributeConstraint
Updates the
attribute property of a ProductType . |
class |
ChangeAttributeDefinitionLabel
Changes the attribute definition label.
|
class |
ChangeAttributeName
Updates the
attribute property of a ProductType . |
class |
ChangeAttributeOrder
Deprecated.
Please use
ChangeAttributeOrderByName .
Changes the attribute order.
See also ProductTypeUpdateCommand.
|
class |
ChangeAttributeOrderByName
Updates the
attribute property of a ProductType . |
class |
ChangeDescription
Changes the description.
|
class |
ChangeEnumKey
Updates the
attribute property of a ProductType . |
class |
ChangeEnumValueOrder
Changes the enum value order.
|
class |
ChangeInputHint
Change Attribute Definition InputHint.
|
class |
ChangeIsSearchable
Change Attribute Definition IsSearchable.
|
class |
ChangeLocalizedEnumValueLabel
This action changes the label of a single enum value in a LocalizableEnumType attribute definition.
|
class |
ChangeLocalizedEnumValueOrder
Changes the localized enum value order.
|
class |
ChangePlainEnumValueLabel
This action changes the label of a single enum value in an EnumType attribute definition.
|
class |
RemoveAttributeDefinition
Remove an attribute definition.
|
class |
RemoveEnumValues
Removes enum values from an attribute definition of an
EnumAttributeType , a LocalizedEnumAttributeType
or a SetAttributeType of these types. |
class |
SetInputTip
Sets the attribute input tip.
|
Modifier and Type | Method and Description |
---|---|
List<? extends UpdateAction<Project>> |
ProjectUpdateCommand.getActions()
The list of update actions to be performed on the project.
|
Modifier and Type | Method and Description |
---|---|
static ProjectUpdateCommand |
ProjectUpdateCommand.of(Project project,
UpdateAction<Project> action) |
Modifier and Type | Method and Description |
---|---|
static ProjectUpdateCommand |
ProjectUpdateCommand.of(Project project,
List<? extends UpdateAction<Project>> actions) |
Modifier and Type | Class and Description |
---|---|
class |
ChangeCartsConfiguration
Updates the
carts property of a Project . |
class |
ChangeCountries
Updates the
countries property of a Project . |
class |
ChangeCountryTaxRateFallbackEnabled
Updates the
carts property of a Project . |
class |
ChangeCurrencies
Updates the
currencies property of a Project . |
class |
ChangeLanguages
Updates the
languages property of a Project . |
class |
ChangeMessages
Updates the
messages property of a Project . |
class |
ChangeMessagesConfiguration
Updates the
messages property of a Project . |
class |
ChangeMessagesEnabled
Updates the
messages property of a Project . |
class |
ChangeProductSearchIndexingEnabled
Updates the
searchIndexing property of a Project . |
class |
ChangeShoppingListsConfiguration
Updates the
shoppingLists property of a Project . |
class |
SetExternalOAuth
Updates the
externalOAuth property of a Project . |
class |
SetShippingRateInputType
Updates the
shippingRateInputType property of a Project . |
Modifier and Type | Method and Description |
---|---|
static ReviewUpdateCommand |
ReviewUpdateCommand.of(Versioned<Review> versioned,
UpdateAction<Review> updateAction,
UpdateAction<Review>... updateActions)
Creates a command to update a Review selected by its ID using one update action.
|
static ReviewUpdateCommand |
ReviewUpdateCommand.of(Versioned<Review> versioned,
UpdateAction<Review> updateAction,
UpdateAction<Review>... updateActions)
Creates a command to update a Review selected by its ID using one update action.
|
static ReviewUpdateCommand |
ReviewUpdateCommand.ofKey(String key,
Long version,
UpdateAction<Review> updateAction)
Creates a command to update a Review selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static ReviewUpdateCommand |
ReviewUpdateCommand.of(Versioned<Review> versioned,
List<? extends UpdateAction<Review>> updateActions)
Creates a command to update a Review selected by its ID using several update actions.
|
static ReviewUpdateCommand |
ReviewUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<Review>> updateActions)
Creates a command to update a Review selected by its key using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
SetAuthorName
Sets/unsets the author name of a review.
|
class |
SetRating
Sets/unsets the rating of a review.
|
class |
SetTarget
Sets/unsets the target of a review.
|
class |
SetText
Sets/unsets the content of a review.
|
class |
SetTitle
Sets/unsets the title of a review
See also ReviewUpdateCommand.
|
Modifier and Type | Method and Description |
---|---|
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,
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 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.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.
|
Modifier and Type | Class and Description |
---|---|
class |
AddShippingRate
Adds a shipping rate.
|
class |
AddZone
Adds a zone.
|
class |
ChangeIsDefault
Sets a shipping method as default or not.
|
class |
ChangeTaxCategory
Changes the tax category.
|
class |
RemoveShippingRate
Removes a shipping rate.
|
class |
RemoveZone
Removes a zone.
|
class |
SetLocalizedDescription
Updates the
localizedDescription property of a ShippingMethod . |
class |
SetLocalizedName
Updates the
localizedName property of a ShippingMethod . |
class |
SetPredicate
Sets the
predicate property of a ShippingMethod . |
Modifier and Type | Method and Description |
---|---|
static ShoppingListInStoreUpdateCommand |
ShoppingListInStoreUpdateCommand.of(Versioned<ShoppingList> versioned,
String storeKey,
UpdateAction<ShoppingList> updateAction,
UpdateAction<ShoppingList>... updateActions) |
static ShoppingListInStoreUpdateCommand |
ShoppingListInStoreUpdateCommand.of(Versioned<ShoppingList> versioned,
String storeKey,
UpdateAction<ShoppingList> updateAction,
UpdateAction<ShoppingList>... updateActions) |
static ShoppingListUpdateCommand |
ShoppingListUpdateCommand.of(Versioned<ShoppingList> versioned,
UpdateAction<ShoppingList> updateAction,
UpdateAction<ShoppingList>... updateActions)
Creates a command to update a ShoppingList selected by its ID using one update action.
|
static ShoppingListUpdateCommand |
ShoppingListUpdateCommand.of(Versioned<ShoppingList> versioned,
UpdateAction<ShoppingList> updateAction,
UpdateAction<ShoppingList>... updateActions)
Creates a command to update a ShoppingList selected by its ID using one update action.
|
static ShoppingListInStoreUpdateCommand |
ShoppingListInStoreUpdateCommand.ofKey(String key,
Long version,
String storeKey,
UpdateAction<ShoppingList> updateAction) |
static ShoppingListUpdateCommand |
ShoppingListUpdateCommand.ofKey(String key,
Long version,
UpdateAction<ShoppingList> updateAction)
Creates a command to update a ShoppingList selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static ShoppingListUpdateCommand |
ShoppingListUpdateCommand.of(Versioned<ShoppingList> versioned,
List<? extends UpdateAction<ShoppingList>> updateActions)
Creates a command to update a ShoppingList selected by its ID using several update actions.
|
static ShoppingListInStoreUpdateCommand |
ShoppingListInStoreUpdateCommand.of(Versioned<ShoppingList> versioned,
String storeKey,
List<? extends UpdateAction<ShoppingList>> updateActions) |
static ShoppingListUpdateCommand |
ShoppingListUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<ShoppingList>> updateActions)
Creates a command to update a ShoppingList selected by its key using several update actions.
|
static ShoppingListInStoreUpdateCommand |
ShoppingListInStoreUpdateCommand.ofKey(String key,
Long version,
String storeKey,
List<? extends UpdateAction<ShoppingList>> updateActions) |
Modifier and Type | Class and Description |
---|---|
class |
AddLineItem
Adds a line item to a shopping list.
|
class |
AddTextLineItem
Adds a text line item to a shopping list.
|
class |
ChangeLineItemQuantity
Changes the line item quantity.
|
class |
ChangeLineItemsOrder
Changes the order of the line items.
|
class |
ChangeTextLineItemName
Changes the text line item name.
|
class |
ChangeTextLineItemQuantity
Changes the text line item quantity.
|
class |
ChangeTextLineItemsOrder
Changes the order of the text line items.
|
class |
RemoveLineItem
Removes a line item from a shopping list.
|
class |
RemoveTextLineItem
Removes a text line item from a shopping list.
|
class |
SetDeleteDaysAfterLastModification
Sets the TTL
ShoppingList.getDeleteDaysAfterLastModification() of the shopping list. |
class |
SetKey
Sets the key of the shopping list.
|
class |
SetLineItemCustomField
Updates a custom field in a line item.
|
class |
SetLineItemCustomType
Sets or removes a custom type in a line item.
|
class |
SetSlug
Sets the slug of the shopping list.
|
class |
SetStore
Sets the Store.
|
class |
SetTextLineItemCustomField
Updates a custom field in a text line item.
|
class |
SetTextLineItemCustomType
Sets or removes a custom type in a text line item.
|
class |
SetTextLineItemDescription
Sets the text line item description.
|
Modifier and Type | Method and Description |
---|---|
static StateUpdateCommand |
StateUpdateCommand.of(Versioned<State> versioned,
UpdateAction<State> updateAction,
UpdateAction<State>... updateActions)
Creates a command to update a State selected by its ID using one update action.
|
static StateUpdateCommand |
StateUpdateCommand.of(Versioned<State> versioned,
UpdateAction<State> updateAction,
UpdateAction<State>... updateActions)
Creates a command to update a State selected by its ID using one update action.
|
static StateUpdateCommand |
StateUpdateCommand.ofKey(String key,
Long version,
UpdateAction<State> updateAction)
Creates a command to update a State selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static StateUpdateCommand |
StateUpdateCommand.of(Versioned<State> versioned,
List<? extends UpdateAction<State>> updateActions)
Creates a command to update a State selected by its ID using several update actions.
|
static StateUpdateCommand |
StateUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<State>> updateActions)
Creates a command to update a State selected by its key using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
AddRoles
Adds roles to a state.
|
class |
ChangeInitial
Configures if a state can be an initial state.
|
class |
ChangeKey
Changes the key of a state.
|
class |
ChangeType
Changes the type for which the state can be used.
|
class |
RemoveRoles
Removes a role from a state.
|
class |
SetDescription
Sets the description of a state.
|
class |
SetName
Sets/unsets the name of a state.
|
class |
SetRoles
Sets the roles of a state.
|
class |
SetTransitions
Configures the allowed transitions to the next state.
|
Modifier and Type | Class and Description |
---|---|
class |
TransitionStateBase<T>
Internal base class
|
Modifier and Type | Method and Description |
---|---|
static StoreUpdateCommand |
StoreUpdateCommand.of(Versioned<Store> versioned,
UpdateAction<Store> updateAction,
UpdateAction<Store>... updateActions)
Creates a command to update a Store selected by its ID using one update action.
|
static StoreUpdateCommand |
StoreUpdateCommand.of(Versioned<Store> versioned,
UpdateAction<Store> updateAction,
UpdateAction<Store>... updateActions)
Creates a command to update a Store selected by its ID using one update action.
|
Modifier and Type | Method and Description |
---|---|
static StoreUpdateCommand |
StoreUpdateCommand.of(Versioned<Store> versioned,
List<? extends UpdateAction<Store>> updateActions)
Creates a command to update a Store selected by its ID using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
AddDistributionChannel
Add a Distribution Channel.
|
class |
AddProductSelection
Add a Product Selection.
|
class |
AddSupplyChannel
Add a Supply Channel.
|
class |
ChangeProductSelection
Change a Product Selection.
|
class |
RemoveDistributionChannel
Remove a Distribution Channel.
|
class |
RemoveProductSelection
Remove a Product Selection.
|
class |
RemoveSupplyChannel
Remove a Supply Channel.
|
class |
SetDistributionChannels
Set a Distribution Channel.
|
class |
SetLanguages
Updates the
languages property of a Store . |
class |
SetProductSelections
Add a Product Selection.
|
class |
SetSupplyChannels
Set a Supply Channel.
|
Modifier and Type | Method and Description |
---|---|
static SubscriptionUpdateCommand |
SubscriptionUpdateCommand.of(Versioned<Subscription> versioned,
UpdateAction<Subscription> updateAction,
UpdateAction<Subscription>... updateActions)
Creates a command to update a Subscription selected by its ID using one update action.
|
static SubscriptionUpdateCommand |
SubscriptionUpdateCommand.of(Versioned<Subscription> versioned,
UpdateAction<Subscription> updateAction,
UpdateAction<Subscription>... updateActions)
Creates a command to update a Subscription selected by its ID using one update action.
|
static SubscriptionUpdateCommand |
SubscriptionUpdateCommand.ofKey(String key,
Long version,
UpdateAction<Subscription> updateAction)
Creates a command to update a Subscription selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static SubscriptionUpdateCommand |
SubscriptionUpdateCommand.of(Versioned<Subscription> versioned,
List<? extends UpdateAction<Subscription>> updateActions)
Creates a command to update a Subscription selected by its ID using several update actions.
|
static SubscriptionUpdateCommand |
SubscriptionUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<Subscription>> updateActions)
Creates a command to update a Subscription selected by its key using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
SetChanges
Sets the changes of the subscription.
|
class |
SetMessages
Sets the messages of the subscription.
|
Modifier and Type | Method and Description |
---|---|
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 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.
|
Modifier and Type | Class and Description |
---|---|
class |
AddTaxRate
Adds a tax rate.
|
class |
RemoveTaxRate
Removes a tax rate.
|
class |
ReplaceTaxRate
Replaces a tax rate.
|
Modifier and Type | Method and Description |
---|---|
static TypeUpdateCommand |
TypeUpdateCommand.of(Versioned<Type> versioned,
UpdateAction<Type> updateAction,
UpdateAction<Type>... updateActions)
Creates a command to update a Type selected by its ID using one update action.
|
static TypeUpdateCommand |
TypeUpdateCommand.of(Versioned<Type> versioned,
UpdateAction<Type> updateAction,
UpdateAction<Type>... updateActions)
Creates a command to update a Type selected by its ID using one update action.
|
static TypeUpdateCommand |
TypeUpdateCommand.ofKey(String key,
Long version,
UpdateAction<Type> updateAction)
Creates a command to update a Type selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static TypeUpdateCommand |
TypeUpdateCommand.of(Versioned<Type> versioned,
List<? extends UpdateAction<Type>> updateActions)
Creates a command to update a Type selected by its ID using several update actions.
|
static TypeUpdateCommand |
TypeUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<Type>> updateActions)
Creates a command to update a Type selected by its key using several update actions.
|
Modifier and Type | Class and Description |
---|---|
class |
AddFieldDefinition
Adds another field definition to a
Type (NOT ProductType ). |
class |
ChangeEnumValueLabel |
class |
ChangeFieldDefinitionLabel
Changes the label.
|
class |
ChangeFieldDefinitionOrder
Changes the order of the fields.
|
class |
RemoveFieldDefinition
Removes a field definition from a type.
|
Modifier and Type | Class and Description |
---|---|
class |
SetCustomFieldBase<T> |
class |
SetCustomTypeBase<T> |
Modifier and Type | Method and Description |
---|---|
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,
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 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.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.
|
Modifier and Type | Class and Description |
---|---|
class |
AddLocation
Adds a location to a zone.
|
class |
RemoveLocation
Removes a location from a zone.
|