Class CartAttributeConstants.Internal

java.lang.Object
com.broadleafcommerce.cartoperation.domain.CartAttributeConstants.Internal
Enclosing class:
CartAttributeConstants

public static final class CartAttributeConstants.Internal extends Object
  • Field Details

    • FREE_GIFT_OFFER_ITEMS

      public static final String FREE_GIFT_OFFER_ITEMS
      Temporary storage of FreeGiftItems from the offer response, so that they can be processed and added later.
      See Also:
    • OFFER_IDS_TO_IGNORE

      public static final String OFFER_IDS_TO_IGNORE
      Deprecated.
      This is stored as a list, and doesn't allow us to know when ignored offers should be removed. For instance, if a customer empties their cart and re-adds a qualifying item, the offer should be re-considered. This is now stored as a map using OFFER_IDS_TO_IGNORE_MAP.
      A list of offer ids to ignore when applying offers.
      See Also:
    • OFFER_IDS_TO_IGNORE_MAP

      public static final String OFFER_IDS_TO_IGNORE_MAP
      Key to store a map of Map<String, Set<String>> of offer ids to ignore, keyed by the offer ID with the qualifier cart item IDs as the values. This allows us to remove the ignored offers when the qualifying item or items are removed from the cart.
      See Also:
    • AWAITING_PAYMENT_RESULT_NEXT_ACTIONS

      public static final String AWAITING_PAYMENT_RESULT_NEXT_ACTIONS
      A list of PaymentNextAction objects to be used when resending the cart awaiting payment result email.
      See Also:
    • AWAITING_PAYMENT_RESULT_REQUEST_ID

      public static final String AWAITING_PAYMENT_RESULT_REQUEST_ID
      The request id related to a checkout attempt that resulted in the DefaultCartStatuses.AWAITING_PAYMENT_RESULT cart status
      See Also:
    • BULK_ADD_ITEMS_FAILURES

      public static final String BULK_ADD_ITEMS_FAILURES
      A list of AddItemFailures from the bulk add items operation.
      See Also:
    • PAYMENTS_LIST

      public static final String PAYMENTS_LIST
      A list of payment types derived from the PaymentSummary.getName() used to evaluate Payment Offers.
      Since:
      Cart Operation Service 2.1.5, Release Train 2.1.5
      See Also:
    • SKU_CODES_BY_INVENTORY_LOCATION

      public static final String SKU_CODES_BY_INVENTORY_LOCATION
      The sku codes mapped to the corresponding inventory location where to verify their availability.
      Since:
      Cart Operation Service 2.2.1, Release Train 2.2.1
      See Also:
    • SUBSCRIPTION_PRICE_EXPIRATION_DATE_UTC

      public static final String SUBSCRIPTION_PRICE_EXPIRATION_DATE_UTC
      The expiration date of the subscription prices. Stored in UTC time zone.
      Since:
      Cart Operation Service 2.3.0, Release Train 2.3.0
      See Also:
    • CUSTOMER_TIMEZONE

      public static final String CUSTOMER_TIMEZONE
      The customer's timezone. It's an optional internal attribute used by downstream services.

      If present, all the Instant.truncatedTo(TemporalUnit) ChronoUnit.DAYS operations against the subscription will truncate based on the specified timezone. If not specified, ZoneOffset.UTC is used

      Since:
      Cart Operation Service 2.3.0, Release Train 2.3.0
      See Also:
  • Constructor Details

    • Internal

      public Internal()