Class LineItemResponse
java.lang.Object
io.deeplumen.ucp.models.schemas.shopping.LineItemResponse
Line Item Response
Line item object. Expected to use the currency of the parent object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()(Required)getItem()Item ResponseParent line item identifier for any nested structures.Quantity of the item being purchased.Line item totals breakdown.inthashCode()voidsetAdditionalProperty(String name, Object value) void(Required)voidsetItem(ItemResponse item) Item ResponsevoidsetParentId(String parentId) Parent line item identifier for any nested structures.voidsetQuantity(Integer quantity) Quantity of the item being purchased.voidsetTotals(List<TotalResponse> totals) Line item totals breakdown.toString()withAdditionalProperty(String name, Object value) withItem(ItemResponse item) withParentId(String parentId) withQuantity(Integer quantity) withTotals(List<TotalResponse> totals)
-
Constructor Details
-
LineItemResponse
public LineItemResponse()
-
-
Method Details
-
getId
(Required) -
setId
(Required) -
withId
-
getItem
Item Response(Required)
-
setItem
Item Response(Required)
-
withItem
-
getQuantity
Quantity of the item being purchased. (Required) -
setQuantity
Quantity of the item being purchased. (Required) -
withQuantity
-
getTotals
Line item totals breakdown. (Required) -
setTotals
Line item totals breakdown. (Required) -
withTotals
-
getParentId
Parent line item identifier for any nested structures. -
setParentId
Parent line item identifier for any nested structures. -
withParentId
-
getAdditionalProperties
-
setAdditionalProperty
-
withAdditionalProperty
-
toString
-
hashCode
public int hashCode() -
equals
-