Package com.commercetools.api.models.cart_discount
package com.commercetools.api.models.cart_discount
-
ClassDescriptionCartDiscount Example to create an instance using the builder patternIf a referenced Store does not exist, a ReferencedResourceNotFound error is returned.CartDiscountAddStoreActionBuilder Example to create an instance using the builder patternIf a referenced Store does not exist, a ReferencedResourceNotFound error is returned.CartDiscountBuilder Example to create an instance using the builder patternCartDiscountChangeCartPredicateAction Example to create an instance using the builder patternCartDiscountChangeCartPredicateActionBuilder Example to create an instance using the builder patternCartDiscountChangeCartPredicateActionCartDiscountChangeIsActiveAction Example to create an instance using the builder patternCartDiscountChangeIsActiveActionBuilder Example to create an instance using the builder patternCartDiscountChangeIsActiveActionCartDiscountChangeNameAction Example to create an instance using the builder patternCartDiscountChangeNameActionBuilder Example to create an instance using the builder patternCartDiscountChangeNameActionCartDiscountChangeRequiresDiscountCodeAction Example to create an instance using the builder patternCartDiscountChangeRequiresDiscountCodeActionBuilder Example to create an instance using the builder patternCartDiscountChangeRequiresDiscountCodeActionCartDiscountChangeSortOrderAction Example to create an instance using the builder patternCartDiscountChangeSortOrderActionBuilder Example to create an instance using the builder patternCartDiscountChangeSortOrderActionCartDiscountChangeStackingModeAction Example to create an instance using the builder patternCartDiscountChangeStackingModeActionBuilder Example to create an instance using the builder patternCartDiscountChangeStackingModeActionCartDiscountChangeTargetAction Example to create an instance using the builder patternCartDiscountChangeTargetActionBuilder Example to create an instance using the builder patternCartDiscountChangeTargetActionChanges the CartDiscountValue for relative, absolute and fixed price CartDiscounts.CartDiscountChangeValueActionBuilder Example to create an instance using the builder patternChanges the CartDiscountValue for relative, absolute and fixed price CartDiscounts.Discount is applied to CustomLineItems matching the
predicate
.CartDiscountCustomLineItemsTargetBuilder Example to create an instance using the builder patternDiscount is applied to CustomLineItems matching thepredicate
.CartDiscountDraft Example to create an instance using the builder patternCartDiscountDraftBuilder Example to create an instance using the builder patternCartDiscountDraftCartDiscountDiscount is applied to LineItems matching thepredicate
.CartDiscountLineItemsTargetBuilder Example to create an instance using the builder patternDiscount is applied to LineItems matching thepredicate
.PagedQueryResult withresults
containing an array of CartDiscount.CartDiscountPagedQueryResponseBuilder Example to create an instance using the builder patternPagedQueryResult withresults
containing an array of CartDiscount.Reference to a CartDiscount.CartDiscountReferenceBuilder Example to create an instance using the builder patternReference to a CartDiscount.If a referenced Store does not exist, a ReferencedResourceNotFound error is returned.CartDiscountRemoveStoreActionBuilder Example to create an instance using the builder patternIf a referenced Store does not exist, a ReferencedResourceNotFound error is returned.ResourceIdentifier to a CartDiscount.CartDiscountResourceIdentifierBuilder Example to create an instance using the builder patternResourceIdentifier to a CartDiscount.CartDiscountSetCustomFieldAction Example to create an instance using the builder patternCartDiscountSetCustomFieldActionBuilder Example to create an instance using the builder patternCartDiscountSetCustomFieldActionCartDiscountSetCustomTypeAction Example to create an instance using the builder patternCartDiscountSetCustomTypeActionBuilder Example to create an instance using the builder patternCartDiscountSetCustomTypeActionCartDiscountSetDescriptionAction Example to create an instance using the builder patternCartDiscountSetDescriptionActionBuilder Example to create an instance using the builder patternCartDiscountSetDescriptionActionCartDiscountSetKeyAction Example to create an instance using the builder patternCartDiscountSetKeyActionBuilder Example to create an instance using the builder patternCartDiscountSetKeyActionIf a referenced Store does not exist, a ReferencedResourceNotFound error is returned.CartDiscountSetStoresActionBuilder Example to create an instance using the builder patternIf a referenced Store does not exist, a ReferencedResourceNotFound error is returned.CartDiscountSetValidFromAction Example to create an instance using the builder patternCartDiscountSetValidFromActionBuilder Example to create an instance using the builder patternCartDiscountSetValidFromActionCartDiscountSetValidFromAndUntilAction Example to create an instance using the builder patternCartDiscountSetValidFromAndUntilActionBuilder Example to create an instance using the builder patternCartDiscountSetValidFromAndUntilActionCartDiscountSetValidUntilAction Example to create an instance using the builder patternCartDiscountSetValidUntilActionBuilder Example to create an instance using the builder patternCartDiscountSetValidUntilActionDiscount is applied to the shipping costs of the Cart.CartDiscountShippingCostTargetBuilder Example to create an instance using the builder patternDiscount is applied to the shipping costs of the Cart.CartDiscountTarget Example to create a subtype instance using the builder patternCartDiscountTargetBuilderCartDiscountTargetDiscount is applied to the total price of the Cart.CartDiscountTotalPriceTargetBuilder Example to create an instance using the builder patternDiscount is applied to the total price of the Cart.CartDiscountUpdate Example to create an instance using the builder patternCartDiscountUpdateAction Example to create a subtype instance using the builder patternCartDiscountUpdateActionBuilderCartDiscountUpdateActionCartDiscountUpdateBuilder Example to create an instance using the builder patternCartDiscountUpdateCartDiscountValue Example to create a subtype instance using the builder patternDiscounts the CartDiscountTarget by an absolute amount (not allowed for MultiBuyLineItemsTarget and MultiBuyCustomLineItemsTarget).CartDiscountValueAbsoluteBuilder Example to create an instance using the builder patternCartDiscountValueAbsoluteDraft Example to create an instance using the builder patternCartDiscountValueAbsoluteDraftBuilder Example to create an instance using the builder patternCartDiscountValueAbsoluteDraftDiscounts the CartDiscountTarget by an absolute amount (not allowed for MultiBuyLineItemsTarget and MultiBuyCustomLineItemsTarget).CartDiscountValueBuilderCartDiscountValueDraft Example to create a subtype instance using the builder patternCartDiscountValueDraftBuilderCartDiscountValueDraftSets the DiscountedLineItemPrice of the CartDiscountLineItemsTarget or CartDiscountCustomLineItemsTarget to the value specified in themoney
field, if it is lower than the current Line Item price for the same currency.CartDiscountValueFixedBuilder Example to create an instance using the builder patternSets the DiscountedLineItemPrice of the CartDiscountLineItemsTarget or CartDiscountCustomLineItemsTarget to the value specified in themoney
field, if it is lower than the current Line Item price for the same currency.CartDiscountValueFixedDraftBuilder Example to create an instance using the builder patternSets the DiscountedLineItemPrice of the CartDiscountLineItemsTarget or CartDiscountCustomLineItemsTarget to the value specified in themoney
field, if it is lower than the current Line Item price for the same currency.Sets the DiscountedLineItemPrice of the CartDiscountLineItemsTarget or CartDiscountCustomLineItemsTarget to the value specified in themoney
field, if it is lower than the current Line Item price for the same currency.CartDiscountValueGiftLineItem Example to create an instance using the builder patternCartDiscountValueGiftLineItemBuilder Example to create an instance using the builder patternCan only be used in a CartDiscountDraft with notarget
specified.CartDiscountValueGiftLineItemDraftBuilder Example to create an instance using the builder patternCan only be used in a CartDiscountDraft with notarget
specified.CartDiscountValueGiftLineItemCartDiscountValueDiscounts the CartDiscountTarget relative to its price.CartDiscountValueRelativeBuilder Example to create an instance using the builder patternCartDiscountValueRelativeDraft Example to create an instance using the builder patternCartDiscountValueRelativeDraftBuilder Example to create an instance using the builder patternCartDiscountValueRelativeDraftDiscounts the CartDiscountTarget relative to its price.This Discount target is similar toMultiBuyLineItems
, but is applied on Custom Line Items instead of Line Items.MultiBuyCustomLineItemsTargetBuilder Example to create an instance using the builder patternThis Discount target is similar toMultiBuyLineItems
, but is applied on Custom Line Items instead of Line Items.MultiBuyLineItemsTarget Example to create an instance using the builder patternMultiBuyLineItemsTargetBuilder Example to create an instance using the builder patternMultiBuyLineItemsTargetDefines which matching items are to be discounted.possible values of SelectionModeDescribes how the Cart Discount interacts with other Discounts.possible values of StackingMode