Class InvoiceLineItem.DiscountAmount

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.InvoiceLineItem.DiscountAmount
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
InvoiceLineItem

public static class InvoiceLineItem.DiscountAmount extends StripeObject
  • Constructor Details

    • DiscountAmount

      public DiscountAmount()
  • Method Details

    • getDiscount

      public String getDiscount()
      Get ID of expandable discount object.
    • setDiscount

      public void setDiscount(String id)
    • getDiscountObject

      public Discount getDiscountObject()
      Get expanded discount.
    • setDiscountObject

      public void setDiscountObject(Discount expandableObject)
    • getAmount

      public Long getAmount()
      The amount, in cents (or local equivalent), of the discount.
    • setAmount

      public void setAmount(Long amount)
      The amount, in cents (or local equivalent), of the discount.
    • 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