Class LineItemResponse

java.lang.Object
io.deeplumen.ucp.models.schemas.shopping.LineItemResponse

@Generated("jsonschema2pojo") public class LineItemResponse extends Object
Line Item Response

Line item object. Expected to use the currency of the parent object.

  • Constructor Details

    • LineItemResponse

      public LineItemResponse()
  • Method Details

    • getId

      public String getId()
      (Required)
    • setId

      public void setId(String id)
      (Required)
    • withId

      public LineItemResponse withId(String id)
    • getItem

      public ItemResponse getItem()
      Item Response

      (Required)

    • setItem

      public void setItem(ItemResponse item)
      Item Response

      (Required)

    • withItem

      public LineItemResponse withItem(ItemResponse item)
    • getQuantity

      public Integer getQuantity()
      Quantity of the item being purchased. (Required)
    • setQuantity

      public void setQuantity(Integer quantity)
      Quantity of the item being purchased. (Required)
    • withQuantity

      public LineItemResponse withQuantity(Integer quantity)
    • getTotals

      public List<TotalResponse> getTotals()
      Line item totals breakdown. (Required)
    • setTotals

      public void setTotals(List<TotalResponse> totals)
      Line item totals breakdown. (Required)
    • withTotals

      public LineItemResponse withTotals(List<TotalResponse> totals)
    • getParentId

      public String getParentId()
      Parent line item identifier for any nested structures.
    • setParentId

      public void setParentId(String parentId)
      Parent line item identifier for any nested structures.
    • withParentId

      public LineItemResponse withParentId(String parentId)
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • setAdditionalProperty

      public void setAdditionalProperty(String name, Object value)
    • withAdditionalProperty

      public LineItemResponse withAdditionalProperty(String name, Object value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object