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

Contents

Description

Checks whether a user's subscription purchase is valid and returns its expiry time.

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

Synopsis

REST Resource

type PurchasesSubscriptionsGetResource = "androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("purchases" :> ("subscriptions" :> (Capture "subscriptionId" Text :> ("tokens" :> (Capture "token" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SubscriptionPurchase))))))))) Source #

A resource alias for androidpublisher.purchases.subscriptions.get method which the PurchasesSubscriptionsGet request conforms to.

Creating a Request

purchasesSubscriptionsGet Source #

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

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

data PurchasesSubscriptionsGet Source #

Checks whether a user's subscription purchase is valid and returns its expiry time.

See: purchasesSubscriptionsGet smart constructor.

Instances
Eq PurchasesSubscriptionsGet Source # 
Instance details

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

Data PurchasesSubscriptionsGet Source # 
Instance details

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

Methods

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

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

toConstr :: PurchasesSubscriptionsGet -> Constr #

dataTypeOf :: PurchasesSubscriptionsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PurchasesSubscriptionsGet Source # 
Instance details

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

Generic PurchasesSubscriptionsGet Source # 
Instance details

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

Associated Types

type Rep PurchasesSubscriptionsGet :: Type -> Type #

GoogleRequest PurchasesSubscriptionsGet Source # 
Instance details

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

type Rep PurchasesSubscriptionsGet Source # 
Instance details

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

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

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

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

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

Request Lenses

psgPackageName :: Lens' PurchasesSubscriptionsGet Text Source #

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

psgToken :: Lens' PurchasesSubscriptionsGet Text Source #

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

psgSubscriptionId :: Lens' PurchasesSubscriptionsGet Text Source #

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