gogol-shopping-content-0.4.0: Google Content API for Shopping 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.Content.Accounttax.Update

Contents

Description

Updates the tax settings of the account.

See: Content API for Shopping Reference for content.accounttax.update.

Synopsis

REST Resource

type AccounttaxUpdateResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("accounttax" :> (Capture "accountId" (Textual Word64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AccountTax :> Put '[JSON] AccountTax)))))) Source #

A resource alias for content.accounttax.update method which the AccounttaxUpdate request conforms to.

Creating a Request

accounttaxUpdate Source #

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

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

data AccounttaxUpdate Source #

Updates the tax settings of the account.

See: accounttaxUpdate smart constructor.

Instances
Eq AccounttaxUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.Accounttax.Update

Data AccounttaxUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.Accounttax.Update

Methods

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

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

toConstr :: AccounttaxUpdate -> Constr #

dataTypeOf :: AccounttaxUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccounttaxUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.Accounttax.Update

Generic AccounttaxUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.Accounttax.Update

Associated Types

type Rep AccounttaxUpdate :: Type -> Type #

GoogleRequest AccounttaxUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.Accounttax.Update

Associated Types

type Rs AccounttaxUpdate :: Type #

type Scopes AccounttaxUpdate :: [Symbol] #

type Rep AccounttaxUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.Accounttax.Update

type Rep AccounttaxUpdate = D1 (MetaData "AccounttaxUpdate" "Network.Google.Resource.Content.Accounttax.Update" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "AccounttaxUpdate'" PrefixI True) (S1 (MetaSel (Just "_auMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_auPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AccountTax) :*: S1 (MetaSel (Just "_auAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)))))
type Scopes AccounttaxUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.Accounttax.Update

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

Defined in Network.Google.Resource.Content.Accounttax.Update

Request Lenses

auMerchantId :: Lens' AccounttaxUpdate Word64 Source #

The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.

auPayload :: Lens' AccounttaxUpdate AccountTax Source #

Multipart request metadata.

auAccountId :: Lens' AccounttaxUpdate Word64 Source #

The ID of the account for which to get/update account tax settings.