Serializable value
Map<String, Attribute>
.Map<K,V> attributes
String attributeName
When used to distinguish variants, this field corresponds to a key in
Variant.getOptionValues()
.
boolean required
String validationStrategy
AttributeChoice.required
and
AttributeChoice.allowedValues
are always validated.String validationType
AttributeChoice.getValidationStrategy()
should be performed. Only
relevant if AttributeChoice.getValidationStrategy()
is non-nullValidationType
String validationRule
AttributeChoice.validationType
is regex
, this is the expression that
should execute against the user's value.String errorMessage
AttributeChoice.getValidationStrategy()
this
is the message that should be shown to customers. Intended to be displayed directly on the
page when the AttributeChoice.getValidationStrategy()
fails validation.String errorCode
AttributeChoice.getValidationStrategy()
this
is the error code that should be shown to customers. This could map into a special message
key on the frontend or provide additional information to the user in addition to
AttributeChoice.getErrorMessage()
.AttributeChoice.getErrorMessage()
List<E> allowedValues
When used to distinguish variants, a value in this list should correspond to the value in a
variant's Variant.getOptionValues()
map for the AttributeChoice.attributeName
key.
Map<K,V> attributes
String label
AttributeChoiceValue.value
which is what is added to the cartString value
Map<K,V> attributes
AddItemRequest addItemRequest
AddItemRequest
to populate the cart.PriceCartRequest priceCartRequest
PriceCartRequest
to price the cart.com.broadleafcommerce.cart.client.domain.Cart cart
String id
String type
values
based on their types.
For example, if this enum type was to be used for a field representing product's materials, then the type would be "MATERIAL".
String value
DataDrivenEnum.type
.
For example, the value for type "MATERIAL" could be "COTTON", "LEATHER", "POLYESTER", etc.
String displayValue
DataDrivenEnum.type
.
Different from DataDrivenEnum.value
, the display value is meant to be more user-friendly and for
client-facing usages, such as searching and faceting.
For example, the display value for type "MATERIAL" could be "Cotton", "Leather", "Polyester", etc.
Map<K,V> attributes
javax.money.MonetaryAmount value
String type
IncludedProductType
String label
Long displayOrder
Product product
type
is
IncludedProductType.PRODUCT
.Variant variant
type
is
IncludedProductType.VARIANT
.IncludedProduct.variantParentProductId
String variantParentProductId
IncludedProduct.variant
if the
type
is IncludedProductType.VARIANT
.
This field is necessary because variants are a sub-resource of product and thus API callers cannot fetch them purely by variant id alone.
IncludedProduct.variant
com.broadleafcommerce.cart.client.domain.AdditionalItemPricing additionalItemPricing
boolean discountAllowed
int quantity
Map<K,V> attributes
String choiceKey
ItemChoice
when configuring cart items.String targetType
ItemChoiceTargetType
String selectionType
ItemChoiceSelectionType
Integer maximumQuantity
Integer minimumQuantity
IncludedProduct
.boolean discountAllowed
com.broadleafcommerce.cart.client.domain.AdditionalItemPricing additionalItemPricing
Category category
Category
which the add-on will be chosen from by the customer if the
selection
is ItemChoiceTargetType.CATEGORY
.List<E> specificChoices
ItemChoice.selectionType
is ItemChoiceTargetType.SPECIFIC_PRODUCTS
or
ItemChoiceTargetType.SPECIFIC_VARIANTS
this holds the manually-curated options that
the customer can choose from. This also allows for specific override pricing on an
item-by-item basisSpecificItemChoice specificItemChoice
Map<K,V> attributes
String offerId
offer's id
.String campaignCode
String campaignTrackingId
UserTarget user
String orderId
String sharedCode
offer code
used to apply the related offer.Instant dateApplied
String id
String name
String uri
String sku
boolean discountable
Whether or not this product be applied to any offers or promotions.
Defaults to true
com.broadleafcommerce.pricing.client.domain.PriceInfo priceInfo
pricing information
related to the product.String pricingKey
String mergingType
DefaultMergingType
.Map<K,V> fulfillmentFlatRates
The key of the map is the type of the fulfillment option such as FIXED_STANDARD
or
BANDED_PRICE_EXPRESS
.
FulfillmentFlatRate
List<E> includedProducts
Additional products that are always included with the product, no matter what. Used to configure "bundles" or "kits".
If some of these items should be optional or the user should decide which additional items
are added to their cart, use Product.options
instead.
IncludedProduct
com.broadleafcommerce.cart.client.domain.ImageAssetRef primaryAsset
List<E> assets
ProductAssets
for this product.Map<K,V> attributes
List<E> options
variations
, additional items that can
be bundled with this product or simply more information that the customer needs to enter
about what they are purchasing (like a personalized message).String inventoryType
boolean availableOnline
String inventoryCheckStrategy
String inventoryReservationStrategy
List<E> tags
Set<E> parentCategories
Categories
that include the product.List<E> variants
Variants
for this product.Weight weight
boolean individuallySold
If this product or any of its variants can be sold individually in the store, or if they must be apart of another product as an add-on.
This defaults to true
.
com.broadleafcommerce.money.CurrencyContext currencyContext
String vendorRef
String productType
internalAttributes
under the
CartItemAttributeConstants.Internal.PRODUCT_TYPE
key and used to determine the
product type for the CartItem
. The default types are defined by
DefaultProductType
.DefaultProductType
DataDrivenEnum brand
DataDrivenEnum merchandisingType
DataDrivenEnum targetDemographic
Map<K,V> additionalAttributes
Integer minimumThreshold
Integer maximumThreshold
List<E> products
Products
and their details.Set<E> productIdsForMissingEntities
Set<E> productUrisForMissingEntities
String type
ProductOptionType
String label
ItemChoice itemChoice
ProductOptionType.ITEM_CHOICE
. Drives customer selection of an
additional item to add to their cartAttributeChoice attributeChoice
Configuration when the ProductOption.type
of this option is one of:
ProductOptionType.VARIANT_DISTINGUISHING
- drives customer further specifying
their choices into a specific Variant
that contains a unique SKU code, pricing
concerns, etc.ProductOptionType.CART_ITEM_ATTRIBUTE
- Customer input will flow directly in the
item attributes within their cartProductOptionType.CART_ATTRIBUTE
. Customer input will flow directly in the global
cart attribute. Any previously-set attribute should be replaced with new values.Map<K,V> attributes
boolean available
String inventoryLocationId
InventorySkuRef skuRef
skuCode
.String reservationRequestType
String skuReferenceFieldType
skuReferenceValue
. Default allowed values are:
SKU_CONTEXT_ID
SKU_EXTERNAL_ID
SKU_CODE
UPC
EAN
GTIN
List<E> reservationRequestGroups
SkuInventoryReservationRequestGroup
is loosely correlated with a Fulfillment Group in
the Cart domain.String token
Instant expirationTime
String author
String cartId
String targetValue
String targetType
UserTargetType
String id
String sku
String name
com.broadleafcommerce.pricing.client.domain.PriceInfo priceInfo
pricing information
related to the choice.Map<K,V> optionValues
AttributeChoice.getAttributeName()
while values
correspond to one of the corresponding AttributeChoice.getAttributeName()
.String inventoryCheckStrategy
Product.inventoryCheckStrategy
.String inventoryReservationStrategy
Product.inventoryReservationStrategy
.Integer minimumThreshold
Integer maximumThreshold
Map<K,V> fulfillmentFlatRates
The key of the map is the type of the fulfillment option such as FIXED_STANDARD
or
BANDED_PRICE_EXPRESS
.
FulfillmentFlatRate
Weight weight
Map<K,V> attributes
com.broadleafcommerce.money.CurrencyContext currencyContext
Map<K,V> additionalAttributes
BigDecimal weight
String units
WeightUnits
String reasonType
com.broadleafcommerce.cart.client.domain.Cart cart
com.broadleafcommerce.cart.client.domain.CartItem cartItem
CartItem
with the errors.com.broadleafcommerce.cart.client.domain.Cart cart
com.broadleafcommerce.cart.client.domain.Cart cart
String failureType
CheckoutFailureType
Map<K,V> itemFailureMessages
Map<K,V> payment3DSVerificationUrls
com.broadleafcommerce.cart.client.domain.Cart cart
String failureType
CheckoutFailureType
Map<K,V> itemFailureMessages
Map<K,V> payment3DSVerificationUrls
String transactionReferenceId
org.springframework.web.reactive.function.client.WebClientResponseException receivedException
com.broadleafcommerce.cart.client.domain.Cart upToDateCart
com.broadleafcommerce.cart.client.domain.CheckoutCart cart
String requestId
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo
ContextInfo
derived from the original request containing tenant and sandbox info.String cartId
String requestId
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo
ContextInfo
derived from the original request containing tenant and sandbox info.com.broadleafcommerce.cart.client.domain.Cart newCart
String code
com.broadleafcommerce.cart.client.domain.Cart cart
Cart
, including the code and applicable adjustments (discounts).String code
String responseCode
DefaultAddCodeToCartResponseTypes
String message
List<E> adjustments
String variantId
String productId
String sku
int quantity
Cart
.javax.money.CurrencyUnit currency
PriceCartRequest
for creating or pricing a cart.Locale locale
PriceCartRequest
for creating or pricing a cart.Map<K,V> itemAttributes
CartItem.getAttributes()
for
this request.Map<K,V> itemInternalAttributes
CartItem.getInternalAttributes()
for this request.Map<K,V> itemAttributeChoices
CartItem.getAttributeChoices()
for this
request.Map<K,V> cartAttributes
Cart.getAttributes()
for this request.List<E> dependentCartItems
AddItemRequests
that should be processed as
dependent items of the resulting parent item of this current AddItemRequest
.String itemChoiceKey
AddItemRequest
is one within AddItemRequest.getDependentCartItems()
,
this is the key to use to relate to this CartItem
to a configured product item
choice.String merchandisingContext
CartItem.getMerchandisingContext()
. This holds the
selector or merchandising product's id.Map<K,V> additionalAttributes
CartItem
.String name
String customerPaymentAccountId
boolean isSingleUsePaymentMethod
boolean shouldSavePaymentToCustomer
String type
DefaultPaymentTypes
String gatewayType
PaymentGatewayType
javax.money.MonetaryAmount amount
javax.money.MonetaryAmount subtotal
javax.money.MonetaryAmount adjustmentsTotal
javax.money.MonetaryAmount fulfillmentTotal
javax.money.MonetaryAmount taxTotal
com.broadleafcommerce.order.common.domain.Address billingAddress
Map<K,V> paymentGatewayProperties
Map<K,V> displayAttributes
Map<K,V> attributes
Integer cartVersion
Integer version
String requestId
com.broadleafcommerce.cart.client.domain.Cart cart
Cart
related to the checkout submission.boolean success
String failureType
CheckoutResponse.isSuccess()
is false.CheckoutFailureType
String failureMessage
CheckoutResponse.isSuccess()
is
false.Map<K,V> itemFailureMessages
Map<K,V> payment3DSVerificationUrls
String requestId
String emailAddress
com.broadleafcommerce.cart.client.domain.Cart cart
com.broadleafcommerce.cart.client.domain.GuestToken token
boolean valid
com.broadleafcommerce.cart.client.domain.GuestToken token
com.broadleafcommerce.cart.client.domain.Cart cart
Cart
related to the checkout submission.Set<E> inaccessibleItemListIds
ItemList
ids that the user does not have access toMap<K,V> failedItemAdditions
ItemList
ids to a collection of ItemListItem
ids that could not be
added to cartLocale locale
javax.money.CurrencyUnit currency
String listId
String valueType
ShareItemListRequest.Target.value
. See ItemListAccessRule.getType()
for how
this is used. See
DefaultItemListAccessRuleType
for the
default supported values.String role
ItemListAccessRule.getRole()
for how this is used. See
DefaultItemListAccessRuleRole
for the
default supported values.Set<E> targets
String value
ShareItemListRequest.valueType
. An example may be an email address or a
customer ID.Map<K,V> attributes
String type
FulfillmentType
com.broadleafcommerce.order.common.domain.FulfillmentOption fulfillmentOption
UpdateFulfillmentGroupRequest.getType()
.com.broadleafcommerce.order.common.domain.Address address
String cartItemId
CartItem
to update.String variantId
int quantity
Cart
.Map<K,V> itemAttributes
CartItem.getAttributes()
for this request.Map<K,V> itemAttributeChoices
CartItem.getAttributeChoices()
for this
request.Map<K,V> cartAttributes
Cart.getAttributes()
for this request.List<E> dependentItemUpdates
AddItemRequests
that should be processed as
children items of the resulting parent item of this current UpdateItemRequest
.String parentCartItemId
CartItem
for this add item request. This would create a child
CartItem
of the parent.String paymentId
String name
boolean shouldSavePaymentToCustomer
javax.money.MonetaryAmount amount
javax.money.MonetaryAmount subtotal
javax.money.MonetaryAmount adjustmentsTotal
javax.money.MonetaryAmount fulfillmentTotal
javax.money.MonetaryAmount taxTotal
com.broadleafcommerce.order.common.domain.Address billingAddress
Map<K,V> attributes
Map<K,V> displayAttributes
Copyright © 2021. All rights reserved.