Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates the details of an in-app product.
See: Google Play Developer API Reference for androidpublisher.inappproducts.update
.
Synopsis
- type InAppProductsUpdateResource = "androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("inappproducts" :> (Capture "sku" Text :> (QueryParam "autoConvertMissingPrices" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InAppProduct :> Put '[JSON] InAppProduct))))))))
- inAppProductsUpdate :: Text -> InAppProduct -> Text -> InAppProductsUpdate
- data InAppProductsUpdate
- iapuAutoConvertMissingPrices :: Lens' InAppProductsUpdate (Maybe Bool)
- iapuPackageName :: Lens' InAppProductsUpdate Text
- iapuPayload :: Lens' InAppProductsUpdate InAppProduct
- iapuSKU :: Lens' InAppProductsUpdate Text
REST Resource
type InAppProductsUpdateResource = "androidpublisher" :> ("v3" :> ("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
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:
data InAppProductsUpdate Source #
Updates the details of an in-app product.
See: inAppProductsUpdate
smart constructor.
Instances
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".
iapuPayload :: Lens' InAppProductsUpdate InAppProduct Source #
Multipart request metadata.