Class LineItemUpdateRequest
java.lang.Object
io.deeplumen.ucp.models.schemas.shopping.LineItemUpdateRequest
Line Item Update Request
Line item object. Expected to use the currency of the parent object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getItem()Item Update RequestParent line item identifier for any nested structures.Quantity of the item being purchased.inthashCode()voidsetAdditionalProperty(String name, Object value) voidvoidsetItem(ItemUpdateRequest item) Item Update RequestvoidsetParentId(String parentId) Parent line item identifier for any nested structures.voidsetQuantity(Integer quantity) Quantity of the item being purchased.toString()withAdditionalProperty(String name, Object value) withItem(ItemUpdateRequest item) withParentId(String parentId) withQuantity(Integer quantity)
-
Constructor Details
-
LineItemUpdateRequest
public LineItemUpdateRequest()
-
-
Method Details
-
getId
-
setId
-
withId
-
getItem
Item Update Request(Required)
-
setItem
Item Update Request(Required)
-
withItem
-
getQuantity
Quantity of the item being purchased. (Required) -
setQuantity
Quantity of the item being purchased. (Required) -
withQuantity
-
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
-