Package org.kohsuke.github
Class GHMarketplacePurchase
- java.lang.Object
-
- org.kohsuke.github.GHMarketplacePurchase
-
public class GHMarketplacePurchase extends Object
A Github Marketplace purchase.- Author:
- Paulo Miguel Almeida
- See Also:
GHMarketplaceListAccountBuilder#createRequest()
-
-
Constructor Summary
Constructors Constructor Description GHMarketplacePurchase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBillingCycle()Gets billing cycle.DategetFreeTrialEndsOn()Gets free trial ends on.DategetNextBillingDate()Gets next billing date.GHMarketplacePlangetPlan()Gets plan.LonggetUnitCount()Gets unit count.DategetUpdatedAt()Gets updated at.booleanisOnFreeTrial()Is on free trial boolean.
-
-
-
Method Detail
-
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
-
-