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 String
protected Long
protected Attachment[]
protected String
protected Long
protected String
protected Date
protected String
protected String[]
protected String
protected String
protected Long
protected Date
protected Date
protected String
protected Status
protected String
protected String
protected Long
protected String
protected String
protected String
protected Integer
protected Status
protected String
protected PlacedOrderAddress
protected Long
protected PlacedOrderComment[]
protected PlacedOrderItem[]
protected PlacedOrderAddress
protected Long
protected String
protected String
protected Shipment
protected String
protected String
protected String
protected Step[]
protected Summary
protected Boolean
protected Boolean
protected 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 Summary
getValid()
@Valid Status
int
hashCode()
void
setAccount
(com.liferay.petra.function.UnsafeSupplier<String, Exception> accountUnsafeSupplier) void
setAccount
(String account) void
setAccountId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> accountIdUnsafeSupplier) void
setAccountId
(Long accountId) void
setAttachments
(Attachment[] attachments) void
setAttachments
(com.liferay.petra.function.UnsafeSupplier<Attachment[], Exception> attachmentsUnsafeSupplier) void
void
void
setChannelId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> channelIdUnsafeSupplier) void
setChannelId
(Long channelId) void
setCouponCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> couponCodeUnsafeSupplier) void
setCouponCode
(String couponCode) void
setCreateDate
(com.liferay.petra.function.UnsafeSupplier<Date, Exception> createDateUnsafeSupplier) void
setCreateDate
(Date createDate) void
setCurrencyCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> currencyCodeUnsafeSupplier) void
setCurrencyCode
(String currencyCode) void
setCustomFields
(com.liferay.petra.function.UnsafeSupplier<Map<String, ?>, Exception> customFieldsUnsafeSupplier) void
setCustomFields
(Map<String, ?> customFields) void
setErrorMessages
(com.liferay.petra.function.UnsafeSupplier<String[], Exception> errorMessagesUnsafeSupplier) void
setErrorMessages
(String[] errorMessages) void
setExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> externalReferenceCodeUnsafeSupplier) void
setExternalReferenceCode
(String externalReferenceCode) void
setFriendlyURLSeparator
(com.liferay.petra.function.UnsafeSupplier<String, Exception> friendlyURLSeparatorUnsafeSupplier) void
setFriendlyURLSeparator
(String friendlyURLSeparator) void
void
void
setLastPriceUpdateDate
(com.liferay.petra.function.UnsafeSupplier<Date, Exception> lastPriceUpdateDateUnsafeSupplier) void
setLastPriceUpdateDate
(Date lastPriceUpdateDate) void
setModifiedDate
(com.liferay.petra.function.UnsafeSupplier<Date, Exception> modifiedDateUnsafeSupplier) void
setModifiedDate
(Date modifiedDate) void
void
void
setOrderStatusInfo
(Status orderStatusInfo) void
setOrderStatusInfo
(com.liferay.petra.function.UnsafeSupplier<Status, Exception> orderStatusInfoUnsafeSupplier) void
setOrderType
(com.liferay.petra.function.UnsafeSupplier<String, Exception> orderTypeUnsafeSupplier) void
setOrderType
(String orderType) void
setOrderTypeExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> orderTypeExternalReferenceCodeUnsafeSupplier) void
setOrderTypeExternalReferenceCode
(String orderTypeExternalReferenceCode) void
setOrderTypeId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> orderTypeIdUnsafeSupplier) void
setOrderTypeId
(Long orderTypeId) void
setOrderUUID
(com.liferay.petra.function.UnsafeSupplier<String, Exception> orderUUIDUnsafeSupplier) void
setOrderUUID
(String orderUUID) void
setPaymentMethod
(com.liferay.petra.function.UnsafeSupplier<String, Exception> paymentMethodUnsafeSupplier) void
setPaymentMethod
(String paymentMethod) void
setPaymentMethodLabel
(com.liferay.petra.function.UnsafeSupplier<String, Exception> paymentMethodLabelUnsafeSupplier) void
setPaymentMethodLabel
(String paymentMethodLabel) void
setPaymentStatus
(com.liferay.petra.function.UnsafeSupplier<Integer, Exception> paymentStatusUnsafeSupplier) void
setPaymentStatus
(Integer paymentStatus) void
setPaymentStatusInfo
(Status paymentStatusInfo) void
setPaymentStatusInfo
(com.liferay.petra.function.UnsafeSupplier<Status, Exception> paymentStatusInfoUnsafeSupplier) void
setPaymentStatusLabel
(com.liferay.petra.function.UnsafeSupplier<String, Exception> paymentStatusLabelUnsafeSupplier) void
setPaymentStatusLabel
(String paymentStatusLabel) void
setPlacedOrderBillingAddress
(PlacedOrderAddress placedOrderBillingAddress) void
setPlacedOrderBillingAddress
(com.liferay.petra.function.UnsafeSupplier<PlacedOrderAddress, Exception> placedOrderBillingAddressUnsafeSupplier) void
setPlacedOrderBillingAddressId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> placedOrderBillingAddressIdUnsafeSupplier) void
setPlacedOrderBillingAddressId
(Long placedOrderBillingAddressId) void
setPlacedOrderComments
(PlacedOrderComment[] placedOrderComments) void
setPlacedOrderComments
(com.liferay.petra.function.UnsafeSupplier<PlacedOrderComment[], Exception> placedOrderCommentsUnsafeSupplier) void
setPlacedOrderItems
(PlacedOrderItem[] placedOrderItems) void
setPlacedOrderItems
(com.liferay.petra.function.UnsafeSupplier<PlacedOrderItem[], Exception> placedOrderItemsUnsafeSupplier) void
setPlacedOrderShippingAddress
(PlacedOrderAddress placedOrderShippingAddress) void
setPlacedOrderShippingAddress
(com.liferay.petra.function.UnsafeSupplier<PlacedOrderAddress, Exception> placedOrderShippingAddressUnsafeSupplier) void
setPlacedOrderShippingAddressId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> placedOrderShippingAddressIdUnsafeSupplier) void
setPlacedOrderShippingAddressId
(Long placedOrderShippingAddressId) void
setPrintedNote
(com.liferay.petra.function.UnsafeSupplier<String, Exception> printedNoteUnsafeSupplier) void
setPrintedNote
(String printedNote) void
setPurchaseOrderNumber
(com.liferay.petra.function.UnsafeSupplier<String, Exception> purchaseOrderNumberUnsafeSupplier) void
setPurchaseOrderNumber
(String purchaseOrderNumber) void
setShipments
(Shipment shipments) void
setShipments
(com.liferay.petra.function.UnsafeSupplier<Shipment, Exception> shipmentsUnsafeSupplier) void
setShippingMethod
(com.liferay.petra.function.UnsafeSupplier<String, Exception> shippingMethodUnsafeSupplier) void
setShippingMethod
(String shippingMethod) void
setShippingOption
(com.liferay.petra.function.UnsafeSupplier<String, Exception> shippingOptionUnsafeSupplier) void
setShippingOption
(String shippingOption) void
void
void
void
void
setSummary
(Summary summary) void
setSummary
(com.liferay.petra.function.UnsafeSupplier<Summary, Exception> summaryUnsafeSupplier) void
setUseAsBilling
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> useAsBillingUnsafeSupplier) void
setUseAsBilling
(Boolean useAsBilling) void
void
void
setWorkflowStatusInfo
(Status workflowStatusInfo) void
setWorkflowStatusInfo
(com.liferay.petra.function.UnsafeSupplier<Status, Exception> workflowStatusInfoUnsafeSupplier) static PlacedOrder
toString()
static PlacedOrder
unsafeToDTO
(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
-