Package org.kohsuke.github
Class GHMarketplaceUserPurchase
- java.lang.Object
-
- org.kohsuke.github.GHMarketplaceUserPurchase
-
public class GHMarketplaceUserPurchase extends Object
Github Marketplace User Purchase.- Author:
- Paulo Miguel Almeida
- See Also:
GitHub.getMyMarketplacePurchases()
-
-
Constructor Summary
Constructors Constructor Description GHMarketplaceUserPurchase()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GHMarketplaceAccountgetAccount()Gets account.StringgetBillingCycle()Gets billing cycle.DategetFreeTrialEndsOn()Gets free trial ends on.DategetNextBillingDate()Gets next billing date.GHMarketplacePlangetPlan()Gets plan.GitHubgetRoot()Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.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
-
getAccount
public GHMarketplaceAccount getAccount()
Gets account.- Returns:
- the account
-
getPlan
public GHMarketplacePlan getPlan()
Gets plan.- Returns:
- the plan
-
getRoot
@Deprecated public GitHub getRoot()
Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.Get the rootGitHubinstance for this object.- Returns:
- the root
GitHubinstance
-
-