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. This method supports patch semantics.
See: Google Play Developer API Reference for androidpublisher.inappproducts.patch
.
Synopsis
- type InAppProductsPatchResource = "androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("inappproducts" :> (Capture "sku" Text :> (QueryParam "autoConvertMissingPrices" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InAppProduct :> Patch '[JSON] InAppProduct))))))))
- inAppProductsPatch :: Text -> InAppProduct -> Text -> InAppProductsPatch
- data InAppProductsPatch
- iAppAutoConvertMissingPrices :: Lens' InAppProductsPatch (Maybe Bool)
- iAppPackageName :: Lens' InAppProductsPatch Text
- iAppPayload :: Lens' InAppProductsPatch InAppProduct
- iAppSKU :: Lens' InAppProductsPatch Text
REST Resource
type InAppProductsPatchResource = "androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("inappproducts" :> (Capture "sku" Text :> (QueryParam "autoConvertMissingPrices" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InAppProduct :> Patch '[JSON] InAppProduct)))))))) Source #
A resource alias for androidpublisher.inappproducts.patch
method which the
InAppProductsPatch
request conforms to.
Creating a Request
Creates a value of InAppProductsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InAppProductsPatch Source #
Updates the details of an in-app product. This method supports patch semantics.
See: inAppProductsPatch
smart constructor.
Instances
Request Lenses
iAppAutoConvertMissingPrices :: Lens' InAppProductsPatch (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.
iAppPackageName :: Lens' InAppProductsPatch Text Source #
Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".
iAppPayload :: Lens' InAppProductsPatch InAppProduct Source #
Multipart request metadata.