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

Contents

Description

Updates the details of an in-app product.

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

Synopsis

REST Resource

type InAppProductsUpdateResource = "androidpublisher" :> ("v2" :> ("applications" :> (Capture "packageName" Text :> ("inappproducts" :> (Capture "sku" Text :> (QueryParam "autoConvertMissingPrices" Bool :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` InAppProduct :> Put `[JSON]` InAppProduct)))))))) Source

A resource alias for androidpublisher.inappproducts.update method which the InAppProductsUpdate request conforms to.

Creating a Request

inAppProductsUpdate Source

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

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

Request Lenses

iapuAutoConvertMissingPrices :: Lens' InAppProductsUpdate (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.

iapuPackageName :: Lens' InAppProductsUpdate Text Source

Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".

iapuSKU :: Lens' InAppProductsUpdate Text Source

Unique identifier for the in-app product.