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.InAppProducts.Insert

Contents

Description

Creates a new in-app product for an app.

See: Google Play Developer API Reference for androidpublisher.inappproducts.insert.

Synopsis

REST Resource

type InAppProductsInsertResource = "androidpublisher" :> ("v2" :> ("applications" :> (Capture "packageName" Text :> ("inappproducts" :> (QueryParam "autoConvertMissingPrices" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InAppProduct :> Post '[JSON] InAppProduct))))))) Source #

A resource alias for androidpublisher.inappproducts.insert method which the InAppProductsInsert request conforms to.

Creating a Request

inAppProductsInsert Source #

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

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

data InAppProductsInsert Source #

Creates a new in-app product for an app.

See: inAppProductsInsert smart constructor.

Instances

Eq InAppProductsInsert Source # 
Data InAppProductsInsert Source # 

Methods

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

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

toConstr :: InAppProductsInsert -> Constr #

dataTypeOf :: InAppProductsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InAppProductsInsert Source # 
Generic InAppProductsInsert Source # 
GoogleRequest InAppProductsInsert Source # 
type Rep InAppProductsInsert Source # 
type Rep InAppProductsInsert = D1 (MetaData "InAppProductsInsert" "Network.Google.Resource.AndroidPublisher.InAppProducts.Insert" "gogol-android-publisher-0.2.0-L8pJWYUugTc2aQsDEpeAu6" False) (C1 (MetaCons "InAppProductsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_iapiAutoConvertMissingPrices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_iapiPackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_iapiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InAppProduct)))))
type Scopes InAppProductsInsert Source # 
type Scopes InAppProductsInsert = (:) Symbol "https://www.googleapis.com/auth/androidpublisher" ([] Symbol)
type Rs InAppProductsInsert Source # 

Request Lenses

iapiAutoConvertMissingPrices :: Lens' InAppProductsInsert (Maybe Bool) Source #

If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.

iapiPackageName :: Lens' InAppProductsInsert Text Source #

Unique identifier for the Android app; for example, "com.spiffygame".