gogol-android-publisher-0.4.0: Google Play Developer 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.AndroidPublisher.Purchases.Subscriptions.Revoke

Contents

Description

Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.

See: Google Play Developer API Reference for androidpublisher.purchases.subscriptions.revoke.

Synopsis

REST Resource

type PurchasesSubscriptionsRevokeResource = "androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("purchases" :> ("subscriptions" :> (Capture "subscriptionId" Text :> ("tokens" :> (CaptureMode "token" "revoke" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))))))) Source #

A resource alias for androidpublisher.purchases.subscriptions.revoke method which the PurchasesSubscriptionsRevoke request conforms to.

Creating a Request

purchasesSubscriptionsRevoke Source #

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

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

data PurchasesSubscriptionsRevoke Source #

Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.

See: purchasesSubscriptionsRevoke smart constructor.

Instances
Eq PurchasesSubscriptionsRevoke Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Revoke

Data PurchasesSubscriptionsRevoke Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Revoke

Methods

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

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

toConstr :: PurchasesSubscriptionsRevoke -> Constr #

dataTypeOf :: PurchasesSubscriptionsRevoke -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PurchasesSubscriptionsRevoke Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Revoke

Generic PurchasesSubscriptionsRevoke Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Revoke

Associated Types

type Rep PurchasesSubscriptionsRevoke :: Type -> Type #

GoogleRequest PurchasesSubscriptionsRevoke Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Revoke

type Rep PurchasesSubscriptionsRevoke Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Revoke

type Rep PurchasesSubscriptionsRevoke = D1 (MetaData "PurchasesSubscriptionsRevoke" "Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Revoke" "gogol-android-publisher-0.4.0-A8TPJe0z8xz1LYUimgzodq" False) (C1 (MetaCons "PurchasesSubscriptionsRevoke'" PrefixI True) (S1 (MetaSel (Just "_pPackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pSubscriptionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes PurchasesSubscriptionsRevoke Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Revoke

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

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Revoke

Request Lenses

pPackageName :: Lens' PurchasesSubscriptionsRevoke Text Source #

The package name of the application for which this subscription was purchased (for example, 'com.some.thing').

pToken :: Lens' PurchasesSubscriptionsRevoke Text Source #

The token provided to the user's device when the subscription was purchased.

pSubscriptionId :: Lens' PurchasesSubscriptionsRevoke Text Source #

The purchased subscription ID (for example, 'monthly001').