Class LineItemCreateRequest
java.lang.Object
io.deeplumen.ucp.models.schemas.shopping.LineItemCreateRequest
Line Item Create Request
Line item object. Expected to use the currency of the parent object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetItem()Item Create RequestQuantity of the item being purchased.inthashCode()voidsetAdditionalProperty(String name, Object value) voidsetItem(ItemCreateRequest item) Item Create RequestvoidsetQuantity(Integer quantity) Quantity of the item being purchased.toString()withAdditionalProperty(String name, Object value) withItem(ItemCreateRequest item) withQuantity(Integer quantity)
-
Constructor Details
-
LineItemCreateRequest
public LineItemCreateRequest()
-
-
Method Details
-
getItem
Item Create Request(Required)
-
setItem
Item Create Request(Required)
-
withItem
-
getQuantity
Quantity of the item being purchased. (Required) -
setQuantity
Quantity of the item being purchased. (Required) -
withQuantity
-
getAdditionalProperties
-
setAdditionalProperty
-
withAdditionalProperty
-
toString
-
hashCode
public int hashCode() -
equals
-