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.Entitlements.List

Contents

Description

Lists the user's current inapp item or subscription entitlements

See: Google Play Developer API Reference for androidpublisher.entitlements.list.

Synopsis

REST Resource

type EntitlementsListResource = "androidpublisher" :> ("v2" :> ("applications" :> (Capture "packageName" Text :> ("entitlements" :> (QueryParam "token" Text :> (QueryParam "startIndex" (Textual Word32) :> (QueryParam "productId" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] EntitlementsListResponse))))))))) Source #

A resource alias for androidpublisher.entitlements.list method which the EntitlementsList request conforms to.

Creating a Request

entitlementsList Source #

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

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

data EntitlementsList Source #

Lists the user's current inapp item or subscription entitlements

See: entitlementsList smart constructor.

Instances

Eq EntitlementsList Source # 
Data EntitlementsList Source # 

Methods

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

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

toConstr :: EntitlementsList -> Constr #

dataTypeOf :: EntitlementsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EntitlementsList Source # 
Generic EntitlementsList Source # 
GoogleRequest EntitlementsList Source # 
type Rep EntitlementsList Source # 
type Rep EntitlementsList = D1 (MetaData "EntitlementsList" "Network.Google.Resource.AndroidPublisher.Entitlements.List" "gogol-android-publisher-0.2.0-L8pJWYUugTc2aQsDEpeAu6" False) (C1 (MetaCons "EntitlementsList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_elPackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_elToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_elStartIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))) ((:*:) (S1 (MetaSel (Just Symbol "_elProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_elMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))))))
type Scopes EntitlementsList Source # 
type Rs EntitlementsList Source # 

Request Lenses

elPackageName :: Lens' EntitlementsList Text Source #

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

elProductId :: Lens' EntitlementsList (Maybe Text) Source #

The product id of the inapp product (for example, 'sku1'). This can be used to restrict the result set.