java.lang.Object
org.kohsuke.github.GHMarketplaceAccount
- Direct Known Subclasses:
GHMarketplaceAccountPlan
Base class for Github Marketplace Account.
- Author:
- Paulo Miguel Almeida
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()
Gets email.long
getId()
Gets id.getLogin()
Gets login.Gets organization billing email.getPlan()
Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App.getType()
Gets type.getUrl()
Gets url.
-
Constructor Details
-
GHMarketplaceAccount
public GHMarketplaceAccount()Create default GHMarketplaceAccount instance
-
-
Method Details
-
getUrl
Gets url.- Returns:
- the url
-
getId
public long getId()Gets id.- Returns:
- the id
-
getLogin
Gets login.- Returns:
- the login
-
getEmail
Gets email.- Returns:
- the email
-
getOrganizationBillingEmail
Gets organization billing email.- Returns:
- the organization billing email
-
getType
Gets type.- Returns:
- the type
-
getPlan
Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.GitHub Apps must use a JWT to access this endpoint.
OAuth Apps must use basic authentication with their client ID and client secret to access this endpoint.
- Returns:
- a GHMarketplaceListAccountBuilder instance
- Throws:
IOException
- in case ofIOException
- See Also:
-