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 Stringprotected Longprotected Attachment[]protected Stringprotected Addressprotected Stringprotected Longprotected CartItem[]protected Longprotected Stringprotected Dateprotected Stringprotected Stringprotected Longprotected Longprotected Stringprotected String[]protected Stringprotected Stringprotected Longprotected Dateprotected Dateprotected Stringprotected CartComment[]protected Statusprotected Stringprotected Stringprotected Longprotected Stringprotected Stringprotected Stringprotected Integerprotected Integerprotected Statusprotected Stringprotected Longprotected Stringprotected Stringprotected Stringprotected Dateprotected Addressprotected Stringprotected Longprotected Stringprotected Stringprotected Stringprotected Step[]protected Summaryprotected Booleanprotected Booleanprotected Status -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid Attachment[]@Valid Address@Valid CartItem[]@DecimalMin("0") LongString[]getId()getName()@Valid CartComment[]getNotes()@Valid Status@Valid Status@Valid Address@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) voidvoidvoidsetBillingAddress(Address billingAddress) voidsetBillingAddress(com.liferay.petra.function.UnsafeSupplier<Address, Exception> billingAddressUnsafeSupplier) voidsetBillingAddressExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> billingAddressExternalReferenceCodeUnsafeSupplier) voidsetBillingAddressExternalReferenceCode(String billingAddressExternalReferenceCode) voidsetBillingAddressId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> billingAddressIdUnsafeSupplier) voidsetBillingAddressId(Long billingAddressId) voidsetCartItems(CartItem[] cartItems) voidsetCartItems(com.liferay.petra.function.UnsafeSupplier<CartItem[], Exception> cartItemsUnsafeSupplier) voidsetChannelId(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) voidsetCurrencyExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> currencyExternalReferenceCodeUnsafeSupplier) voidsetCurrencyExternalReferenceCode(String currencyExternalReferenceCode) voidsetCurrencyId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> currencyIdUnsafeSupplier) voidsetCurrencyId(Long currencyId) voidsetCustomFields(com.liferay.petra.function.UnsafeSupplier<Map<String, ?>, Exception> customFieldsUnsafeSupplier) voidsetCustomFields(Map<String, ?> customFields) voidsetDeliveryTermId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> deliveryTermIdUnsafeSupplier) voidsetDeliveryTermId(Long deliveryTermId) voidsetDeliveryTermLabel(com.liferay.petra.function.UnsafeSupplier<String, Exception> deliveryTermLabelUnsafeSupplier) voidsetDeliveryTermLabel(String deliveryTermLabel) 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) voidvoidvoidsetNotes(CartComment[] notes) voidsetNotes(com.liferay.petra.function.UnsafeSupplier<CartComment[], Exception> notesUnsafeSupplier) voidsetOrderStatusInfo(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) voidsetPaymentMethodType(com.liferay.petra.function.UnsafeSupplier<Integer, Exception> paymentMethodTypeUnsafeSupplier) voidsetPaymentMethodType(Integer paymentMethodType) 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) voidsetPaymentTermId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> paymentTermIdUnsafeSupplier) voidsetPaymentTermId(Long paymentTermId) voidsetPaymentTermLabel(com.liferay.petra.function.UnsafeSupplier<String, Exception> paymentTermLabelUnsafeSupplier) voidsetPaymentTermLabel(String paymentTermLabel) voidsetPrintedNote(com.liferay.petra.function.UnsafeSupplier<String, Exception> printedNoteUnsafeSupplier) voidsetPrintedNote(String printedNote) voidsetPurchaseOrderNumber(com.liferay.petra.function.UnsafeSupplier<String, Exception> purchaseOrderNumberUnsafeSupplier) voidsetPurchaseOrderNumber(String purchaseOrderNumber) voidsetRequestedDeliveryDate(com.liferay.petra.function.UnsafeSupplier<Date, Exception> requestedDeliveryDateUnsafeSupplier) voidsetRequestedDeliveryDate(Date requestedDeliveryDate) voidsetShippingAddress(Address shippingAddress) voidsetShippingAddress(com.liferay.petra.function.UnsafeSupplier<Address, 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) 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 CarttoString()static CartunsafeToDTO(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
-