Class ShoppingCart
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.ShoppingCart
Shopping Cart resource is used for the temporarily selection and reservation of product offerings in e-commerce, call center and retail purchase. Shopping cart supports purchase of both physical and digital goods and service (e.g. handset, telecom network service). Shopping Cart contain list of cart items, a reference to customer (partyRole) or contact medium in case customer not exist, and the total items price including promotions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCartCostsItem(CartPrice cartCostsItem) addCartItemItem(CartItem cartItemItem) addCartTotalPriceItem(CartPrice cartTotalPriceItem) addContactMediumItem(ContactMedium contactMediumItem) addMessageItem(Message messageItem) addPaymentMethodItem(PaymentMethodRef paymentMethodItem) addPlaceItem(Place placeItem) addPromotionItem(PromotionRef promotionItem) addRelatedPartyItem(RelatedPartyRef relatedPartyItem) addValidationItem(ValidationItem validationItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) baseSiteId(String baseSiteId) cartTotalPrice(List<CartPrice> cartTotalPrice) contactMedium(List<ContactMedium> contactMedium) deliveryMode(DeliveryModeRef deliveryMode) booleanGeneric 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 typeIdentifier of the base siteRepresents the delivery and payment costs for the cartGet cartItemTotal amount of the shopping cart, usually of money, that represents the actual price paid by the Customer for cart (considering only \"Active\" cart items)@Valid List<ContactMedium>Get contactMedium@Valid DeliveryModeRefGet deliveryModegetHref()Hyperlink to access the shopping cartgetId()Unique identifier created on provider side (e.g.Deprecated since 1911@Valid List<PaymentMethodRef>The payment methods of the cart.getPlace()Get place@Valid List<PromotionRef>Get promotion@Valid List<RelatedPartyRef>Get relatedPartystatus of the shopping cart@Valid List<ValidationItem>Get validation@Valid TimePeriodGet validForinthashCode()paymentMethod(List<PaymentMethodRef> paymentMethod) promotion(List<PromotionRef> promotion) relatedParty(List<RelatedPartyRef> relatedParty) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetBaseSiteId(String baseSiteId) voidsetCartCosts(List<CartPrice> cartCosts) voidsetCartItem(List<CartItem> cartItem) voidsetCartTotalPrice(List<CartPrice> cartTotalPrice) voidsetContactMedium(List<ContactMedium> contactMedium) voidsetDeliveryMode(DeliveryModeRef deliveryMode) voidvoidvoidsetMessage(List<Message> message) voidsetPaymentMethod(List<PaymentMethodRef> paymentMethod) voidvoidsetPromotion(List<PromotionRef> promotion) voidsetRelatedParty(List<RelatedPartyRef> relatedParty) voidvoidsetValidation(List<ValidationItem> validation) voidsetValidFor(TimePeriod validFor) toString()validation(List<ValidationItem> validation) validFor(TimePeriod validFor)
-
Constructor Details
-
ShoppingCart
public ShoppingCart()
-
-
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
-
href
-
getHref
Hyperlink to access the shopping cart- Returns:
- href
-
setHref
-
id
-
getId
Unique identifier created on provider side (e.g. Order Capture system)- Returns:
- id
-
setId
-
baseSiteId
-
getBaseSiteId
Identifier of the base site- Returns:
- baseSiteId
-
setBaseSiteId
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
contactMedium
-
addContactMediumItem
-
getContactMedium
Get contactMedium- Returns:
- contactMedium
-
setContactMedium
-
cartTotalPrice
-
addCartTotalPriceItem
-
getCartTotalPrice
Total amount of the shopping cart, usually of money, that represents the actual price paid by the Customer for cart (considering only \"Active\" cart items)- Returns:
- cartTotalPrice
-
setCartTotalPrice
-
cartCosts
-
addCartCostsItem
-
getCartCosts
Represents the delivery and payment costs for the cart- Returns:
- cartCosts
-
setCartCosts
-
cartItem
-
addCartItemItem
-
getCartItem
Get cartItem- Returns:
- cartItem
-
setCartItem
-
addRelatedPartyItem
-
getRelatedParty
Get relatedParty- Returns:
- relatedParty
-
setRelatedParty
-
deliveryMode
-
getDeliveryMode
Get deliveryMode- Returns:
- deliveryMode
-
setDeliveryMode
-
message
-
addMessageItem
-
getMessage
Deprecated since 1911- Returns:
- message
-
setMessage
-
paymentMethod
-
addPaymentMethodItem
-
getPaymentMethod
The payment methods of the cart.- Returns:
- paymentMethod
-
setPaymentMethod
-
place
-
addPlaceItem
-
getPlace
Get place- Returns:
- place
-
setPlace
-
validation
-
addValidationItem
-
getValidation
Get validation- Returns:
- validation
-
setValidation
-
promotion
-
addPromotionItem
-
getPromotion
Get promotion- Returns:
- promotion
-
setPromotion
-
status
-
getStatus
status of the shopping cart- Returns:
- status
-
setStatus
-
equals
-
hashCode
public int hashCode() -
toString
-