Class Discount


public class Discount extends Resource<Discount>
  • Constructor Details

    • Discount

      public Discount(String jsonStr)
    • Discount

      public Discount(org.json.JSONObject jsonObj)
  • Method Details

    • id

      public String id()
    • invoiceName

      public String invoiceName()
    • type

      public Discount.Type type()
    • percentage

      public Double percentage()
    • amount

      public Long amount()
    • quantity

      public Integer quantity()
    • currencyCode

      public String currencyCode()
    • durationType

      public DurationType durationType()
    • period

      public Integer period()
    • periodUnit

      public PeriodUnit periodUnit()
    • includedInMrr

      public Boolean includedInMrr()
    • applyOn

      public ApplyOn applyOn()
    • itemPriceId

      public String itemPriceId()
    • createdAt

      public Timestamp createdAt()
    • applyTill

      public Timestamp applyTill()
    • appliedCount

      public Integer appliedCount()
    • couponId

      public String couponId()
    • index

      public Integer index()