gogol-android-publisher-0.0.1: Google Play Developer SDK.

Copyright(c) 2015 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:

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