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

Contents

Description

Checks the purchase and consumption status of an inapp item.

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

Synopsis

REST Resource

type PurchasesProductsGetResource = "androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("purchases" :> ("products" :> (Capture "productId" Text :> ("tokens" :> (Capture "token" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ProductPurchase))))))))) Source #

A resource alias for androidpublisher.purchases.products.get method which the PurchasesProductsGet request conforms to.

Creating a Request

purchasesProductsGet Source #

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

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

data PurchasesProductsGet Source #

Checks the purchase and consumption status of an inapp item.

See: purchasesProductsGet smart constructor.

Instances
Eq PurchasesProductsGet Source # 
Instance details

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

Data PurchasesProductsGet Source # 
Instance details

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

Methods

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

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

toConstr :: PurchasesProductsGet -> Constr #

dataTypeOf :: PurchasesProductsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PurchasesProductsGet Source # 
Instance details

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

Generic PurchasesProductsGet Source # 
Instance details

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

Associated Types

type Rep PurchasesProductsGet :: Type -> Type #

GoogleRequest PurchasesProductsGet Source # 
Instance details

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

Associated Types

type Rs PurchasesProductsGet :: Type #

type Scopes PurchasesProductsGet :: [Symbol] #

type Rep PurchasesProductsGet Source # 
Instance details

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

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

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

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

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

Request Lenses

ppgPackageName :: Lens' PurchasesProductsGet Text Source #

The package name of the application the inapp product was sold in (for example, 'com.some.thing').

ppgToken :: Lens' PurchasesProductsGet Text Source #

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

ppgProductId :: Lens' PurchasesProductsGet Text Source #

The inapp product SKU (for example, 'com.some.thing.inapp1').