Class CartItem
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.CartItem
An identified part of the shopping cart. A shopping cart is decomposed into one or more shopping cart item. Cart item represents a product offering or bundled product offering that user wish to purchase, as well as the pricing of the product offering, reference to product in case of configured characteristic or installation address. Cart items can be related to other cart item to related bundled offerings or reference cart Items to a shipping options
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction(ActionType action) addCartItemItem(CartItem cartItemItem) addCartItemRelationshipItem(CartItemRelationship cartItemRelationshipItem) addItemPriceItem(CartPrice itemPriceItem) addItemTermItem(CartTerm itemTermItem) addItemTotalPriceItem(CartPrice itemTotalPriceItem) addNoteItem(Note noteItem) addPromotionItem(PromotionRef promotionItem) addValidationErrorItem(String validationErrorItem) addValidationItem(ValidationItem validationItem) appointment(AppointmentRef appointment) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) cartItemRelationship(List<CartItemRelationship> cartItemRelationship) contractStartDate(Date contractStartDate) boolean@Valid ActionTypeGet action@Valid AppointmentRefGet appointmentGeneric attribute indicating the base class type of the extension class of the current object.Generic attribute containing the link to the schema that defines the structure of the class type of the current object.Generic attribute containing the name of the resource class typeGet cartItem@Valid List<CartItemRelationship>Get cartItemRelationship@Valid DateDate when the contract was createdgetId()Identifier of the cart item (generally it is a sequence number 01, 02, 03, ...) in the shopping cartGet itemPriceGet itemTermGet itemTotalPricegetNote()Get note@Valid ProcessTypeRefGet processType@Valid ProductGet product@Valid ProductOfferingRefGet productOffering@Valid List<PromotionRef>Get promotionQuantity of cart itemsstatus of cart item.@Valid List<ValidationItem>Get validationDeprecated since 1911inthashCode()itemTotalPrice(List<CartPrice> itemTotalPrice) processType(ProcessTypeRef processType) productOffering(ProductOfferingRef productOffering) promotion(List<PromotionRef> promotion) voidsetAction(ActionType action) voidsetAppointment(AppointmentRef appointment) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetCartItem(List<CartItem> cartItem) voidsetCartItemRelationship(List<CartItemRelationship> cartItemRelationship) voidsetContractStartDate(Date contractStartDate) voidvoidsetItemPrice(List<CartPrice> itemPrice) voidsetItemTerm(List<CartTerm> itemTerm) voidsetItemTotalPrice(List<CartPrice> itemTotalPrice) voidvoidsetProcessType(ProcessTypeRef processType) voidsetProduct(Product product) voidsetProductOffering(ProductOfferingRef productOffering) voidsetPromotion(List<PromotionRef> promotion) voidsetQuantity(Integer quantity) voidvoidsetValidation(List<ValidationItem> validation) voidsetValidationError(List<String> validationError) toString()validation(List<ValidationItem> validation) validationError(List<String> validationError)
-
Constructor Details
-
CartItem
public CartItem()
-
-
Method Details
-
atBaseType
-
getAtBaseType
Generic attribute indicating the base class type of the extension class of the current object. Useful only when the class type of the current object is unknown to the implementation.- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
Generic attribute containing the link to the schema that defines the structure of the class type of the current object.- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
Generic attribute containing the name of the resource class type- Returns:
- atType
-
setAtType
-
action
-
getAction
Get action- Returns:
- action
-
setAction
-
id
-
getId
Identifier of the cart item (generally it is a sequence number 01, 02, 03, ...) in the shopping cart- Returns:
- id
-
setId
-
processType
-
getProcessType
Get processType- Returns:
- processType
-
setProcessType
-
quantity
-
getQuantity
Quantity of cart items- Returns:
- quantity
-
setQuantity
-
status
-
getStatus
status of cart item. e.g \"Active\" , \"SavedForLater\".- Returns:
- status
-
setStatus
-
itemTerm
-
addItemTermItem
-
getItemTerm
Get itemTerm- Returns:
- itemTerm
-
setItemTerm
-
cartItem
-
addCartItemItem
-
getCartItem
Get cartItem- Returns:
- cartItem
-
setCartItem
-
note
-
addNoteItem
-
getNote
Get note- Returns:
- note
-
setNote
-
itemTotalPrice
-
addItemTotalPriceItem
-
getItemTotalPrice
Get itemTotalPrice- Returns:
- itemTotalPrice
-
setItemTotalPrice
-
product
-
getProduct
Get product- Returns:
- product
-
setProduct
-
itemPrice
-
addItemPriceItem
-
getItemPrice
Get itemPrice- Returns:
- itemPrice
-
setItemPrice
-
productOffering
-
getProductOffering
Get productOffering- Returns:
- productOffering
-
setProductOffering
-
validationError
-
addValidationErrorItem
-
getValidationError
Deprecated since 1911- Returns:
- validationError
-
setValidationError
-
cartItemRelationship
-
addCartItemRelationshipItem
-
getCartItemRelationship
Get cartItemRelationship- Returns:
- cartItemRelationship
-
setCartItemRelationship
-
appointment
-
getAppointment
Get appointment- Returns:
- appointment
-
setAppointment
-
validation
-
addValidationItem
-
getValidation
Get validation- Returns:
- validation
-
setValidation
-
promotion
-
addPromotionItem
-
getPromotion
Get promotion- Returns:
- promotion
-
setPromotion
-
contractStartDate
-
getContractStartDate
Date when the contract was created- Returns:
- contractStartDate
-
setContractStartDate
-
equals
-
hashCode
public int hashCode() -
toString
-