java.lang.Object
com.liferay.headless.commerce.admin.order.dto.v1_0.OrderItem
All Implemented Interfaces:
Serializable

@Generated("") public class OrderItem extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • bookedQuantityId

      protected Long bookedQuantityId
    • customFields

      protected CustomField[] customFields
    • decimalQuantity

      protected BigDecimal decimalQuantity
    • deliveryGroup

      @Deprecated protected String deliveryGroup
      Deprecated.
    • deliveryGroupName

      protected String deliveryGroupName
    • discountAmount

      protected BigDecimal discountAmount
    • discountManuallyAdjusted

      protected Boolean discountManuallyAdjusted
    • discountPercentageLevel1

      protected BigDecimal discountPercentageLevel1
    • discountPercentageLevel1WithTaxAmount

      protected BigDecimal discountPercentageLevel1WithTaxAmount
    • discountPercentageLevel2

      protected BigDecimal discountPercentageLevel2
    • discountPercentageLevel2WithTaxAmount

      protected BigDecimal discountPercentageLevel2WithTaxAmount
    • discountPercentageLevel3

      protected BigDecimal discountPercentageLevel3
    • discountPercentageLevel3WithTaxAmount

      protected BigDecimal discountPercentageLevel3WithTaxAmount
    • discountPercentageLevel4

      protected BigDecimal discountPercentageLevel4
    • discountPercentageLevel4WithTaxAmount

      protected BigDecimal discountPercentageLevel4WithTaxAmount
    • discountWithTaxAmount

      protected BigDecimal discountWithTaxAmount
    • externalReferenceCode

      protected String externalReferenceCode
    • finalPrice

      protected BigDecimal finalPrice
    • finalPriceWithTaxAmount

      protected BigDecimal finalPriceWithTaxAmount
    • formattedQuantity

      protected String formattedQuantity
    • id

      protected Long id
    • name

      protected Map<String,String> name
    • options

      protected String options
    • orderExternalReferenceCode

      protected String orderExternalReferenceCode
    • orderId

      protected Long orderId
    • priceManuallyAdjusted

      protected Boolean priceManuallyAdjusted
    • printedNote

      protected String printedNote
    • promoPrice

      protected BigDecimal promoPrice
    • promoPriceWithTaxAmount

      protected BigDecimal promoPriceWithTaxAmount
    • quantity

      protected BigDecimal quantity
    • replacedSku

      protected String replacedSku
    • replacedSkuExternalReferenceCode

      protected String replacedSkuExternalReferenceCode
    • replacedSkuId

      protected Long replacedSkuId
    • requestedDeliveryDate

      protected Date requestedDeliveryDate
    • shippable

      protected Boolean shippable
    • shippedQuantity

      protected BigDecimal shippedQuantity
    • shippingAddress

      protected ShippingAddress shippingAddress
    • shippingAddressExternalReferenceCode

      protected String shippingAddressExternalReferenceCode
    • shippingAddressId

      protected Long shippingAddressId
    • sku

      protected String sku
    • skuExternalReferenceCode

      protected String skuExternalReferenceCode
    • skuId

      protected Long skuId
    • subscription

      protected Boolean subscription
    • unitOfMeasure

      protected String unitOfMeasure
    • unitOfMeasureKey

      protected String unitOfMeasureKey
    • unitPrice

      protected BigDecimal unitPrice
    • unitPriceWithTaxAmount

      protected BigDecimal unitPriceWithTaxAmount
    • virtualItemURLs

      protected String[] virtualItemURLs
    • virtualItems

      protected VirtualItem[] virtualItems
    • xClassName

      public String xClassName
  • Constructor Details

    • OrderItem

      public OrderItem()
  • Method Details

    • toDTO

      public static OrderItem toDTO(String json)
    • unsafeToDTO

      public static OrderItem unsafeToDTO(String json)
    • getBookedQuantityId

      @DecimalMin("0") public @DecimalMin("0") Long getBookedQuantityId()
    • setBookedQuantityId

      public void setBookedQuantityId(Long bookedQuantityId)
    • setBookedQuantityId

      public void setBookedQuantityId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> bookedQuantityIdUnsafeSupplier)
    • getCustomFields

      @Valid public @Valid CustomField[] getCustomFields()
    • setCustomFields

      public void setCustomFields(CustomField[] customFields)
    • setCustomFields

      public void setCustomFields(com.liferay.petra.function.UnsafeSupplier<CustomField[],Exception> customFieldsUnsafeSupplier)
    • getDecimalQuantity

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getDecimalQuantity()
    • setDecimalQuantity

      public void setDecimalQuantity(BigDecimal decimalQuantity)
    • setDecimalQuantity

      public void setDecimalQuantity(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> decimalQuantityUnsafeSupplier)
    • getDeliveryGroup

      public String getDeliveryGroup()
    • setDeliveryGroup

      public void setDeliveryGroup(String deliveryGroup)
    • setDeliveryGroup

      public void setDeliveryGroup(com.liferay.petra.function.UnsafeSupplier<String,Exception> deliveryGroupUnsafeSupplier)
    • getDeliveryGroupName

      public String getDeliveryGroupName()
    • setDeliveryGroupName

      public void setDeliveryGroupName(String deliveryGroupName)
    • setDeliveryGroupName

      public void setDeliveryGroupName(com.liferay.petra.function.UnsafeSupplier<String,Exception> deliveryGroupNameUnsafeSupplier)
    • getDiscountAmount

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getDiscountAmount()
    • setDiscountAmount

      public void setDiscountAmount(BigDecimal discountAmount)
    • setDiscountAmount

      public void setDiscountAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> discountAmountUnsafeSupplier)
    • getDiscountManuallyAdjusted

      public Boolean getDiscountManuallyAdjusted()
    • setDiscountManuallyAdjusted

      public void setDiscountManuallyAdjusted(Boolean discountManuallyAdjusted)
    • setDiscountManuallyAdjusted

      public void setDiscountManuallyAdjusted(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> discountManuallyAdjustedUnsafeSupplier)
    • getDiscountPercentageLevel1

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getDiscountPercentageLevel1()
    • setDiscountPercentageLevel1

      public void setDiscountPercentageLevel1(BigDecimal discountPercentageLevel1)
    • setDiscountPercentageLevel1

      public void setDiscountPercentageLevel1(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> discountPercentageLevel1UnsafeSupplier)
    • getDiscountPercentageLevel1WithTaxAmount

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getDiscountPercentageLevel1WithTaxAmount()
    • setDiscountPercentageLevel1WithTaxAmount

      public void setDiscountPercentageLevel1WithTaxAmount(BigDecimal discountPercentageLevel1WithTaxAmount)
    • setDiscountPercentageLevel1WithTaxAmount

      public void setDiscountPercentageLevel1WithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> discountPercentageLevel1WithTaxAmountUnsafeSupplier)
    • getDiscountPercentageLevel2

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getDiscountPercentageLevel2()
    • setDiscountPercentageLevel2

      public void setDiscountPercentageLevel2(BigDecimal discountPercentageLevel2)
    • setDiscountPercentageLevel2

      public void setDiscountPercentageLevel2(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> discountPercentageLevel2UnsafeSupplier)
    • getDiscountPercentageLevel2WithTaxAmount

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getDiscountPercentageLevel2WithTaxAmount()
    • setDiscountPercentageLevel2WithTaxAmount

      public void setDiscountPercentageLevel2WithTaxAmount(BigDecimal discountPercentageLevel2WithTaxAmount)
    • setDiscountPercentageLevel2WithTaxAmount

      public void setDiscountPercentageLevel2WithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> discountPercentageLevel2WithTaxAmountUnsafeSupplier)
    • getDiscountPercentageLevel3

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getDiscountPercentageLevel3()
    • setDiscountPercentageLevel3

      public void setDiscountPercentageLevel3(BigDecimal discountPercentageLevel3)
    • setDiscountPercentageLevel3

      public void setDiscountPercentageLevel3(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> discountPercentageLevel3UnsafeSupplier)
    • getDiscountPercentageLevel3WithTaxAmount

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getDiscountPercentageLevel3WithTaxAmount()
    • setDiscountPercentageLevel3WithTaxAmount

      public void setDiscountPercentageLevel3WithTaxAmount(BigDecimal discountPercentageLevel3WithTaxAmount)
    • setDiscountPercentageLevel3WithTaxAmount

      public void setDiscountPercentageLevel3WithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> discountPercentageLevel3WithTaxAmountUnsafeSupplier)
    • getDiscountPercentageLevel4

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getDiscountPercentageLevel4()
    • setDiscountPercentageLevel4

      public void setDiscountPercentageLevel4(BigDecimal discountPercentageLevel4)
    • setDiscountPercentageLevel4

      public void setDiscountPercentageLevel4(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> discountPercentageLevel4UnsafeSupplier)
    • getDiscountPercentageLevel4WithTaxAmount

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getDiscountPercentageLevel4WithTaxAmount()
    • setDiscountPercentageLevel4WithTaxAmount

      public void setDiscountPercentageLevel4WithTaxAmount(BigDecimal discountPercentageLevel4WithTaxAmount)
    • setDiscountPercentageLevel4WithTaxAmount

      public void setDiscountPercentageLevel4WithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> discountPercentageLevel4WithTaxAmountUnsafeSupplier)
    • getDiscountWithTaxAmount

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getDiscountWithTaxAmount()
    • setDiscountWithTaxAmount

      public void setDiscountWithTaxAmount(BigDecimal discountWithTaxAmount)
    • setDiscountWithTaxAmount

      public void setDiscountWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> discountWithTaxAmountUnsafeSupplier)
    • getExternalReferenceCode

      public String getExternalReferenceCode()
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
    • setExternalReferenceCode

      public void setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> externalReferenceCodeUnsafeSupplier)
    • getFinalPrice

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getFinalPrice()
    • setFinalPrice

      public void setFinalPrice(BigDecimal finalPrice)
    • setFinalPrice

      public void setFinalPrice(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> finalPriceUnsafeSupplier)
    • getFinalPriceWithTaxAmount

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getFinalPriceWithTaxAmount()
    • setFinalPriceWithTaxAmount

      public void setFinalPriceWithTaxAmount(BigDecimal finalPriceWithTaxAmount)
    • setFinalPriceWithTaxAmount

      public void setFinalPriceWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> finalPriceWithTaxAmountUnsafeSupplier)
    • getFormattedQuantity

      public String getFormattedQuantity()
    • setFormattedQuantity

      public void setFormattedQuantity(String formattedQuantity)
    • setFormattedQuantity

      public void setFormattedQuantity(com.liferay.petra.function.UnsafeSupplier<String,Exception> formattedQuantityUnsafeSupplier)
    • getId

      @DecimalMin("0") public @DecimalMin("0") Long getId()
    • setId

      public void setId(Long id)
    • setId

      public void setId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> idUnsafeSupplier)
    • getName

      @Valid public @Valid Map<String,String> getName()
    • setName

      public void setName(Map<String,String> name)
    • setName

      public void setName(com.liferay.petra.function.UnsafeSupplier<Map<String,String>,Exception> nameUnsafeSupplier)
    • getOptions

      public String getOptions()
    • setOptions

      public void setOptions(String options)
    • setOptions

      public void setOptions(com.liferay.petra.function.UnsafeSupplier<String,Exception> optionsUnsafeSupplier)
    • getOrderExternalReferenceCode

      public String getOrderExternalReferenceCode()
    • setOrderExternalReferenceCode

      public void setOrderExternalReferenceCode(String orderExternalReferenceCode)
    • setOrderExternalReferenceCode

      public void setOrderExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> orderExternalReferenceCodeUnsafeSupplier)
    • getOrderId

      @DecimalMin("0") public @DecimalMin("0") Long getOrderId()
    • setOrderId

      public void setOrderId(Long orderId)
    • setOrderId

      public void setOrderId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> orderIdUnsafeSupplier)
    • getPriceManuallyAdjusted

      public Boolean getPriceManuallyAdjusted()
    • setPriceManuallyAdjusted

      public void setPriceManuallyAdjusted(Boolean priceManuallyAdjusted)
    • setPriceManuallyAdjusted

      public void setPriceManuallyAdjusted(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> priceManuallyAdjustedUnsafeSupplier)
    • getPrintedNote

      public String getPrintedNote()
    • setPrintedNote

      public void setPrintedNote(String printedNote)
    • setPrintedNote

      public void setPrintedNote(com.liferay.petra.function.UnsafeSupplier<String,Exception> printedNoteUnsafeSupplier)
    • getPromoPrice

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getPromoPrice()
    • setPromoPrice

      public void setPromoPrice(BigDecimal promoPrice)
    • setPromoPrice

      public void setPromoPrice(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> promoPriceUnsafeSupplier)
    • getPromoPriceWithTaxAmount

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getPromoPriceWithTaxAmount()
    • setPromoPriceWithTaxAmount

      public void setPromoPriceWithTaxAmount(BigDecimal promoPriceWithTaxAmount)
    • setPromoPriceWithTaxAmount

      public void setPromoPriceWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> promoPriceWithTaxAmountUnsafeSupplier)
    • getQuantity

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getQuantity()
    • setQuantity

      public void setQuantity(BigDecimal quantity)
    • setQuantity

      public void setQuantity(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> quantityUnsafeSupplier)
    • getReplacedSku

      public String getReplacedSku()
    • setReplacedSku

      public void setReplacedSku(String replacedSku)
    • setReplacedSku

      public void setReplacedSku(com.liferay.petra.function.UnsafeSupplier<String,Exception> replacedSkuUnsafeSupplier)
    • getReplacedSkuExternalReferenceCode

      public String getReplacedSkuExternalReferenceCode()
    • setReplacedSkuExternalReferenceCode

      public void setReplacedSkuExternalReferenceCode(String replacedSkuExternalReferenceCode)
    • setReplacedSkuExternalReferenceCode

      public void setReplacedSkuExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> replacedSkuExternalReferenceCodeUnsafeSupplier)
    • getReplacedSkuId

      public Long getReplacedSkuId()
    • setReplacedSkuId

      public void setReplacedSkuId(Long replacedSkuId)
    • setReplacedSkuId

      public void setReplacedSkuId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> replacedSkuIdUnsafeSupplier)
    • getRequestedDeliveryDate

      public Date getRequestedDeliveryDate()
    • setRequestedDeliveryDate

      public void setRequestedDeliveryDate(Date requestedDeliveryDate)
    • setRequestedDeliveryDate

      public void setRequestedDeliveryDate(com.liferay.petra.function.UnsafeSupplier<Date,Exception> requestedDeliveryDateUnsafeSupplier)
    • getShippable

      public Boolean getShippable()
    • setShippable

      public void setShippable(Boolean shippable)
    • setShippable

      public void setShippable(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> shippableUnsafeSupplier)
    • getShippedQuantity

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getShippedQuantity()
    • setShippedQuantity

      public void setShippedQuantity(BigDecimal shippedQuantity)
    • setShippedQuantity

      public void setShippedQuantity(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> shippedQuantityUnsafeSupplier)
    • getShippingAddress

      @Valid public @Valid ShippingAddress getShippingAddress()
    • setShippingAddress

      public void setShippingAddress(ShippingAddress shippingAddress)
    • setShippingAddress

      public void setShippingAddress(com.liferay.petra.function.UnsafeSupplier<ShippingAddress,Exception> shippingAddressUnsafeSupplier)
    • getShippingAddressExternalReferenceCode

      public String getShippingAddressExternalReferenceCode()
    • setShippingAddressExternalReferenceCode

      public void setShippingAddressExternalReferenceCode(String shippingAddressExternalReferenceCode)
    • setShippingAddressExternalReferenceCode

      public void setShippingAddressExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> shippingAddressExternalReferenceCodeUnsafeSupplier)
    • getShippingAddressId

      @DecimalMin("0") public @DecimalMin("0") Long getShippingAddressId()
    • setShippingAddressId

      public void setShippingAddressId(Long shippingAddressId)
    • setShippingAddressId

      public void setShippingAddressId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> shippingAddressIdUnsafeSupplier)
    • getSku

      public String getSku()
    • setSku

      public void setSku(String sku)
    • setSku

      public void setSku(com.liferay.petra.function.UnsafeSupplier<String,Exception> skuUnsafeSupplier)
    • getSkuExternalReferenceCode

      public String getSkuExternalReferenceCode()
    • setSkuExternalReferenceCode

      public void setSkuExternalReferenceCode(String skuExternalReferenceCode)
    • setSkuExternalReferenceCode

      public void setSkuExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> skuExternalReferenceCodeUnsafeSupplier)
    • getSkuId

      @DecimalMin("0") public @DecimalMin("0") Long getSkuId()
    • setSkuId

      public void setSkuId(Long skuId)
    • setSkuId

      public void setSkuId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> skuIdUnsafeSupplier)
    • getSubscription

      public Boolean getSubscription()
    • setSubscription

      public void setSubscription(Boolean subscription)
    • setSubscription

      public void setSubscription(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> subscriptionUnsafeSupplier)
    • getUnitOfMeasure

      public String getUnitOfMeasure()
    • setUnitOfMeasure

      public void setUnitOfMeasure(String unitOfMeasure)
    • setUnitOfMeasure

      public void setUnitOfMeasure(com.liferay.petra.function.UnsafeSupplier<String,Exception> unitOfMeasureUnsafeSupplier)
    • getUnitOfMeasureKey

      public String getUnitOfMeasureKey()
    • setUnitOfMeasureKey

      public void setUnitOfMeasureKey(String unitOfMeasureKey)
    • setUnitOfMeasureKey

      public void setUnitOfMeasureKey(com.liferay.petra.function.UnsafeSupplier<String,Exception> unitOfMeasureKeyUnsafeSupplier)
    • getUnitPrice

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getUnitPrice()
    • setUnitPrice

      public void setUnitPrice(BigDecimal unitPrice)
    • setUnitPrice

      public void setUnitPrice(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> unitPriceUnsafeSupplier)
    • getUnitPriceWithTaxAmount

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getUnitPriceWithTaxAmount()
    • setUnitPriceWithTaxAmount

      public void setUnitPriceWithTaxAmount(BigDecimal unitPriceWithTaxAmount)
    • setUnitPriceWithTaxAmount

      public void setUnitPriceWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> unitPriceWithTaxAmountUnsafeSupplier)
    • getVirtualItemURLs

      public String[] getVirtualItemURLs()
    • setVirtualItemURLs

      public void setVirtualItemURLs(String[] virtualItemURLs)
    • setVirtualItemURLs

      public void setVirtualItemURLs(com.liferay.petra.function.UnsafeSupplier<String[],Exception> virtualItemURLsUnsafeSupplier)
    • getVirtualItems

      @Valid public @Valid VirtualItem[] getVirtualItems()
    • setVirtualItems

      public void setVirtualItems(VirtualItem[] virtualItems)
    • setVirtualItems

      public void setVirtualItems(com.liferay.petra.function.UnsafeSupplier<VirtualItem[],Exception> virtualItemsUnsafeSupplier)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object