java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.ShoppingCart

public class ShoppingCart extends Object
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 Details

    • ShoppingCart

      public ShoppingCart()
  • Method Details

    • atBaseType

      public ShoppingCart atBaseType(String atBaseType)
    • getAtBaseType

      public String 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

      public void setAtBaseType(String atBaseType)
    • atSchemaLocation

      public ShoppingCart atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      Generic attribute containing the link to the schema that defines the structure of the class type of the current object.
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • atType

      public ShoppingCart atType(String atType)
    • getAtType

      public String getAtType()
      Generic attribute containing the name of the resource class type
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • href

      public ShoppingCart href(String href)
    • getHref

      public String getHref()
      Hyperlink to access the shopping cart
      Returns:
      href
    • setHref

      public void setHref(String href)
    • id

      public ShoppingCart id(String id)
    • getId

      public String getId()
      Unique identifier created on provider side (e.g. Order Capture system)
      Returns:
      id
    • setId

      public void setId(String id)
    • baseSiteId

      public ShoppingCart baseSiteId(String baseSiteId)
    • getBaseSiteId

      public String getBaseSiteId()
      Identifier of the base site
      Returns:
      baseSiteId
    • setBaseSiteId

      public void setBaseSiteId(String baseSiteId)
    • validFor

      public ShoppingCart validFor(TimePeriod validFor)
    • getValidFor

      @Valid public @Valid TimePeriod getValidFor()
      Get validFor
      Returns:
      validFor
    • setValidFor

      public void setValidFor(TimePeriod validFor)
    • contactMedium

      public ShoppingCart contactMedium(List<ContactMedium> contactMedium)
    • addContactMediumItem

      public ShoppingCart addContactMediumItem(ContactMedium contactMediumItem)
    • getContactMedium

      @Valid public @Valid List<ContactMedium> getContactMedium()
      Get contactMedium
      Returns:
      contactMedium
    • setContactMedium

      public void setContactMedium(List<ContactMedium> contactMedium)
    • cartTotalPrice

      public ShoppingCart cartTotalPrice(List<CartPrice> cartTotalPrice)
    • addCartTotalPriceItem

      public ShoppingCart addCartTotalPriceItem(CartPrice cartTotalPriceItem)
    • getCartTotalPrice

      @Valid public @Valid List<CartPrice> 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

      public void setCartTotalPrice(List<CartPrice> cartTotalPrice)
    • cartCosts

      public ShoppingCart cartCosts(List<CartPrice> cartCosts)
    • addCartCostsItem

      public ShoppingCart addCartCostsItem(CartPrice cartCostsItem)
    • getCartCosts

      @Valid public @Valid List<CartPrice> getCartCosts()
      Represents the delivery and payment costs for the cart
      Returns:
      cartCosts
    • setCartCosts

      public void setCartCosts(List<CartPrice> cartCosts)
    • cartItem

      public ShoppingCart cartItem(List<CartItem> cartItem)
    • addCartItemItem

      public ShoppingCart addCartItemItem(CartItem cartItemItem)
    • getCartItem

      @Valid public @Valid List<CartItem> getCartItem()
      Get cartItem
      Returns:
      cartItem
    • setCartItem

      public void setCartItem(List<CartItem> cartItem)
    • relatedParty

      public ShoppingCart relatedParty(List<RelatedPartyRef> relatedParty)
    • addRelatedPartyItem

      public ShoppingCart addRelatedPartyItem(RelatedPartyRef relatedPartyItem)
    • getRelatedParty

      @Valid public @Valid List<RelatedPartyRef> getRelatedParty()
      Get relatedParty
      Returns:
      relatedParty
    • setRelatedParty

      public void setRelatedParty(List<RelatedPartyRef> relatedParty)
    • deliveryMode

      public ShoppingCart deliveryMode(DeliveryModeRef deliveryMode)
    • getDeliveryMode

      @Valid public @Valid DeliveryModeRef getDeliveryMode()
      Get deliveryMode
      Returns:
      deliveryMode
    • setDeliveryMode

      public void setDeliveryMode(DeliveryModeRef deliveryMode)
    • message

      public ShoppingCart message(List<Message> message)
    • addMessageItem

      public ShoppingCart addMessageItem(Message messageItem)
    • getMessage

      @Valid public @Valid List<Message> getMessage()
      Deprecated since 1911
      Returns:
      message
    • setMessage

      public void setMessage(List<Message> message)
    • paymentMethod

      public ShoppingCart paymentMethod(List<PaymentMethodRef> paymentMethod)
    • addPaymentMethodItem

      public ShoppingCart addPaymentMethodItem(PaymentMethodRef paymentMethodItem)
    • getPaymentMethod

      @Valid public @Valid List<PaymentMethodRef> getPaymentMethod()
      The payment methods of the cart.
      Returns:
      paymentMethod
    • setPaymentMethod

      public void setPaymentMethod(List<PaymentMethodRef> paymentMethod)
    • place

      public ShoppingCart place(List<Place> place)
    • addPlaceItem

      public ShoppingCart addPlaceItem(Place placeItem)
    • getPlace

      @Valid public @Valid List<Place> getPlace()
      Get place
      Returns:
      place
    • setPlace

      public void setPlace(List<Place> place)
    • validation

      public ShoppingCart validation(List<ValidationItem> validation)
    • addValidationItem

      public ShoppingCart addValidationItem(ValidationItem validationItem)
    • getValidation

      @Valid public @Valid List<ValidationItem> getValidation()
      Get validation
      Returns:
      validation
    • setValidation

      public void setValidation(List<ValidationItem> validation)
    • promotion

      public ShoppingCart promotion(List<PromotionRef> promotion)
    • addPromotionItem

      public ShoppingCart addPromotionItem(PromotionRef promotionItem)
    • getPromotion

      @Valid public @Valid List<PromotionRef> getPromotion()
      Get promotion
      Returns:
      promotion
    • setPromotion

      public void setPromotion(List<PromotionRef> promotion)
    • status

      public ShoppingCart status(String status)
    • getStatus

      public String getStatus()
      status of the shopping cart
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object