Class CartItemAttributeConstants.Internal
java.lang.Object
com.broadleafcommerce.cartoperation.domain.CartItemAttributeConstants.Internal
- Enclosing class:
- CartItemAttributeConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringInventory strategy internal attribute valuesstatic final StringWhether the current subscription cartItem's auto-renewability can be modified after declaration on the subscription.static final StringWhether the current subscription cartItem would be auto-renewed.static final Stringstatic final StringForCartItemswhich were cloned from another cart, this attribute will be populated with the ID of the original item which was cloned from.static final StringIn cases where thePriceInfofound for the item added to cart had aPriceTypeDetailthat underwent currency conversion to match the requested currency, this will store the details of that conversion, particularly the rate used.static final StringFulfillment attributesstatic final StringContains a map fromCatalogItem.getSku()orVariant.getSku()keys toPriceInfofor the associatedCatalogItemorVariant.static final Stringstatic final StringIndicates the action to be performed at the end of term.static final StringThe code of theFeethat theCartItemrepresents.static final StringA temporary storage location to store theAdjustmentfor a free gift item.static final Stringstatic final Stringstatic final StringStores the gift fee detail.static final Stringstatic final Stringstatic final StringThe following internal attributes are temporary storage locations for fulfillment related information to be used for populating aFulfillmentItem.static final StringThe value ofProduct.isSubscription().static final StringWhether this is a cancellation request for a subscription item.static final StringWhether theCartItemthat represents a fee is refundable.static final StringIndicates if aCartItemis a free gift item added from a Free Gift offer.static final StringIndicates if aCartItemis using a price that is limited by quantity.static final StringA temporary storage location to mark that this dependentCartItemwas successfully matched to a particularItemChoicetarget (aSpecificItemChoiceorCategory) when populating item choices.static final StringTheCartItem.type, which is typically aDefaultCartItemTypesenum.static final StringThe id of the offer that thisCartItemwas a target of.static final StringIndicates theDefaultPaymentStrategyassociated with the cart item'sPriceInfo.static final StringIndicates thatPRICE_INFO_PAYMENT_STRATEGYhas been overridden based on theProduct.getPaymentStrategy()in the case of merchandising products.static final StringNames of Characteristicsthat should be stored as attributes to be used to populatePriceableTarget.getCharacteristics()static final StringAdditional, optional data available in product attributes relating to a product's pricing grouping.static final Stringstatic final Stringstatic final Stringstatic final StringDeprecated.static final StringNames of Characteristicsthat should be stored as attributes to be used to contribute toLineItemDto.getAttributes().static final Stringstatic final StringIndicates thevariant pricing strategyfor the product.static final String -
Method Summary
-
Field Details
-
VARIANT_PRICING_STRATEGY
Indicates thevariant pricing strategyfor the product.Only relevant for
DefaultProductType.VARIANT_BASEDproducts.- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
- See Also:
-
DIRECT_SKU_PRICE_INFOS
Contains a map fromCatalogItem.getSku()orVariant.getSku()keys toPriceInfofor the associatedCatalogItemorVariant. Used to produce SKU-based targets for pricing.- See Also:
-
SKU_PRICE_INFOS
Deprecated.Contains a map fromCatalogItem.getSku()orVariant.getSku()keys toPriceInfofor the associatedCatalogItemorVariant. Used to produce SKU-based targets for pricing. This structure initially contains values from the Product but after pricing runs is updated with the results of pricing. Using the same field for this purpose can cause issues between the first and subsequent pricing calls for a cart item.- See Also:
-
PRICING_KEY_PRICE_INFOS
Contains a map fromCatalogItem.getPricingKey()key toPriceInfofor the associatedCatalogItem. Used to produce pricingKey-based targets for pricing.- See Also:
-
PRICE_INFO_PAYMENT_STRATEGY
Indicates theDefaultPaymentStrategyassociated with the cart item'sPriceInfo.- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
- See Also:
-
PRICE_INFO_PAYMENT_STRATEGY_OVERRIDDEN
Indicates thatPRICE_INFO_PAYMENT_STRATEGYhas been overridden based on theProduct.getPaymentStrategy()in the case of merchandising products.- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
- See Also:
-
IS_BROADLEAF_SUBSCRIPTION
The value ofProduct.isSubscription(). Whether it's a Broadleaf-managed subscription.- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
- See Also:
-
IS_CANCELLATION_REQUEST
Whether this is a cancellation request for a subscription item.- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
- See Also:
-
IS_PRICE_LIMITED_BY_QUANTITY
Indicates if aCartItemis using a price that is limited by quantity.- See Also:
-
CLONED_ITEM_ORIGINAL_ID
ForCartItemswhich were cloned from another cart, this attribute will be populated with the ID of the original item which was cloned from.- See Also:
-
ITEM_CHOICE_TARGET_KEY
A temporary storage location to mark that this dependentCartItemwas successfully matched to a particularItemChoicetarget (aSpecificItemChoiceorCategory) when populating item choices. Contains the relevant item choice target key, either a product or variant ID, or the targeted category ID. Used to simplify later validation.- See Also:
-
IS_FREE_GIFT_ITEM
Indicates if aCartItemis a free gift item added from a Free Gift offer.- See Also:
-
FREE_GIFT_ADJUSTMENT
A temporary storage location to store theAdjustmentfor a free gift item.This is needed because
Adjustment.getAmount()needs to be set to item's subtotal after the free gift item is automatically added. At the time of a free gift offer being applied, the Offer Engine has no idea of the price of the free gift item , hence we need to update theAdjustment.- See Also:
-
GIFT_FEE
Stores the gift fee detail. SeeCartItemOfferUtils.getGiftFee(CartItem)- See Also:
-
ORIGIN_OFFER_ID
The id of the offer that thisCartItemwas a target of. This attribute is typically used to identifies which offer this item was added from, and keep track of offers to not be applied again.For example, CartItemA is a qualifier of a free gift offer OfferA, and CartItem_FG is a free gift item (target of OfferA) from the free gift offer. Whenever CartItem_FG is removed, the id of OfferA is added to
Cart.getInternalAttributes()so that OfferA will not be applied again when CartItemA is added. -
INVENTORY_TYPE
The following internal attributes are temporary storage locations for fulfillment related information to be used for populating aFulfillmentItem.- See Also:
-
AVAILABLE_ONLINE
- See Also:
-
INVENTORY_CHECK_STRATEGY
- See Also:
-
INVENTORY_RESERVATION_STRATEGY
- See Also:
-
FULFILLMENT_FLAT_RATES
- See Also:
-
WEIGHT
- See Also:
-
DISCOUNTABLE
- See Also:
-
PRODUCT_TYPE
- See Also:
-
TAX_CODE
- See Also:
-
SKU
- See Also:
-
FULFILLMENT_WORKFLOW
- See Also:
-
ADD_TO_CART_STRATEGY
Inventory strategy internal attribute values- See Also:
-
DIMENSION
Fulfillment attributes- See Also:
-
PRICEABLE_CHARACTERISTICS
Names of Characteristicsthat should be stored as attributes to be used to populatePriceableTarget.getCharacteristics()- Since:
- Cart Operation Service 2.2.0, Release Train 2.2.0
- See Also:
-
TARGETABLE_CHARACTERISTICS
Names of Characteristicsthat should be stored as attributes to be used to contribute toLineItemDto.getAttributes().- Since:
- Cart Operation Service 2.2.0, Release Train 2.2.0
- See Also:
-
PRICING_CATEGORY
Additional, optional data available in product attributes relating to a product's pricing grouping. Targeted when transforming pricing via modifiers.- See Also:
-
ITEM_TYPE
TheCartItem.type, which is typically aDefaultCartItemTypesenum.- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
- See Also:
-
FEE_CODE
The code of theFeethat theCartItemrepresents.- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
- See Also:
-
IS_FEE_REFUNDABLE
Whether theCartItemthat represents a fee is refundable.- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
- See Also:
-
AUTO_RENEWAL_ENABLED
Whether the current subscription cartItem would be auto-renewed.- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
- See Also:
-
ALLOW_AUTO_RENEWAL_MODIFICATION
Whether the current subscription cartItem's auto-renewability can be modified after declaration on the subscription.- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
- See Also:
-
END_OF_TERM_STRATEGY
Indicates the action to be performed at the end of term.- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
- See Also:
-
CURRENCY_CONVERSION_DETAILS
In cases where thePriceInfofound for the item added to cart had aPriceTypeDetailthat underwent currency conversion to match the requested currency, this will store the details of that conversion, particularly the rate used.- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
- See Also:
-