Class GHMarketplacePurchase

java.lang.Object
org.kohsuke.github.GHMarketplacePurchase

public class GHMarketplacePurchase extends Object
A Github Marketplace purchase.
Author:
Paulo Miguel Almeida
See Also:
  • Constructor Details

    • GHMarketplacePurchase

      public GHMarketplacePurchase()
  • Method Details

    • getBillingCycle

      public String getBillingCycle()
      Gets billing cycle.
      Returns:
      the billing cycle
    • getNextBillingDate

      public Date getNextBillingDate()
      Gets next billing date.
      Returns:
      the next billing date
    • isOnFreeTrial

      public boolean isOnFreeTrial()
      Is on free trial boolean.
      Returns:
      the boolean
    • getFreeTrialEndsOn

      public Date getFreeTrialEndsOn()
      Gets free trial ends on.
      Returns:
      the free trial ends on
    • getUnitCount

      public Long getUnitCount()
      Gets unit count.
      Returns:
      the unit count
    • getUpdatedAt

      public Date getUpdatedAt()
      Gets updated at.
      Returns:
      the updated at
    • getPlan

      public GHMarketplacePlan getPlan()
      Gets plan.
      Returns:
      the plan
    • getRoot

      @Deprecated public GitHub getRoot()
      Deprecated.
      For access to the GitHub instance, use a local copy instead of pulling it out of objects.
      Get the root GitHub instance for this object.
      Returns:
      the root GitHub instance