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.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" :> ("v3" :> ("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 # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.InAppProducts.Insert

Data InAppProductsInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.InAppProducts.Insert

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 # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.InAppProducts.Insert

Generic InAppProductsInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.InAppProducts.Insert

Associated Types

type Rep InAppProductsInsert :: Type -> Type #

GoogleRequest InAppProductsInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.InAppProducts.Insert

Associated Types

type Rs InAppProductsInsert :: Type #

type Scopes InAppProductsInsert :: [Symbol] #

type Rep InAppProductsInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.InAppProducts.Insert

type Rep InAppProductsInsert = D1 (MetaData "InAppProductsInsert" "Network.Google.Resource.AndroidPublisher.InAppProducts.Insert" "gogol-android-publisher-0.4.0-A8TPJe0z8xz1LYUimgzodq" False) (C1 (MetaCons "InAppProductsInsert'" PrefixI True) (S1 (MetaSel (Just "_iapiAutoConvertMissingPrices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_iapiPackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_iapiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InAppProduct))))
type Scopes InAppProductsInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.InAppProducts.Insert

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

Defined in Network.Google.Resource.AndroidPublisher.InAppProducts.Insert

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