PartnersPromotions
class PartnersPromotions extends Resource (View source)
The "promotions" collection of methods.
Typical usage is:
$paymentsresellersubscriptionService = new Google\Service\PaymentsResellerSubscription(...);
$promotions = $paymentsresellersubscriptionService->partners_promotions;
Methods
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. (promotions.findEligible)
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. (promotions.listPartnersPromotions)
Details
GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse
findEligible(string $parent, GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest $postBody, array $optParams = [])
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. (promotions.findEligible)
GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse
listPartnersPromotions(string $parent, array $optParams = [])
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. (promotions.listPartnersPromotions)