Namespace Google.Apis.PaymentsResellerSubscription.v1
Classes
PartnersResource
The "partners" collection of methods.
PartnersResource.ProductsResource
The "products" collection of methods.
PartnersResource.ProductsResource.ListRequest
To retrieve the products that can be resold by the partner. It should be autenticated with a service account. - This API doesn't apply to YouTube products currently.
PartnersResource.PromotionsResource
The "promotions" collection of methods.
PartnersResource.PromotionsResource.FindEligibleRequest
To find eligible promotions for the current user. The API requires user authorization via OAuth. The
bare minimum oauth scope openid
is sufficient, which will skip the consent screen.
PartnersResource.PromotionsResource.ListRequest
Retrieves the promotions, such as free trial, that can be used by the partner. - This API doesn't apply to YouTube promotions currently. It should be autenticated with a service account.
PartnersResource.SubscriptionsResource
The "subscriptions" collection of methods.
PartnersResource.SubscriptionsResource.CancelRequest
Used by partners to cancel a subscription service either immediately or by the end of the current billing cycle for their customers. It should be called directly by the partner using service accounts.
PartnersResource.SubscriptionsResource.CreateRequest
Used by partners to create a subscription for their customers. The created subscription is associated with the end user inferred from the end user credentials. This API must be authorized by the end user using OAuth.
PartnersResource.SubscriptionsResource.EntitleRequest
Used by partners to entitle a previously provisioned subscription to the current end user. The end user identity is inferred from the authorized credential of the request. This API must be authorized by the end user using OAuth.
PartnersResource.SubscriptionsResource.ExtendRequest
[Opt-in only] Most partners should be on auto-extend by default. Used by partners to extend a subscription service for their customers on an ongoing basis for the subscription to remain active and renewable. It should be called directly by the partner using service accounts.
PartnersResource.SubscriptionsResource.GetRequest
Used by partners to get a subscription by id. It should be called directly by the partner using service accounts.
PartnersResource.SubscriptionsResource.ProvisionRequest
Used by partners to provision a subscription for their customers. This creates a subscription without associating it with the end user account. EntitleSubscription must be called separately using OAuth in order for the end user account to be associated with the subscription. It should be called directly by the partner using service accounts.
PartnersResource.SubscriptionsResource.UndoCancelRequest
Revokes the pending cancellation of a subscription, which is currently in STATE_CANCEL_AT_END_OF_CYCLE
state. If the subscription is already cancelled, the request will fail. - This API doesn't apply to
YouTube subscriptions. It should be called directly by the partner using service accounts.
PartnersResource.UserSessionsResource
The "userSessions" collection of methods.
PartnersResource.UserSessionsResource.GenerateRequest
This API replaces user authorized OAuth consent based APIs (Create, Entitle). Generates a short-lived token for a user session based on the user intent. You can use the session token to redirect the user to Google to finish the signup flow. You can re-generate new session token repeatedly for the same request if necessary, regardless of the previous tokens being expired or not.
PaymentsResellerSubscriptionBaseServiceRequest<TResponse>
A base abstract class for PaymentsResellerSubscription requests.
PaymentsResellerSubscriptionService
The PaymentsResellerSubscription Service.
PaymentsResellerSubscriptionService.Scope
Available OAuth 2.0 scopes for use with the Payments Reseller Subscription API.
PaymentsResellerSubscriptionService.ScopeConstants
Available OAuth 2.0 scope constants for use with the Payments Reseller Subscription API.
Enums
PaymentsResellerSubscriptionBaseServiceRequest<TResponse>.AltEnum
Data format for response.
PaymentsResellerSubscriptionBaseServiceRequest<TResponse>.XgafvEnum
V1 error format.