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 GHMarketplaceAccount
getAccount()
Gets account.String
getBillingCycle()
Gets billing cycle.Date
getFreeTrialEndsOn()
Gets free trial ends on.Date
getNextBillingDate()
Gets next billing date.GHMarketplacePlan
getPlan()
Gets plan.GitHub
getRoot()
Deprecated.For access to theGitHub
instance, use a local copy instead of pulling it out of objects.Long
getUnitCount()
Gets unit count.Date
getUpdatedAt()
Gets updated at.boolean
isOnFreeTrial()
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 theGitHub
instance, use a local copy instead of pulling it out of objects.Get the rootGitHub
instance for this object.- Returns:
- the root
GitHub
instance
-
-