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

Copyright(c) 2015-2016 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.StartPaidService

Contents

Description

Starts paid service of a trial subscription

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

Synopsis

REST Resource

type SubscriptionsStartPaidServiceResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> ("subscriptions" :> (Capture "subscriptionId" Text :> ("startPaidService" :> (QueryParam "alt" AltJSON :> Post '[JSON] Subscription)))))))) Source #

A resource alias for reseller.subscriptions.startPaidService method which the SubscriptionsStartPaidService request conforms to.

Creating a Request

subscriptionsStartPaidService Source #

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

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

data SubscriptionsStartPaidService Source #

Starts paid service of a trial subscription

See: subscriptionsStartPaidService smart constructor.

Instances

Eq SubscriptionsStartPaidService Source # 
Data SubscriptionsStartPaidService Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SubscriptionsStartPaidService -> c SubscriptionsStartPaidService #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SubscriptionsStartPaidService #

toConstr :: SubscriptionsStartPaidService -> Constr #

dataTypeOf :: SubscriptionsStartPaidService -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SubscriptionsStartPaidService) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SubscriptionsStartPaidService) #

gmapT :: (forall b. Data b => b -> b) -> SubscriptionsStartPaidService -> SubscriptionsStartPaidService #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SubscriptionsStartPaidService -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SubscriptionsStartPaidService -> r #

gmapQ :: (forall d. Data d => d -> u) -> SubscriptionsStartPaidService -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SubscriptionsStartPaidService -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SubscriptionsStartPaidService -> m SubscriptionsStartPaidService #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SubscriptionsStartPaidService -> m SubscriptionsStartPaidService #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SubscriptionsStartPaidService -> m SubscriptionsStartPaidService #

Show SubscriptionsStartPaidService Source # 
Generic SubscriptionsStartPaidService Source # 
GoogleRequest SubscriptionsStartPaidService Source # 
type Rep SubscriptionsStartPaidService Source # 
type Rep SubscriptionsStartPaidService = D1 (MetaData "SubscriptionsStartPaidService" "Network.Google.Resource.Reseller.Subscriptions.StartPaidService" "gogol-apps-reseller-0.1.1-7FDt0pLj6b48adpqi1YUwx" False) (C1 (MetaCons "SubscriptionsStartPaidService'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sspsCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_sspsSubscriptionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes SubscriptionsStartPaidService Source # 
type Scopes SubscriptionsStartPaidService = (:) Symbol "https://www.googleapis.com/auth/apps.order" ([] Symbol)
type Rs SubscriptionsStartPaidService Source # 

Request Lenses

sspsSubscriptionId :: Lens' SubscriptionsStartPaidService Text Source #

Id of the subscription, which is unique for a customer