gogol-android-publisher-0.2.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.Defer

Contents

Description

Defers a user's subscription purchase until a specified future expiration time.

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

Synopsis

REST Resource

type PurchasesSubscriptionsDeferResource = "androidpublisher" :> ("v2" :> ("applications" :> (Capture "packageName" Text :> ("purchases" :> ("subscriptions" :> (Capture "subscriptionId" Text :> ("tokens" :> (CaptureMode "token" "defer" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SubscriptionPurchasesDeferRequest :> Post '[JSON] SubscriptionPurchasesDeferResponse)))))))))) Source #

A resource alias for androidpublisher.purchases.subscriptions.defer method which the PurchasesSubscriptionsDefer request conforms to.

Creating a Request

purchasesSubscriptionsDefer Source #

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

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

data PurchasesSubscriptionsDefer Source #

Defers a user's subscription purchase until a specified future expiration time.

See: purchasesSubscriptionsDefer smart constructor.

Instances

Eq PurchasesSubscriptionsDefer Source # 
Data PurchasesSubscriptionsDefer Source # 

Methods

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

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

toConstr :: PurchasesSubscriptionsDefer -> Constr #

dataTypeOf :: PurchasesSubscriptionsDefer -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PurchasesSubscriptionsDefer Source # 
Generic PurchasesSubscriptionsDefer Source # 
GoogleRequest PurchasesSubscriptionsDefer Source # 
type Rep PurchasesSubscriptionsDefer Source # 
type Rep PurchasesSubscriptionsDefer = D1 (MetaData "PurchasesSubscriptionsDefer" "Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Defer" "gogol-android-publisher-0.2.0-L8pJWYUugTc2aQsDEpeAu6" False) (C1 (MetaCons "PurchasesSubscriptionsDefer'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_psdPackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_psdToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_psdPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SubscriptionPurchasesDeferRequest)) (S1 (MetaSel (Just Symbol "_psdSubscriptionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes PurchasesSubscriptionsDefer Source # 
type Scopes PurchasesSubscriptionsDefer = (:) Symbol "https://www.googleapis.com/auth/androidpublisher" ([] Symbol)
type Rs PurchasesSubscriptionsDefer Source # 

Request Lenses

psdPackageName :: Lens' PurchasesSubscriptionsDefer Text Source #

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

psdToken :: Lens' PurchasesSubscriptionsDefer Text Source #

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

psdSubscriptionId :: Lens' PurchasesSubscriptionsDefer Text Source #

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