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 Longprotected CustomField[]protected BigDecimalprotected StringDeprecated.protected Stringprotected BigDecimalprotected Booleanprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected Stringprotected BigDecimalprotected BigDecimalprotected Stringprotected Longprotected Stringprotected Stringprotected Longprotected Booleanprotected Stringprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected Stringprotected Stringprotected Longprotected Dateprotected Booleanprotected BigDecimalprotected ShippingAddressprotected Stringprotected Longprotected Stringprotected Stringprotected Longprotected Booleanprotected Stringprotected Stringprotected BigDecimalprotected BigDecimalprotected 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") LonggetId()getName()@DecimalMin("0") Long@DecimalMin("0") @Valid BigDecimal@DecimalMin("0") @Valid BigDecimal@DecimalMin("0") @Valid BigDecimal@DecimalMin("0") @Valid BigDecimal@Valid ShippingAddress@DecimalMin("0") LonggetSku()@DecimalMin("0") LonggetSkuId()@DecimalMin("0") @Valid BigDecimal@DecimalMin("0") @Valid BigDecimal@Valid VirtualItem[]String[]inthashCode()voidsetBookedQuantityId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> bookedQuantityIdUnsafeSupplier) voidsetBookedQuantityId(Long bookedQuantityId) voidsetCustomFields(CustomField[] customFields) voidsetCustomFields(com.liferay.petra.function.UnsafeSupplier<CustomField[], Exception> customFieldsUnsafeSupplier) voidsetDecimalQuantity(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> decimalQuantityUnsafeSupplier) voidsetDecimalQuantity(BigDecimal decimalQuantity) voidsetDeliveryGroup(com.liferay.petra.function.UnsafeSupplier<String, Exception> deliveryGroupUnsafeSupplier) voidsetDeliveryGroup(String deliveryGroup) voidsetDeliveryGroupName(com.liferay.petra.function.UnsafeSupplier<String, Exception> deliveryGroupNameUnsafeSupplier) voidsetDeliveryGroupName(String deliveryGroupName) voidsetDiscountAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountAmountUnsafeSupplier) voidsetDiscountAmount(BigDecimal discountAmount) voidsetDiscountManuallyAdjusted(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> discountManuallyAdjustedUnsafeSupplier) voidsetDiscountManuallyAdjusted(Boolean discountManuallyAdjusted) voidsetDiscountPercentageLevel1(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel1UnsafeSupplier) voidsetDiscountPercentageLevel1(BigDecimal discountPercentageLevel1) voidsetDiscountPercentageLevel1WithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel1WithTaxAmountUnsafeSupplier) voidsetDiscountPercentageLevel1WithTaxAmount(BigDecimal discountPercentageLevel1WithTaxAmount) voidsetDiscountPercentageLevel2(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel2UnsafeSupplier) voidsetDiscountPercentageLevel2(BigDecimal discountPercentageLevel2) voidsetDiscountPercentageLevel2WithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel2WithTaxAmountUnsafeSupplier) voidsetDiscountPercentageLevel2WithTaxAmount(BigDecimal discountPercentageLevel2WithTaxAmount) voidsetDiscountPercentageLevel3(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel3UnsafeSupplier) voidsetDiscountPercentageLevel3(BigDecimal discountPercentageLevel3) voidsetDiscountPercentageLevel3WithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel3WithTaxAmountUnsafeSupplier) voidsetDiscountPercentageLevel3WithTaxAmount(BigDecimal discountPercentageLevel3WithTaxAmount) voidsetDiscountPercentageLevel4(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel4UnsafeSupplier) voidsetDiscountPercentageLevel4(BigDecimal discountPercentageLevel4) voidsetDiscountPercentageLevel4WithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountPercentageLevel4WithTaxAmountUnsafeSupplier) voidsetDiscountPercentageLevel4WithTaxAmount(BigDecimal discountPercentageLevel4WithTaxAmount) voidsetDiscountWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> discountWithTaxAmountUnsafeSupplier) voidsetDiscountWithTaxAmount(BigDecimal discountWithTaxAmount) voidsetExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> externalReferenceCodeUnsafeSupplier) voidsetExternalReferenceCode(String externalReferenceCode) voidsetFinalPrice(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> finalPriceUnsafeSupplier) voidsetFinalPrice(BigDecimal finalPrice) voidsetFinalPriceWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> finalPriceWithTaxAmountUnsafeSupplier) voidsetFinalPriceWithTaxAmount(BigDecimal finalPriceWithTaxAmount) voidsetFormattedQuantity(com.liferay.petra.function.UnsafeSupplier<String, Exception> formattedQuantityUnsafeSupplier) voidsetFormattedQuantity(String formattedQuantity) voidvoidvoidvoidvoidsetOptions(com.liferay.petra.function.UnsafeSupplier<String, Exception> optionsUnsafeSupplier) voidsetOptions(String options) voidsetOrderExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> orderExternalReferenceCodeUnsafeSupplier) voidsetOrderExternalReferenceCode(String orderExternalReferenceCode) voidsetOrderId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> orderIdUnsafeSupplier) voidsetOrderId(Long orderId) voidsetPriceManuallyAdjusted(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> priceManuallyAdjustedUnsafeSupplier) voidsetPriceManuallyAdjusted(Boolean priceManuallyAdjusted) voidsetPrintedNote(com.liferay.petra.function.UnsafeSupplier<String, Exception> printedNoteUnsafeSupplier) voidsetPrintedNote(String printedNote) voidsetPromoPrice(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> promoPriceUnsafeSupplier) voidsetPromoPrice(BigDecimal promoPrice) voidsetPromoPriceWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> promoPriceWithTaxAmountUnsafeSupplier) voidsetPromoPriceWithTaxAmount(BigDecimal promoPriceWithTaxAmount) voidsetQuantity(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> quantityUnsafeSupplier) voidsetQuantity(BigDecimal quantity) voidsetReplacedSku(com.liferay.petra.function.UnsafeSupplier<String, Exception> replacedSkuUnsafeSupplier) voidsetReplacedSku(String replacedSku) voidsetReplacedSkuExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> replacedSkuExternalReferenceCodeUnsafeSupplier) voidsetReplacedSkuExternalReferenceCode(String replacedSkuExternalReferenceCode) voidsetReplacedSkuId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> replacedSkuIdUnsafeSupplier) voidsetReplacedSkuId(Long replacedSkuId) voidsetRequestedDeliveryDate(com.liferay.petra.function.UnsafeSupplier<Date, Exception> requestedDeliveryDateUnsafeSupplier) voidsetRequestedDeliveryDate(Date requestedDeliveryDate) voidsetShippable(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> shippableUnsafeSupplier) voidsetShippable(Boolean shippable) voidsetShippedQuantity(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> shippedQuantityUnsafeSupplier) voidsetShippedQuantity(BigDecimal shippedQuantity) voidsetShippingAddress(ShippingAddress shippingAddress) voidsetShippingAddress(com.liferay.petra.function.UnsafeSupplier<ShippingAddress, Exception> shippingAddressUnsafeSupplier) voidsetShippingAddressExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> shippingAddressExternalReferenceCodeUnsafeSupplier) voidsetShippingAddressExternalReferenceCode(String shippingAddressExternalReferenceCode) voidsetShippingAddressId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> shippingAddressIdUnsafeSupplier) voidsetShippingAddressId(Long shippingAddressId) voidvoidvoidsetSkuExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> skuExternalReferenceCodeUnsafeSupplier) voidsetSkuExternalReferenceCode(String skuExternalReferenceCode) voidvoidvoidsetSubscription(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> subscriptionUnsafeSupplier) voidsetSubscription(Boolean subscription) voidsetUnitOfMeasure(com.liferay.petra.function.UnsafeSupplier<String, Exception> unitOfMeasureUnsafeSupplier) voidsetUnitOfMeasure(String unitOfMeasure) voidsetUnitOfMeasureKey(com.liferay.petra.function.UnsafeSupplier<String, Exception> unitOfMeasureKeyUnsafeSupplier) voidsetUnitOfMeasureKey(String unitOfMeasureKey) voidsetUnitPrice(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> unitPriceUnsafeSupplier) voidsetUnitPrice(BigDecimal unitPrice) voidsetUnitPriceWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> unitPriceWithTaxAmountUnsafeSupplier) voidsetUnitPriceWithTaxAmount(BigDecimal unitPriceWithTaxAmount) voidsetVirtualItems(VirtualItem[] virtualItems) voidsetVirtualItems(com.liferay.petra.function.UnsafeSupplier<VirtualItem[], Exception> virtualItemsUnsafeSupplier) voidsetVirtualItemURLs(com.liferay.petra.function.UnsafeSupplier<String[], Exception> virtualItemURLsUnsafeSupplier) voidsetVirtualItemURLs(String[] virtualItemURLs) static OrderItemtoString()static OrderItemunsafeToDTO(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
-