ProvidersEntitlements
class ProvidersEntitlements extends Resource (View source)
The "entitlements" collection of methods.
Typical usage is:
$cloudcommerceprocurementService = new Google\Service\CloudCommercePartnerProcurementService(...);
$entitlements = $cloudcommerceprocurementService->providers_entitlements;
Methods
Approves an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is invoked by the provider to approve the creation of the entitlement resource.
Approves an entitlement plan change that is in the EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method is invoked by the provider to approve the plan change on the entitlement resource. (entitlements.approvePlanChange)
Gets a requested Entitlement resource. (entitlements.get)
Lists Entitlements for which the provider has read access.
Updates an existing Entitlement. (entitlements.patch)
Rejects an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is invoked by the provider to reject the creation of the entitlement resource.
Rejects an entitlement plan change that is in the EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method is invoked by the provider to reject the plan change on the entitlement resource. (entitlements.rejectPlanChange)
Requests suspension of an active Entitlement. This is not yet supported.
Details
CloudcommerceprocurementEmpty
approve(string $name, ApproveEntitlementRequest $postBody, array $optParams = [])
Approves an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is invoked by the provider to approve the creation of the entitlement resource.
(entitlements.approve)
CloudcommerceprocurementEmpty
approvePlanChange(string $name, ApproveEntitlementPlanChangeRequest $postBody, array $optParams = [])
Approves an entitlement plan change that is in the EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method is invoked by the provider to approve the plan change on the entitlement resource. (entitlements.approvePlanChange)
Entitlement
get(string $name, array $optParams = [])
Gets a requested Entitlement resource. (entitlements.get)
ListEntitlementsResponse
listProvidersEntitlements(string $parent, array $optParams = [])
Lists Entitlements for which the provider has read access.
(entitlements.listProvidersEntitlements)
Entitlement
patch(string $name, Entitlement $postBody, array $optParams = [])
Updates an existing Entitlement. (entitlements.patch)
CloudcommerceprocurementEmpty
reject(string $name, RejectEntitlementRequest $postBody, array $optParams = [])
Rejects an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is invoked by the provider to reject the creation of the entitlement resource.
(entitlements.reject)
CloudcommerceprocurementEmpty
rejectPlanChange(string $name, RejectEntitlementPlanChangeRequest $postBody, array $optParams = [])
Rejects an entitlement plan change that is in the EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method is invoked by the provider to reject the plan change on the entitlement resource. (entitlements.rejectPlanChange)
CloudcommerceprocurementEmpty
suspend(string $name, SuspendEntitlementRequest $postBody, array $optParams = [])
Requests suspension of an active Entitlement. This is not yet supported.
(entitlements.suspend)