java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v3.dto.ProductOrder

public class ProductOrder extends Object
Product order resource
  • Constructor Details

    • ProductOrder

      public ProductOrder()
  • Method Details

    • id

      public ProductOrder id(String id)
    • getId

      public String getId()
      ID created on repository side (OM system)
      Returns:
      id
    • setId

      public void setId(String id)
    • href

      public ProductOrder href(String href)
    • getHref

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

      public void setHref(String href)
    • externalId

      public ProductOrder externalId(String externalId)
    • getExternalId

      public String getExternalId()
      ID given by the consumer and only understandable by him (to facilitate his searches afterwards).
      Returns:
      externalId
    • setExternalId

      public void setExternalId(String externalId)
    • shoppingCart

      public ProductOrder shoppingCart(ShoppingCartRef shoppingCart)
    • getShoppingCart

      @Valid public ShoppingCartRef getShoppingCart()
      Get shoppingCart
      Returns:
      shoppingCart
    • setShoppingCart

      public void setShoppingCart(ShoppingCartRef shoppingCart)
    • baseSiteId

      public ProductOrder baseSiteId(String baseSiteId)
    • getBaseSiteId

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

      public void setBaseSiteId(String baseSiteId)
    • priority

      public ProductOrder priority(PriorityType priority)
    • getPriority

      @Valid public PriorityType getPriority()
      Get priority
      Returns:
      priority
    • setPriority

      public void setPriority(PriorityType priority)
    • description

      public ProductOrder description(String description)
    • getDescription

      public String getDescription()
      Description of the product order
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • category

      public ProductOrder category(String category)
    • getCategory

      public String getCategory()
      Used to categorize the order from a business perspective that can be useful for the OM system (e.g. 'enterprise', 'residential', ...).
      Returns:
      category
    • setCategory

      public void setCategory(String category)
    • state

      public ProductOrder state(StateType state)
    • getState

      @Valid public StateType getState()
      Get state
      Returns:
      state
    • setState

      public void setState(StateType state)
    • orderDate

      public ProductOrder orderDate(Date orderDate)
    • getOrderDate

      @Valid public @Valid Date getOrderDate()
      Date when the order was created
      Returns:
      orderDate
    • setOrderDate

      public void setOrderDate(Date orderDate)
    • completionDate

      public ProductOrder completionDate(Date completionDate)
    • getCompletionDate

      @Valid public @Valid Date getCompletionDate()
      Date when the order was completed.
      Returns:
      completionDate
    • setCompletionDate

      public void setCompletionDate(Date completionDate)
    • requestedStartDate

      public ProductOrder requestedStartDate(Date requestedStartDate)
    • getRequestedStartDate

      @Valid public @Valid Date getRequestedStartDate()
      Order start date wished by the requestor
      Returns:
      requestedStartDate
    • setRequestedStartDate

      public void setRequestedStartDate(Date requestedStartDate)
    • requestedCompletionDate

      public ProductOrder requestedCompletionDate(Date requestedCompletionDate)
    • getRequestedCompletionDate

      @Valid public @Valid Date getRequestedCompletionDate()
      Requested delivery date from the requestor perspective
      Returns:
      requestedCompletionDate
    • setRequestedCompletionDate

      public void setRequestedCompletionDate(Date requestedCompletionDate)
    • expectedCompletionDate

      public ProductOrder expectedCompletionDate(Date expectedCompletionDate)
    • getExpectedCompletionDate

      @Valid public @Valid Date getExpectedCompletionDate()
      Expected delivery date amended by the provider
      Returns:
      expectedCompletionDate
    • setExpectedCompletionDate

      public void setExpectedCompletionDate(Date expectedCompletionDate)
    • notificationContact

      public ProductOrder notificationContact(String notificationContact)
    • getNotificationContact

      public String getNotificationContact()
      Contact attached to the order to send back information regarding this order
      Returns:
      notificationContact
    • setNotificationContact

      public void setNotificationContact(String notificationContact)
    • atBaseType

      public ProductOrder atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      Indicates the base type of the resource. Here can be 'ProductOrder'.
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • atType

      public ProductOrder atType(String atType)
    • getAtType

      public String getAtType()
      Indicates the type of resource. Here can be 'ProductOrder'.
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • atSchemaLocation

      public ProductOrder atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      A link to the schema describing this REST resource.
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • channel

      public ProductOrder channel(List<Channel> channel)
    • addChannelItem

      public ProductOrder addChannelItem(Channel channelItem)
    • getChannel

      @Valid public @Valid List<Channel> getChannel()
      Get channel
      Returns:
      channel
    • setChannel

      public void setChannel(List<Channel> channel)
    • note

      public ProductOrder note(List<Note> note)
    • addNoteItem

      public ProductOrder addNoteItem(Note noteItem)
    • getNote

      @Valid public @Valid List<Note> getNote()
      Get note
      Returns:
      note
    • setNote

      public void setNote(List<Note> note)
    • relatedParty

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

      public ProductOrder addRelatedPartyItem(RelatedPartyRef relatedPartyItem)
    • getRelatedParty

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

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

      public ProductOrder payment(List<PaymentRef> payment)
    • addPaymentItem

      public ProductOrder addPaymentItem(PaymentRef paymentItem)
    • getPayment

      @Valid public @Valid List<PaymentRef> getPayment()
      Get payment
      Returns:
      payment
    • setPayment

      public void setPayment(List<PaymentRef> payment)
    • billingAccount

      public ProductOrder billingAccount(BillingAccountRef billingAccount)
    • getBillingAccount

      @Valid public BillingAccountRef getBillingAccount()
      Get billingAccount
      Returns:
      billingAccount
    • setBillingAccount

      public void setBillingAccount(BillingAccountRef billingAccount)
    • orderTotalPrice

      public ProductOrder orderTotalPrice(List<OrderPrice> orderTotalPrice)
    • addOrderTotalPriceItem

      public ProductOrder addOrderTotalPriceItem(OrderPrice orderTotalPriceItem)
    • getOrderTotalPrice

      @Valid public @Valid List<OrderPrice> getOrderTotalPrice()
      Get orderTotalPrice
      Returns:
      orderTotalPrice
    • setOrderTotalPrice

      public void setOrderTotalPrice(List<OrderPrice> orderTotalPrice)
    • productOrderItem

      public ProductOrder productOrderItem(List<OrderItem> productOrderItem)
    • addProductOrderItemItem

      public ProductOrder addProductOrderItemItem(OrderItem productOrderItemItem)
    • getProductOrderItem

      @Valid public @Valid List<OrderItem> getProductOrderItem()
      Get productOrderItem
      Returns:
      productOrderItem
    • setProductOrderItem

      public void setProductOrderItem(List<OrderItem> productOrderItem)
    • promotion

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

      public ProductOrder addPromotionItem(PromotionRef promotionItem)
    • getPromotion

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

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

      public ProductOrder orderCost(List<OrderPrice> orderCost)
    • addOrderCostItem

      public ProductOrder addOrderCostItem(OrderPrice orderCostItem)
    • getOrderCost

      @Valid public @Valid List<OrderPrice> getOrderCost()
      Represents the delivery and payment costs for the order
      Returns:
      orderCost
    • setOrderCost

      public void setOrderCost(List<OrderPrice> orderCost)
    • deliveryMode

      public ProductOrder deliveryMode(DeliveryModeRef deliveryMode)
    • getDeliveryMode

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

      public void setDeliveryMode(DeliveryModeRef deliveryMode)
    • place

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

      public ProductOrder addPlaceItem(Place placeItem)
    • getPlace

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

      public void setPlace(List<Place> place)
    • 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