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

Contents

Description

Updates the details of an in-app product. This method supports patch semantics.

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

Synopsis

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

inAppProductsPatch Source #

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
Eq InAppProductsPatch Source # 
Instance details

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

Data InAppProductsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: InAppProductsPatch -> Constr #

dataTypeOf :: InAppProductsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InAppProductsPatch Source # 
Instance details

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

Generic InAppProductsPatch Source # 
Instance details

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

Associated Types

type Rep InAppProductsPatch :: Type -> Type #

GoogleRequest InAppProductsPatch Source # 
Instance details

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

Associated Types

type Rs InAppProductsPatch :: Type #

type Scopes InAppProductsPatch :: [Symbol] #

type Rep InAppProductsPatch Source # 
Instance details

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

type Rep InAppProductsPatch = D1 (MetaData "InAppProductsPatch" "Network.Google.Resource.AndroidPublisher.InAppProducts.Patch" "gogol-android-publisher-0.4.0-A8TPJe0z8xz1LYUimgzodq" False) (C1 (MetaCons "InAppProductsPatch'" PrefixI True) ((S1 (MetaSel (Just "_iAppAutoConvertMissingPrices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_iAppPackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_iAppPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InAppProduct) :*: S1 (MetaSel (Just "_iAppSKU") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes InAppProductsPatch Source # 
Instance details

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

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

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

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

iAppSKU :: Lens' InAppProductsPatch Text Source #

Unique identifier for the in-app product.