Class OrderItem
java.lang.Object
com.liferay.headless.commerce.admin.order.dto.v1_0.OrderItem
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Long
protected CustomField[]
protected BigDecimal
protected String
Deprecated.protected String
protected BigDecimal
protected Boolean
protected BigDecimal
protected BigDecimal
protected BigDecimal
protected BigDecimal
protected BigDecimal
protected BigDecimal
protected BigDecimal
protected BigDecimal
protected BigDecimal
protected String
protected BigDecimal
protected BigDecimal
protected String
protected Long
protected String
protected String
protected Long
protected Boolean
protected String
protected BigDecimal
protected BigDecimal
protected BigDecimal
protected String
protected String
protected Long
protected Date
protected Boolean
protected BigDecimal
protected ShippingAddress
protected String
protected Long
protected String
protected String
protected Long
protected Boolean
protected String
protected String
protected BigDecimal
protected BigDecimal
protected VirtualItem[]
protected String[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
@DecimalMin("0") Long
@Valid CustomField[]
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") Long
getId()
getName()
@DecimalMin("0") Long
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@Valid ShippingAddress
@DecimalMin("0") Long
getSku()
@DecimalMin("0") Long
getSkuId()
@DecimalMin("0") @Valid BigDecimal
@DecimalMin("0") @Valid BigDecimal
@Valid VirtualItem[]
String[]
int
hashCode()
void
setBookedQuantityId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> bookedQuantityIdUnsafeSupplier) void
setBookedQuantityId
(Long bookedQuantityId) void
setCustomFields
(CustomField[] customFields) void
setCustomFields
(com.liferay.petra.function.UnsafeSupplier<CustomField[], Exception> customFieldsUnsafeSupplier) void
setDecimalQuantity
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> decimalQuantityUnsafeSupplier) void
setDecimalQuantity
(BigDecimal decimalQuantity) void
setDeliveryGroup
(com.liferay.petra.function.UnsafeSupplier<String, Exception> deliveryGroupUnsafeSupplier) void
setDeliveryGroup
(String deliveryGroup) void
setDeliveryGroupName
(com.liferay.petra.function.UnsafeSupplier<String, Exception> deliveryGroupNameUnsafeSupplier) void
setDeliveryGroupName
(String deliveryGroupName) void
setDiscountAmount
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountAmountUnsafeSupplier) void
setDiscountAmount
(BigDecimal discountAmount) void
setDiscountManuallyAdjusted
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> discountManuallyAdjustedUnsafeSupplier) void
setDiscountManuallyAdjusted
(Boolean discountManuallyAdjusted) void
setDiscountPercentageLevel1
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel1UnsafeSupplier) void
setDiscountPercentageLevel1
(BigDecimal discountPercentageLevel1) void
setDiscountPercentageLevel1WithTaxAmount
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel1WithTaxAmountUnsafeSupplier) void
setDiscountPercentageLevel1WithTaxAmount
(BigDecimal discountPercentageLevel1WithTaxAmount) void
setDiscountPercentageLevel2
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel2UnsafeSupplier) void
setDiscountPercentageLevel2
(BigDecimal discountPercentageLevel2) void
setDiscountPercentageLevel2WithTaxAmount
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel2WithTaxAmountUnsafeSupplier) void
setDiscountPercentageLevel2WithTaxAmount
(BigDecimal discountPercentageLevel2WithTaxAmount) void
setDiscountPercentageLevel3
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel3UnsafeSupplier) void
setDiscountPercentageLevel3
(BigDecimal discountPercentageLevel3) void
setDiscountPercentageLevel3WithTaxAmount
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel3WithTaxAmountUnsafeSupplier) void
setDiscountPercentageLevel3WithTaxAmount
(BigDecimal discountPercentageLevel3WithTaxAmount) void
setDiscountPercentageLevel4
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel4UnsafeSupplier) void
setDiscountPercentageLevel4
(BigDecimal discountPercentageLevel4) void
setDiscountPercentageLevel4WithTaxAmount
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel4WithTaxAmountUnsafeSupplier) void
setDiscountPercentageLevel4WithTaxAmount
(BigDecimal discountPercentageLevel4WithTaxAmount) void
setDiscountWithTaxAmount
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountWithTaxAmountUnsafeSupplier) void
setDiscountWithTaxAmount
(BigDecimal discountWithTaxAmount) void
setExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> externalReferenceCodeUnsafeSupplier) void
setExternalReferenceCode
(String externalReferenceCode) void
setFinalPrice
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> finalPriceUnsafeSupplier) void
setFinalPrice
(BigDecimal finalPrice) void
setFinalPriceWithTaxAmount
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> finalPriceWithTaxAmountUnsafeSupplier) void
setFinalPriceWithTaxAmount
(BigDecimal finalPriceWithTaxAmount) void
setFormattedQuantity
(com.liferay.petra.function.UnsafeSupplier<String, Exception> formattedQuantityUnsafeSupplier) void
setFormattedQuantity
(String formattedQuantity) void
void
void
void
void
setOptions
(com.liferay.petra.function.UnsafeSupplier<String, Exception> optionsUnsafeSupplier) void
setOptions
(String options) void
setOrderExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> orderExternalReferenceCodeUnsafeSupplier) void
setOrderExternalReferenceCode
(String orderExternalReferenceCode) void
setOrderId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> orderIdUnsafeSupplier) void
setOrderId
(Long orderId) void
setPriceManuallyAdjusted
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> priceManuallyAdjustedUnsafeSupplier) void
setPriceManuallyAdjusted
(Boolean priceManuallyAdjusted) void
setPrintedNote
(com.liferay.petra.function.UnsafeSupplier<String, Exception> printedNoteUnsafeSupplier) void
setPrintedNote
(String printedNote) void
setPromoPrice
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> promoPriceUnsafeSupplier) void
setPromoPrice
(BigDecimal promoPrice) void
setPromoPriceWithTaxAmount
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> promoPriceWithTaxAmountUnsafeSupplier) void
setPromoPriceWithTaxAmount
(BigDecimal promoPriceWithTaxAmount) void
setQuantity
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> quantityUnsafeSupplier) void
setQuantity
(BigDecimal quantity) void
setReplacedSku
(com.liferay.petra.function.UnsafeSupplier<String, Exception> replacedSkuUnsafeSupplier) void
setReplacedSku
(String replacedSku) void
setReplacedSkuExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> replacedSkuExternalReferenceCodeUnsafeSupplier) void
setReplacedSkuExternalReferenceCode
(String replacedSkuExternalReferenceCode) void
setReplacedSkuId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> replacedSkuIdUnsafeSupplier) void
setReplacedSkuId
(Long replacedSkuId) void
setRequestedDeliveryDate
(com.liferay.petra.function.UnsafeSupplier<Date, Exception> requestedDeliveryDateUnsafeSupplier) void
setRequestedDeliveryDate
(Date requestedDeliveryDate) void
setShippable
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> shippableUnsafeSupplier) void
setShippable
(Boolean shippable) void
setShippedQuantity
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> shippedQuantityUnsafeSupplier) void
setShippedQuantity
(BigDecimal shippedQuantity) void
setShippingAddress
(ShippingAddress shippingAddress) void
setShippingAddress
(com.liferay.petra.function.UnsafeSupplier<ShippingAddress, Exception> shippingAddressUnsafeSupplier) void
setShippingAddressExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> shippingAddressExternalReferenceCodeUnsafeSupplier) void
setShippingAddressExternalReferenceCode
(String shippingAddressExternalReferenceCode) void
setShippingAddressId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> shippingAddressIdUnsafeSupplier) void
setShippingAddressId
(Long shippingAddressId) void
void
void
setSkuExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> skuExternalReferenceCodeUnsafeSupplier) void
setSkuExternalReferenceCode
(String skuExternalReferenceCode) void
void
void
setSubscription
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> subscriptionUnsafeSupplier) void
setSubscription
(Boolean subscription) void
setUnitOfMeasure
(com.liferay.petra.function.UnsafeSupplier<String, Exception> unitOfMeasureUnsafeSupplier) void
setUnitOfMeasure
(String unitOfMeasure) void
setUnitOfMeasureKey
(com.liferay.petra.function.UnsafeSupplier<String, Exception> unitOfMeasureKeyUnsafeSupplier) void
setUnitOfMeasureKey
(String unitOfMeasureKey) void
setUnitPrice
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> unitPriceUnsafeSupplier) void
setUnitPrice
(BigDecimal unitPrice) void
setUnitPriceWithTaxAmount
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> unitPriceWithTaxAmountUnsafeSupplier) void
setUnitPriceWithTaxAmount
(BigDecimal unitPriceWithTaxAmount) void
setVirtualItems
(VirtualItem[] virtualItems) void
setVirtualItems
(com.liferay.petra.function.UnsafeSupplier<VirtualItem[], Exception> virtualItemsUnsafeSupplier) void
setVirtualItemURLs
(com.liferay.petra.function.UnsafeSupplier<String[], Exception> virtualItemURLsUnsafeSupplier) void
setVirtualItemURLs
(String[] virtualItemURLs) static OrderItem
toString()
static OrderItem
unsafeToDTO
(String json)
-
Field Details
-
bookedQuantityId
-
customFields
-
decimalQuantity
-
deliveryGroup
Deprecated. -
deliveryGroupName
-
discountAmount
-
discountManuallyAdjusted
-
discountPercentageLevel1
-
discountPercentageLevel1WithTaxAmount
-
discountPercentageLevel2
-
discountPercentageLevel2WithTaxAmount
-
discountPercentageLevel3
-
discountPercentageLevel3WithTaxAmount
-
discountPercentageLevel4
-
discountPercentageLevel4WithTaxAmount
-
discountWithTaxAmount
-
externalReferenceCode
-
finalPrice
-
finalPriceWithTaxAmount
-
formattedQuantity
-
id
-
name
-
options
-
orderExternalReferenceCode
-
orderId
-
priceManuallyAdjusted
-
printedNote
-
promoPrice
-
promoPriceWithTaxAmount
-
quantity
-
replacedSku
-
replacedSkuExternalReferenceCode
-
replacedSkuId
-
requestedDeliveryDate
-
shippable
-
shippedQuantity
-
shippingAddress
-
shippingAddressExternalReferenceCode
-
shippingAddressId
-
sku
-
skuExternalReferenceCode
-
skuId
-
subscription
-
unitOfMeasure
-
unitOfMeasureKey
-
unitPrice
-
unitPriceWithTaxAmount
-
virtualItemURLs
-
virtualItems
-
xClassName
-
-
Constructor Details
-
OrderItem
public OrderItem()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getBookedQuantityId
-
setBookedQuantityId
-
setBookedQuantityId
-
getCustomFields
-
setCustomFields
-
setCustomFields
public void setCustomFields(com.liferay.petra.function.UnsafeSupplier<CustomField[], Exception> customFieldsUnsafeSupplier) -
getDecimalQuantity
-
setDecimalQuantity
-
setDecimalQuantity
public void setDecimalQuantity(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> decimalQuantityUnsafeSupplier) -
getDeliveryGroup
-
setDeliveryGroup
-
setDeliveryGroup
-
getDeliveryGroupName
-
setDeliveryGroupName
-
setDeliveryGroupName
-
getDiscountAmount
-
setDiscountAmount
-
setDiscountAmount
public void setDiscountAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountAmountUnsafeSupplier) -
getDiscountManuallyAdjusted
-
setDiscountManuallyAdjusted
-
setDiscountManuallyAdjusted
-
getDiscountPercentageLevel1
-
setDiscountPercentageLevel1
-
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
-
setDiscountPercentageLevel2
-
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
-
setDiscountPercentageLevel3
-
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
-
setDiscountPercentageLevel4
-
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
-
setDiscountWithTaxAmount
-
setDiscountWithTaxAmount
public void setDiscountWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountWithTaxAmountUnsafeSupplier) -
getExternalReferenceCode
-
setExternalReferenceCode
-
setExternalReferenceCode
-
getFinalPrice
-
setFinalPrice
-
setFinalPrice
public void setFinalPrice(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> finalPriceUnsafeSupplier) -
getFinalPriceWithTaxAmount
-
setFinalPriceWithTaxAmount
-
setFinalPriceWithTaxAmount
public void setFinalPriceWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> finalPriceWithTaxAmountUnsafeSupplier) -
getFormattedQuantity
-
setFormattedQuantity
-
setFormattedQuantity
-
getId
-
setId
-
setId
-
getName
-
setName
-
setName
-
getOptions
-
setOptions
-
setOptions
-
getOrderExternalReferenceCode
-
setOrderExternalReferenceCode
-
setOrderExternalReferenceCode
-
getOrderId
-
setOrderId
-
setOrderId
-
getPriceManuallyAdjusted
-
setPriceManuallyAdjusted
-
setPriceManuallyAdjusted
-
getPrintedNote
-
setPrintedNote
-
setPrintedNote
-
getPromoPrice
-
setPromoPrice
-
setPromoPrice
public void setPromoPrice(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> promoPriceUnsafeSupplier) -
getPromoPriceWithTaxAmount
-
setPromoPriceWithTaxAmount
-
setPromoPriceWithTaxAmount
public void setPromoPriceWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> promoPriceWithTaxAmountUnsafeSupplier) -
getQuantity
-
setQuantity
-
setQuantity
public void setQuantity(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> quantityUnsafeSupplier) -
getReplacedSku
-
setReplacedSku
-
setReplacedSku
-
getReplacedSkuExternalReferenceCode
-
setReplacedSkuExternalReferenceCode
-
setReplacedSkuExternalReferenceCode
-
getReplacedSkuId
-
setReplacedSkuId
-
setReplacedSkuId
-
getRequestedDeliveryDate
-
setRequestedDeliveryDate
-
setRequestedDeliveryDate
-
getShippable
-
setShippable
-
setShippable
-
getShippedQuantity
-
setShippedQuantity
-
setShippedQuantity
public void setShippedQuantity(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> shippedQuantityUnsafeSupplier) -
getShippingAddress
-
setShippingAddress
-
setShippingAddress
public void setShippingAddress(com.liferay.petra.function.UnsafeSupplier<ShippingAddress, Exception> shippingAddressUnsafeSupplier) -
getShippingAddressExternalReferenceCode
-
setShippingAddressExternalReferenceCode
-
setShippingAddressExternalReferenceCode
-
getShippingAddressId
-
setShippingAddressId
-
setShippingAddressId
-
getSku
-
setSku
-
setSku
-
getSkuExternalReferenceCode
-
setSkuExternalReferenceCode
-
setSkuExternalReferenceCode
-
getSkuId
-
setSkuId
-
setSkuId
-
getSubscription
-
setSubscription
-
setSubscription
-
getUnitOfMeasure
-
setUnitOfMeasure
-
setUnitOfMeasure
-
getUnitOfMeasureKey
-
setUnitOfMeasureKey
-
setUnitOfMeasureKey
-
getUnitPrice
-
setUnitPrice
-
setUnitPrice
public void setUnitPrice(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> unitPriceUnsafeSupplier) -
getUnitPriceWithTaxAmount
-
setUnitPriceWithTaxAmount
-
setUnitPriceWithTaxAmount
public void setUnitPriceWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> unitPriceWithTaxAmountUnsafeSupplier) -
getVirtualItemURLs
-
setVirtualItemURLs
-
setVirtualItemURLs
-
getVirtualItems
-
setVirtualItems
-
setVirtualItems
public void setVirtualItems(com.liferay.petra.function.UnsafeSupplier<VirtualItem[], Exception> virtualItemsUnsafeSupplier) -
equals
-
hashCode
public int hashCode() -
toString
-