gogol-apps-reseller-0.0.1: Google Enterprise Apps Reseller SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Reseller.Subscriptions.ChangePlan

Contents

Description

Changes the plan of a subscription

See: Enterprise Apps Reseller API Reference for reseller.subscriptions.changePlan.

Synopsis

REST Resource

type SubscriptionsChangePlanResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> ("subscriptions" :> (Capture "subscriptionId" Text :> ("changePlan" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` ChangePlanRequest :> Post `[JSON]` Subscription))))))))) Source

A resource alias for reseller.subscriptions.changePlan method which the SubscriptionsChangePlan request conforms to.

Creating a Request

subscriptionsChangePlan Source

Creates a value of SubscriptionsChangePlan with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

scpSubscriptionId :: Lens' SubscriptionsChangePlan Text Source

Id of the subscription, which is unique for a customer