Class Cart
java.lang.Object
com.liferay.headless.commerce.delivery.cart.dto.v1_0.Cart
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected Long
protected Attachment[]
protected String
protected Address
protected String
protected Long
protected CartItem[]
protected Long
protected String
protected Date
protected String
protected String
protected Long
protected Long
protected String
protected String[]
protected String
protected String
protected Long
protected Date
protected Date
protected String
protected CartComment[]
protected Status
protected String
protected String
protected Long
protected String
protected String
protected String
protected Integer
protected Integer
protected Status
protected String
protected Long
protected String
protected String
protected String
protected Date
protected Address
protected String
protected Long
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[]
@Valid Address
@Valid CartItem[]
@DecimalMin("0") Long
String[]
getId()
getName()
@Valid CartComment[]
getNotes()
@Valid Status
@Valid Status
@Valid Address
@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
setBillingAddress
(Address billingAddress) void
setBillingAddress
(com.liferay.petra.function.UnsafeSupplier<Address, Exception> billingAddressUnsafeSupplier) void
setBillingAddressExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> billingAddressExternalReferenceCodeUnsafeSupplier) void
setBillingAddressExternalReferenceCode
(String billingAddressExternalReferenceCode) void
setBillingAddressId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> billingAddressIdUnsafeSupplier) void
setBillingAddressId
(Long billingAddressId) void
setCartItems
(CartItem[] cartItems) void
setCartItems
(com.liferay.petra.function.UnsafeSupplier<CartItem[], Exception> cartItemsUnsafeSupplier) 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
setCurrencyExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> currencyExternalReferenceCodeUnsafeSupplier) void
setCurrencyExternalReferenceCode
(String currencyExternalReferenceCode) void
setCurrencyId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> currencyIdUnsafeSupplier) void
setCurrencyId
(Long currencyId) void
setCustomFields
(com.liferay.petra.function.UnsafeSupplier<Map<String, ?>, Exception> customFieldsUnsafeSupplier) void
setCustomFields
(Map<String, ?> customFields) void
setDeliveryTermId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> deliveryTermIdUnsafeSupplier) void
setDeliveryTermId
(Long deliveryTermId) void
setDeliveryTermLabel
(com.liferay.petra.function.UnsafeSupplier<String, Exception> deliveryTermLabelUnsafeSupplier) void
setDeliveryTermLabel
(String deliveryTermLabel) 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
setNotes
(CartComment[] notes) void
setNotes
(com.liferay.petra.function.UnsafeSupplier<CartComment[], Exception> notesUnsafeSupplier) 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
setPaymentMethodType
(com.liferay.petra.function.UnsafeSupplier<Integer, Exception> paymentMethodTypeUnsafeSupplier) void
setPaymentMethodType
(Integer paymentMethodType) 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
setPaymentTermId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> paymentTermIdUnsafeSupplier) void
setPaymentTermId
(Long paymentTermId) void
setPaymentTermLabel
(com.liferay.petra.function.UnsafeSupplier<String, Exception> paymentTermLabelUnsafeSupplier) void
setPaymentTermLabel
(String paymentTermLabel) 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
setRequestedDeliveryDate
(com.liferay.petra.function.UnsafeSupplier<Date, Exception> requestedDeliveryDateUnsafeSupplier) void
setRequestedDeliveryDate
(Date requestedDeliveryDate) void
setShippingAddress
(Address shippingAddress) void
setShippingAddress
(com.liferay.petra.function.UnsafeSupplier<Address, 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
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 Cart
toString()
static Cart
unsafeToDTO
(String json)
-
Field Details
-
account
-
accountId
-
attachments
-
author
-
billingAddress
-
billingAddressExternalReferenceCode
-
billingAddressId
-
cartItems
-
channelId
-
couponCode
-
createDate
-
currencyCode
-
currencyExternalReferenceCode
-
currencyId
-
customFields
-
deliveryTermId
-
deliveryTermLabel
-
errorMessages
-
externalReferenceCode
-
friendlyURLSeparator
-
id
-
lastPriceUpdateDate
-
modifiedDate
-
name
-
notes
-
orderStatusInfo
-
orderType
-
orderTypeExternalReferenceCode
-
orderTypeId
-
orderUUID
-
paymentMethod
-
paymentMethodLabel
-
paymentMethodType
-
paymentStatus
-
paymentStatusInfo
-
paymentStatusLabel
-
paymentTermId
-
paymentTermLabel
-
printedNote
-
purchaseOrderNumber
-
requestedDeliveryDate
-
shippingAddress
-
shippingAddressExternalReferenceCode
-
shippingAddressId
-
shippingMethod
-
shippingOption
-
status
-
steps
-
summary
-
useAsBilling
-
valid
-
workflowStatusInfo
-
xClassName
-
-
Constructor Details
-
Cart
public Cart()
-
-
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
-
getBillingAddress
-
setBillingAddress
-
setBillingAddress
-
getBillingAddressExternalReferenceCode
-
setBillingAddressExternalReferenceCode
-
setBillingAddressExternalReferenceCode
-
getBillingAddressId
-
setBillingAddressId
-
setBillingAddressId
-
getCartItems
-
setCartItems
-
setCartItems
-
getChannelId
-
setChannelId
-
setChannelId
-
getCouponCode
-
setCouponCode
-
setCouponCode
-
getCreateDate
-
setCreateDate
-
setCreateDate
-
getCurrencyCode
-
setCurrencyCode
-
setCurrencyCode
-
getCurrencyExternalReferenceCode
-
setCurrencyExternalReferenceCode
-
setCurrencyExternalReferenceCode
-
getCurrencyId
-
setCurrencyId
-
setCurrencyId
-
getCustomFields
-
setCustomFields
-
setCustomFields
-
getDeliveryTermId
-
setDeliveryTermId
-
setDeliveryTermId
-
getDeliveryTermLabel
-
setDeliveryTermLabel
-
setDeliveryTermLabel
-
getErrorMessages
-
setErrorMessages
-
setErrorMessages
-
getExternalReferenceCode
-
setExternalReferenceCode
-
setExternalReferenceCode
-
getFriendlyURLSeparator
-
setFriendlyURLSeparator
-
setFriendlyURLSeparator
-
getId
-
setId
-
setId
-
getLastPriceUpdateDate
-
setLastPriceUpdateDate
-
setLastPriceUpdateDate
-
getModifiedDate
-
setModifiedDate
-
setModifiedDate
-
getName
-
setName
-
setName
-
getNotes
-
setNotes
-
setNotes
public void setNotes(com.liferay.petra.function.UnsafeSupplier<CartComment[], Exception> notesUnsafeSupplier) -
getOrderStatusInfo
-
setOrderStatusInfo
-
setOrderStatusInfo
-
getOrderType
-
setOrderType
-
setOrderType
-
getOrderTypeExternalReferenceCode
-
setOrderTypeExternalReferenceCode
-
setOrderTypeExternalReferenceCode
-
getOrderTypeId
-
setOrderTypeId
-
setOrderTypeId
-
getOrderUUID
-
setOrderUUID
-
setOrderUUID
-
getPaymentMethod
-
setPaymentMethod
-
setPaymentMethod
-
getPaymentMethodLabel
-
setPaymentMethodLabel
-
setPaymentMethodLabel
-
getPaymentMethodType
-
setPaymentMethodType
-
setPaymentMethodType
-
getPaymentStatus
-
setPaymentStatus
-
setPaymentStatus
-
getPaymentStatusInfo
-
setPaymentStatusInfo
-
setPaymentStatusInfo
-
getPaymentStatusLabel
-
setPaymentStatusLabel
-
setPaymentStatusLabel
-
getPaymentTermId
-
setPaymentTermId
-
setPaymentTermId
-
getPaymentTermLabel
-
setPaymentTermLabel
-
setPaymentTermLabel
-
getPrintedNote
-
setPrintedNote
-
setPrintedNote
-
getPurchaseOrderNumber
-
setPurchaseOrderNumber
-
setPurchaseOrderNumber
-
getRequestedDeliveryDate
-
setRequestedDeliveryDate
-
setRequestedDeliveryDate
-
getShippingAddress
-
setShippingAddress
-
setShippingAddress
-
getShippingAddressExternalReferenceCode
-
setShippingAddressExternalReferenceCode
-
setShippingAddressExternalReferenceCode
-
getShippingAddressId
-
setShippingAddressId
-
setShippingAddressId
-
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
-