public class OrderItemRequestDTO extends Object
ProductBundle included in the productId for it to
properly instantiate the BundleOrderItem
Important Note: To protect against misuse, the OrderService's addItemToCart method will blank out
any values passed in on this DTO for the overrideSalePrice or overrideRetailPrice.
Instead, implementors should call the more explicit addItemWithPriceOverrides.| Constructor and Description |
|---|
OrderItemRequestDTO() |
OrderItemRequestDTO(Long productId,
Integer quantity) |
OrderItemRequestDTO(Long productId,
Long skuId,
Integer quantity) |
OrderItemRequestDTO(Long productId,
Long skuId,
Long categoryId,
Integer quantity) |
public Long getSkuId()
public OrderItemRequestDTO setSkuId(Long skuId)
public Long getCategoryId()
public OrderItemRequestDTO setCategoryId(Long categoryId)
public Long getProductId()
public OrderItemRequestDTO setProductId(Long productId)
public Integer getQuantity()
public OrderItemRequestDTO setQuantity(Integer quantity)
public OrderItemRequestDTO setItemAttributes(Map<String,String> itemAttributes)
public Long getOrderItemId()
public OrderItemRequestDTO setOrderItemId(Long orderItemId)
public Money getOverrideSalePrice()
public void setOverrideSalePrice(Money overrideSalePrice)
public Money getOverrideRetailPrice()
public void setOverrideRetailPrice(Money overrideRetailPrice)
public List<OrderItemRequestDTO> getChildOrderItems()
public void setChildOrderItems(List<OrderItemRequestDTO> childOrderItems)
public Long getParentOrderItemId()
public void setParentOrderItemId(Long parentOrderItemId)
public void setAdditionalAttributes(Map<String,String> additionalAttributes)
public Boolean getHasConfigurationError()
public void setHasConfigurationError(Boolean hasConfigurationError)
Copyright © 2021. All rights reserved.