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

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:

data InAppProductsUpdate Source #

Updates the details of an in-app product.

See: inAppProductsUpdate smart constructor.

Instances
Eq InAppProductsUpdate Source # 
Instance details

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

Data InAppProductsUpdate Source # 
Instance details

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

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InAppProductsUpdate -> c InAppProductsUpdate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InAppProductsUpdate #

toConstr :: InAppProductsUpdate -> Constr #

dataTypeOf :: InAppProductsUpdate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InAppProductsUpdate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InAppProductsUpdate) #

gmapT :: (forall b. Data b => b -> b) -> InAppProductsUpdate -> InAppProductsUpdate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InAppProductsUpdate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InAppProductsUpdate -> r #

gmapQ :: (forall d. Data d => d -> u) -> InAppProductsUpdate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InAppProductsUpdate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InAppProductsUpdate -> m InAppProductsUpdate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InAppProductsUpdate -> m InAppProductsUpdate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InAppProductsUpdate -> m InAppProductsUpdate #

Show InAppProductsUpdate Source # 
Instance details

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

Generic InAppProductsUpdate Source # 
Instance details

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

Associated Types

type Rep InAppProductsUpdate :: Type -> Type #

GoogleRequest InAppProductsUpdate Source # 
Instance details

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

Associated Types

type Rs InAppProductsUpdate :: Type #

type Scopes InAppProductsUpdate :: [Symbol] #

type Rep InAppProductsUpdate Source # 
Instance details

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

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

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

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

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

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.