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.Delete

Contents

Description

Cancels/Downgrades a subscription.

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

Synopsis

REST Resource

type SubscriptionsDeleteResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> ("subscriptions" :> (Capture "subscriptionId" Text :> (QueryParam "deletionType" SubscriptionsDeleteDeletionType :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))) Source #

A resource alias for reseller.subscriptions.delete method which the SubscriptionsDelete request conforms to.

Creating a Request

subscriptionsDelete Source #

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

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

data SubscriptionsDelete Source #

Cancels/Downgrades a subscription.

See: subscriptionsDelete smart constructor.

Instances

Eq SubscriptionsDelete Source # 
Data SubscriptionsDelete Source # 

Methods

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

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

toConstr :: SubscriptionsDelete -> Constr #

dataTypeOf :: SubscriptionsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

sdDeletionType :: Lens' SubscriptionsDelete SubscriptionsDeleteDeletionType Source #

Whether the subscription is to be fully cancelled or downgraded

sdSubscriptionId :: Lens' SubscriptionsDelete Text Source #

Id of the subscription, which is unique for a customer