Class OrderLineItem
java.lang.Object
de.codebarista.shopware.model.core.OrderLineItem
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-10T11:26:02.541008353+02:00[Europe/Berlin]",
comments="Generator version: 7.5.0")
public class OrderLineItem
extends Object
Added since version: 6.0.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddChildrenItem(OrderLineItem childrenItem) addDownloadsItem(OrderLineItemDownload downloadsItem) addOrderDeliveryPositionsItem(OrderDeliveryPosition orderDeliveryPositionsItem) addStatesItem(String statesItem) children(List<OrderLineItem> children) customFields(Object customFields) description(String description) downloads(List<OrderLineItemDownload> downloads) booleanGet childrengetCover()Get coverGet coverIdGet createdAtGet customFieldsGet descriptionGet downloadsgetGood()Get goodgetId()Get idGet identifiergetLabel()Get labelGet orderDeliveryPositionsGet orderIdGet orderVersionIdGet parentGet parentIdGet parentVersionIdcom.fasterxml.jackson.databind.JsonNodeGet payloadGet positiongetPrice()com.fasterxml.jackson.databind.JsonNodeGet priceDefinitionGet productIdGet productVersionIdGet quantityGet referencedIdGet removableGet stackableGet statesGet totalPricegetType()Get typeGet unitPriceGet updatedAtGet versionIdinthashCode()identifier(String identifier) orderDeliveryPositions(List<OrderDeliveryPosition> orderDeliveryPositions) orderVersionId(String orderVersionId) parent(OrderLineItem parent) parentVersionId(String parentVersionId) payload(com.fasterxml.jackson.databind.JsonNode payload) priceDefinition(com.fasterxml.jackson.databind.JsonNode priceDefinition) productVersionId(String productVersionId) referencedId(String referencedId) voidsetChildren(List<OrderLineItem> children) voidvoidsetCoverId(String coverId) voidsetCustomFields(Object customFields) voidsetDescription(String description) voidsetDownloads(List<OrderLineItemDownload> downloads) voidvoidvoidsetIdentifier(String identifier) voidvoidsetOrderDeliveryPositions(List<OrderDeliveryPosition> orderDeliveryPositions) voidsetOrderId(String orderId) voidsetOrderVersionId(String orderVersionId) voidsetParent(OrderLineItem parent) voidsetParentId(String parentId) voidsetParentVersionId(String parentVersionId) voidsetPayload(com.fasterxml.jackson.databind.JsonNode payload) voidsetPosition(Long position) voidsetPrice(CalculatedPrice price) voidsetPriceDefinition(com.fasterxml.jackson.databind.JsonNode priceDefinition) voidsetProductId(String productId) voidsetProductVersionId(String productVersionId) voidsetQuantity(Long quantity) voidsetReferencedId(String referencedId) voidsetRemovable(Boolean removable) voidsetStackable(Boolean stackable) voidvoidsetTotalPrice(Float totalPrice) voidvoidsetUnitPrice(Float unitPrice) voidsetVersionId(String versionId) toString()totalPrice(Float totalPrice)
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_VERSION_ID
- See Also:
-
JSON_PROPERTY_ORDER_ID
- See Also:
-
JSON_PROPERTY_ORDER_VERSION_ID
- See Also:
-
JSON_PROPERTY_PRODUCT_ID
- See Also:
-
JSON_PROPERTY_PRODUCT_VERSION_ID
- See Also:
-
JSON_PROPERTY_PARENT_ID
- See Also:
-
JSON_PROPERTY_PARENT_VERSION_ID
- See Also:
-
JSON_PROPERTY_COVER_ID
- See Also:
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_REFERENCED_ID
- See Also:
-
JSON_PROPERTY_QUANTITY
- See Also:
-
JSON_PROPERTY_LABEL
- See Also:
-
JSON_PROPERTY_PAYLOAD
- See Also:
-
JSON_PROPERTY_GOOD
- See Also:
-
JSON_PROPERTY_REMOVABLE
- See Also:
-
JSON_PROPERTY_STACKABLE
- See Also:
-
JSON_PROPERTY_POSITION
- See Also:
-
JSON_PROPERTY_STATES
- See Also:
-
JSON_PROPERTY_PRICE_DEFINITION
- See Also:
-
JSON_PROPERTY_UNIT_PRICE
- See Also:
-
JSON_PROPERTY_TOTAL_PRICE
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_CUSTOM_FIELDS
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_COVER
- See Also:
-
JSON_PROPERTY_ORDER_DELIVERY_POSITIONS
- See Also:
-
JSON_PROPERTY_DOWNLOADS
- See Also:
-
JSON_PROPERTY_PARENT
- See Also:
-
JSON_PROPERTY_CHILDREN
- See Also:
-
JSON_PROPERTY_PRICE
- See Also:
-
-
Constructor Details
-
OrderLineItem
public OrderLineItem() -
OrderLineItem
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
getPrice
-
setPrice
-
versionId
-
getVersionId
Get versionId- Returns:
- versionId
-
setVersionId
-
orderId
-
getOrderId
Get orderId- Returns:
- orderId
-
setOrderId
-
orderVersionId
-
getOrderVersionId
Get orderVersionId- Returns:
- orderVersionId
-
setOrderVersionId
-
productId
-
getProductId
Get productId- Returns:
- productId
-
setProductId
-
productVersionId
-
getProductVersionId
Get productVersionId- Returns:
- productVersionId
-
setProductVersionId
-
parentId
-
getParentId
Get parentId- Returns:
- parentId
-
setParentId
-
parentVersionId
-
getParentVersionId
Get parentVersionId- Returns:
- parentVersionId
-
setParentVersionId
-
coverId
-
getCoverId
Get coverId- Returns:
- coverId
-
setCoverId
-
identifier
-
getIdentifier
Get identifier- Returns:
- identifier
-
setIdentifier
-
referencedId
-
getReferencedId
Get referencedId- Returns:
- referencedId
-
setReferencedId
-
quantity
-
getQuantity
Get quantity- Returns:
- quantity
-
setQuantity
-
label
-
getLabel
Get label- Returns:
- label
-
setLabel
-
payload
-
getPayload
@Nullable public com.fasterxml.jackson.databind.JsonNode getPayload()Get payload- Returns:
- payload
-
setPayload
public void setPayload(com.fasterxml.jackson.databind.JsonNode payload) -
good
-
getGood
Get good- Returns:
- good
-
setGood
-
removable
-
getRemovable
Get removable- Returns:
- removable
-
setRemovable
-
stackable
-
getStackable
Get stackable- Returns:
- stackable
-
setStackable
-
position
-
getPosition
Get position- Returns:
- position
-
setPosition
-
states
-
addStatesItem
-
getStates
Get states- Returns:
- states
-
setStates
-
priceDefinition
-
getPriceDefinition
@Nullable public com.fasterxml.jackson.databind.JsonNode getPriceDefinition()Get priceDefinition- Returns:
- priceDefinition
-
setPriceDefinition
public void setPriceDefinition(com.fasterxml.jackson.databind.JsonNode priceDefinition) -
unitPrice
-
getUnitPrice
Get unitPrice- Returns:
- unitPrice
-
setUnitPrice
-
totalPrice
-
getTotalPrice
Get totalPrice- Returns:
- totalPrice
-
setTotalPrice
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
type
-
getType
Get type- Returns:
- type
-
setType
-
customFields
-
getCustomFields
Get customFields- Returns:
- customFields
-
setCustomFields
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
cover
-
getCover
Get cover- Returns:
- cover
-
setCover
-
orderDeliveryPositions
-
addOrderDeliveryPositionsItem
public OrderLineItem addOrderDeliveryPositionsItem(OrderDeliveryPosition orderDeliveryPositionsItem) -
getOrderDeliveryPositions
Get orderDeliveryPositions- Returns:
- orderDeliveryPositions
-
setOrderDeliveryPositions
-
downloads
-
addDownloadsItem
-
getDownloads
Get downloads- Returns:
- downloads
-
setDownloads
-
parent
-
getParent
Get parent- Returns:
- parent
-
setParent
-
children
-
addChildrenItem
-
getChildren
Get children- Returns:
- children
-
setChildren
-
equals
-
hashCode
public int hashCode() -
toString
-