Class Reader.Action.SetReaderDisplay.Cart.LineItem

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.terminal.Reader.Action.SetReaderDisplay.Cart.LineItem
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Reader.Action.SetReaderDisplay.Cart

public static class Reader.Action.SetReaderDisplay.Cart.LineItem extends StripeObject
Represents a line item to be displayed on the reader.
  • Constructor Details

    • LineItem

      public LineItem()
  • Method Details

    • getAmount

      public Long getAmount()
    • getDescription

      public String getDescription()
    • getQuantity

      public Long getQuantity()
    • setAmount

      public void setAmount(Long amount)
    • setDescription

      public void setDescription(String description)
    • setQuantity

      public void setQuantity(Long quantity)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object