Class PlacedOrder
java.lang.Object
com.liferay.headless.commerce.delivery.order.dto.v1_0.PlacedOrder
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Longprotected Attachment[]protected Stringprotected Longprotected Stringprotected Dateprotected Stringprotected String[]protected Stringprotected Stringprotected Longprotected Dateprotected Dateprotected Stringprotected Statusprotected Stringprotected Stringprotected Longprotected Stringprotected Stringprotected Stringprotected Integerprotected Statusprotected Stringprotected PlacedOrderAddressprotected Longprotected PlacedOrderComment[]protected PlacedOrderItem[]protected PlacedOrderAddressprotected Longprotected Stringprotected Stringprotected Shipmentprotected Stringprotected Stringprotected Stringprotected Step[]protected Summaryprotected Booleanprotected Booleanprotected Status -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid Attachment[]String[]getId()getName()@Valid Status@Valid Status@Valid PlacedOrderAddress@Valid PlacedOrderComment[]@Valid PlacedOrderItem[]@Valid PlacedOrderAddress@Valid Shipment@Valid Step[]getSteps()@Valid SummarygetValid()@Valid StatusinthashCode()voidsetAccount(com.liferay.petra.function.UnsafeSupplier<String, Exception> accountUnsafeSupplier) voidsetAccount(String account) voidsetAccountId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> accountIdUnsafeSupplier) voidsetAccountId(Long accountId) voidsetAttachments(Attachment[] attachments) voidsetAttachments(com.liferay.petra.function.UnsafeSupplier<Attachment[], Exception> attachmentsUnsafeSupplier) voidvoidvoidsetChannelId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> channelIdUnsafeSupplier) voidsetChannelId(Long channelId) voidsetCouponCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> couponCodeUnsafeSupplier) voidsetCouponCode(String couponCode) voidsetCreateDate(com.liferay.petra.function.UnsafeSupplier<Date, Exception> createDateUnsafeSupplier) voidsetCreateDate(Date createDate) voidsetCurrencyCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> currencyCodeUnsafeSupplier) voidsetCurrencyCode(String currencyCode) voidsetCustomFields(com.liferay.petra.function.UnsafeSupplier<Map<String, ?>, Exception> customFieldsUnsafeSupplier) voidsetCustomFields(Map<String, ?> customFields) voidsetErrorMessages(com.liferay.petra.function.UnsafeSupplier<String[], Exception> errorMessagesUnsafeSupplier) voidsetErrorMessages(String[] errorMessages) voidsetExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> externalReferenceCodeUnsafeSupplier) voidsetExternalReferenceCode(String externalReferenceCode) voidsetFriendlyURLSeparator(com.liferay.petra.function.UnsafeSupplier<String, Exception> friendlyURLSeparatorUnsafeSupplier) voidsetFriendlyURLSeparator(String friendlyURLSeparator) voidvoidvoidsetLastPriceUpdateDate(com.liferay.petra.function.UnsafeSupplier<Date, Exception> lastPriceUpdateDateUnsafeSupplier) voidsetLastPriceUpdateDate(Date lastPriceUpdateDate) voidsetModifiedDate(com.liferay.petra.function.UnsafeSupplier<Date, Exception> modifiedDateUnsafeSupplier) voidsetModifiedDate(Date modifiedDate) voidvoidvoidsetOrderStatusInfo(Status orderStatusInfo) voidsetOrderStatusInfo(com.liferay.petra.function.UnsafeSupplier<Status, Exception> orderStatusInfoUnsafeSupplier) voidsetOrderType(com.liferay.petra.function.UnsafeSupplier<String, Exception> orderTypeUnsafeSupplier) voidsetOrderType(String orderType) voidsetOrderTypeExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> orderTypeExternalReferenceCodeUnsafeSupplier) voidsetOrderTypeExternalReferenceCode(String orderTypeExternalReferenceCode) voidsetOrderTypeId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> orderTypeIdUnsafeSupplier) voidsetOrderTypeId(Long orderTypeId) voidsetOrderUUID(com.liferay.petra.function.UnsafeSupplier<String, Exception> orderUUIDUnsafeSupplier) voidsetOrderUUID(String orderUUID) voidsetPaymentMethod(com.liferay.petra.function.UnsafeSupplier<String, Exception> paymentMethodUnsafeSupplier) voidsetPaymentMethod(String paymentMethod) voidsetPaymentMethodLabel(com.liferay.petra.function.UnsafeSupplier<String, Exception> paymentMethodLabelUnsafeSupplier) voidsetPaymentMethodLabel(String paymentMethodLabel) voidsetPaymentStatus(com.liferay.petra.function.UnsafeSupplier<Integer, Exception> paymentStatusUnsafeSupplier) voidsetPaymentStatus(Integer paymentStatus) voidsetPaymentStatusInfo(Status paymentStatusInfo) voidsetPaymentStatusInfo(com.liferay.petra.function.UnsafeSupplier<Status, Exception> paymentStatusInfoUnsafeSupplier) voidsetPaymentStatusLabel(com.liferay.petra.function.UnsafeSupplier<String, Exception> paymentStatusLabelUnsafeSupplier) voidsetPaymentStatusLabel(String paymentStatusLabel) voidsetPlacedOrderBillingAddress(PlacedOrderAddress placedOrderBillingAddress) voidsetPlacedOrderBillingAddress(com.liferay.petra.function.UnsafeSupplier<PlacedOrderAddress, Exception> placedOrderBillingAddressUnsafeSupplier) voidsetPlacedOrderBillingAddressId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> placedOrderBillingAddressIdUnsafeSupplier) voidsetPlacedOrderBillingAddressId(Long placedOrderBillingAddressId) voidsetPlacedOrderComments(PlacedOrderComment[] placedOrderComments) voidsetPlacedOrderComments(com.liferay.petra.function.UnsafeSupplier<PlacedOrderComment[], Exception> placedOrderCommentsUnsafeSupplier) voidsetPlacedOrderItems(PlacedOrderItem[] placedOrderItems) voidsetPlacedOrderItems(com.liferay.petra.function.UnsafeSupplier<PlacedOrderItem[], Exception> placedOrderItemsUnsafeSupplier) voidsetPlacedOrderShippingAddress(PlacedOrderAddress placedOrderShippingAddress) voidsetPlacedOrderShippingAddress(com.liferay.petra.function.UnsafeSupplier<PlacedOrderAddress, Exception> placedOrderShippingAddressUnsafeSupplier) voidsetPlacedOrderShippingAddressId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> placedOrderShippingAddressIdUnsafeSupplier) voidsetPlacedOrderShippingAddressId(Long placedOrderShippingAddressId) voidsetPrintedNote(com.liferay.petra.function.UnsafeSupplier<String, Exception> printedNoteUnsafeSupplier) voidsetPrintedNote(String printedNote) voidsetPurchaseOrderNumber(com.liferay.petra.function.UnsafeSupplier<String, Exception> purchaseOrderNumberUnsafeSupplier) voidsetPurchaseOrderNumber(String purchaseOrderNumber) voidsetShipments(Shipment shipments) voidsetShipments(com.liferay.petra.function.UnsafeSupplier<Shipment, Exception> shipmentsUnsafeSupplier) voidsetShippingMethod(com.liferay.petra.function.UnsafeSupplier<String, Exception> shippingMethodUnsafeSupplier) voidsetShippingMethod(String shippingMethod) voidsetShippingOption(com.liferay.petra.function.UnsafeSupplier<String, Exception> shippingOptionUnsafeSupplier) voidsetShippingOption(String shippingOption) voidvoidvoidvoidvoidsetSummary(Summary summary) voidsetSummary(com.liferay.petra.function.UnsafeSupplier<Summary, Exception> summaryUnsafeSupplier) voidsetUseAsBilling(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> useAsBillingUnsafeSupplier) voidsetUseAsBilling(Boolean useAsBilling) voidvoidvoidsetWorkflowStatusInfo(Status workflowStatusInfo) voidsetWorkflowStatusInfo(com.liferay.petra.function.UnsafeSupplier<Status, Exception> workflowStatusInfoUnsafeSupplier) static PlacedOrdertoString()static PlacedOrderunsafeToDTO(String json)
-
Field Details
-
account
-
accountId
-
attachments
-
author
-
channelId
-
couponCode
-
createDate
-
currencyCode
-
customFields
-
errorMessages
-
externalReferenceCode
-
friendlyURLSeparator
-
id
-
lastPriceUpdateDate
-
modifiedDate
-
name
-
orderStatusInfo
-
orderType
-
orderTypeExternalReferenceCode
-
orderTypeId
-
orderUUID
-
paymentMethod
-
paymentMethodLabel
-
paymentStatus
-
paymentStatusInfo
-
paymentStatusLabel
-
placedOrderBillingAddress
-
placedOrderBillingAddressId
-
placedOrderComments
-
placedOrderItems
-
placedOrderShippingAddress
-
placedOrderShippingAddressId
-
printedNote
-
purchaseOrderNumber
-
shipments
-
shippingMethod
-
shippingOption
-
status
-
steps
-
summary
-
useAsBilling
-
valid
-
workflowStatusInfo
-
xClassName
-
-
Constructor Details
-
PlacedOrder
public PlacedOrder()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getAccount
-
setAccount
-
setAccount
-
getAccountId
-
setAccountId
-
setAccountId
-
getAttachments
-
setAttachments
-
setAttachments
public void setAttachments(com.liferay.petra.function.UnsafeSupplier<Attachment[], Exception> attachmentsUnsafeSupplier) -
getAuthor
-
setAuthor
-
setAuthor
-
getChannelId
-
setChannelId
-
setChannelId
-
getCouponCode
-
setCouponCode
-
setCouponCode
-
getCreateDate
-
setCreateDate
-
setCreateDate
-
getCurrencyCode
-
setCurrencyCode
-
setCurrencyCode
-
getCustomFields
-
setCustomFields
-
setCustomFields
-
getErrorMessages
-
setErrorMessages
-
setErrorMessages
-
getExternalReferenceCode
-
setExternalReferenceCode
-
setExternalReferenceCode
-
getFriendlyURLSeparator
-
setFriendlyURLSeparator
-
setFriendlyURLSeparator
-
getId
-
setId
-
setId
-
getLastPriceUpdateDate
-
setLastPriceUpdateDate
-
setLastPriceUpdateDate
-
getModifiedDate
-
setModifiedDate
-
setModifiedDate
-
getName
-
setName
-
setName
-
getOrderStatusInfo
-
setOrderStatusInfo
-
setOrderStatusInfo
-
getOrderType
-
setOrderType
-
setOrderType
-
getOrderTypeExternalReferenceCode
-
setOrderTypeExternalReferenceCode
-
setOrderTypeExternalReferenceCode
-
getOrderTypeId
-
setOrderTypeId
-
setOrderTypeId
-
getOrderUUID
-
setOrderUUID
-
setOrderUUID
-
getPaymentMethod
-
setPaymentMethod
-
setPaymentMethod
-
getPaymentMethodLabel
-
setPaymentMethodLabel
-
setPaymentMethodLabel
-
getPaymentStatus
-
setPaymentStatus
-
setPaymentStatus
-
getPaymentStatusInfo
-
setPaymentStatusInfo
-
setPaymentStatusInfo
-
getPaymentStatusLabel
-
setPaymentStatusLabel
-
setPaymentStatusLabel
-
getPlacedOrderBillingAddress
-
setPlacedOrderBillingAddress
-
setPlacedOrderBillingAddress
public void setPlacedOrderBillingAddress(com.liferay.petra.function.UnsafeSupplier<PlacedOrderAddress, Exception> placedOrderBillingAddressUnsafeSupplier) -
getPlacedOrderBillingAddressId
-
setPlacedOrderBillingAddressId
-
setPlacedOrderBillingAddressId
-
getPlacedOrderComments
-
setPlacedOrderComments
-
setPlacedOrderComments
public void setPlacedOrderComments(com.liferay.petra.function.UnsafeSupplier<PlacedOrderComment[], Exception> placedOrderCommentsUnsafeSupplier) -
getPlacedOrderItems
-
setPlacedOrderItems
-
setPlacedOrderItems
public void setPlacedOrderItems(com.liferay.petra.function.UnsafeSupplier<PlacedOrderItem[], Exception> placedOrderItemsUnsafeSupplier) -
getPlacedOrderShippingAddress
-
setPlacedOrderShippingAddress
-
setPlacedOrderShippingAddress
public void setPlacedOrderShippingAddress(com.liferay.petra.function.UnsafeSupplier<PlacedOrderAddress, Exception> placedOrderShippingAddressUnsafeSupplier) -
getPlacedOrderShippingAddressId
-
setPlacedOrderShippingAddressId
-
setPlacedOrderShippingAddressId
-
getPrintedNote
-
setPrintedNote
-
setPrintedNote
-
getPurchaseOrderNumber
-
setPurchaseOrderNumber
-
setPurchaseOrderNumber
-
getShipments
-
setShipments
-
setShipments
-
getShippingMethod
-
setShippingMethod
-
setShippingMethod
-
getShippingOption
-
setShippingOption
-
setShippingOption
-
getStatus
-
setStatus
-
setStatus
-
getSteps
-
setSteps
-
setSteps
-
getSummary
-
setSummary
-
setSummary
-
getUseAsBilling
-
setUseAsBilling
-
setUseAsBilling
-
getValid
-
setValid
-
setValid
-
getWorkflowStatusInfo
-
setWorkflowStatusInfo
-
setWorkflowStatusInfo
-
equals
-
hashCode
public int hashCode() -
toString
-