gogol-apps-reseller-0.4.0: 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

Immediately move a 30-day free trial subscription to a paid service 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 #

Immediately move a 30-day free trial subscription to a paid service subscription.

See: subscriptionsStartPaidService smart constructor.

Instances
Eq SubscriptionsStartPaidService Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Subscriptions.StartPaidService

Data SubscriptionsStartPaidService Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Subscriptions.StartPaidService

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 # 
Instance details

Defined in Network.Google.Resource.Reseller.Subscriptions.StartPaidService

Generic SubscriptionsStartPaidService Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Subscriptions.StartPaidService

Associated Types

type Rep SubscriptionsStartPaidService :: Type -> Type #

GoogleRequest SubscriptionsStartPaidService Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Subscriptions.StartPaidService

type Rep SubscriptionsStartPaidService Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Subscriptions.StartPaidService

type Rep SubscriptionsStartPaidService = D1 (MetaData "SubscriptionsStartPaidService" "Network.Google.Resource.Reseller.Subscriptions.StartPaidService" "gogol-apps-reseller-0.4.0-KDuipGWXeWG9naMHX80l3C" False) (C1 (MetaCons "SubscriptionsStartPaidService'" PrefixI True) (S1 (MetaSel (Just "_sspsCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sspsSubscriptionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes SubscriptionsStartPaidService Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Subscriptions.StartPaidService

type Scopes SubscriptionsStartPaidService = "https://www.googleapis.com/auth/apps.order" ': ([] :: [Symbol])
type Rs SubscriptionsStartPaidService Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Subscriptions.StartPaidService

Request Lenses

sspsCustomerId :: Lens' SubscriptionsStartPaidService Text Source #

Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates.

sspsSubscriptionId :: Lens' SubscriptionsStartPaidService Text Source #

This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all reseller subscriptions method.