gogol-shopping-content-0.2.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. This method can only be called for accounts to which the managing account has access: either the managing account itself or sub-accounts if the managing account is a multi-client account.

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

Synopsis

REST Resource

type AccounttaxUpdateResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accounttax" :> (Capture "accountId" (Textual Word64) :> (QueryParam "dryRun" Bool :> (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. This method can only be called for accounts to which the managing account has access: either the managing account itself or sub-accounts if the managing account is a multi-client account.

See: accounttaxUpdate smart constructor.

Instances

Eq AccounttaxUpdate Source # 
Data AccounttaxUpdate Source # 

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 # 
Generic AccounttaxUpdate Source # 
GoogleRequest AccounttaxUpdate Source # 
type Rep AccounttaxUpdate Source # 
type Rep AccounttaxUpdate = D1 (MetaData "AccounttaxUpdate" "Network.Google.Resource.Content.Accounttax.Update" "gogol-shopping-content-0.2.0-1pAj2oGpAMt4E1jFF0ipBE" False) (C1 (MetaCons "AccounttaxUpdate'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_auuMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64))) (S1 (MetaSel (Just Symbol "_auuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AccountTax))) ((:*:) (S1 (MetaSel (Just Symbol "_auuAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64))) (S1 (MetaSel (Just Symbol "_auuDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Scopes AccounttaxUpdate Source # 
type Scopes AccounttaxUpdate = (:) Symbol "https://www.googleapis.com/auth/content" ([] Symbol)
type Rs AccounttaxUpdate Source # 

Request Lenses

auuMerchantId :: Lens' AccounttaxUpdate Word64 Source #

The ID of the managing account.

auuPayload :: Lens' AccounttaxUpdate AccountTax Source #

Multipart request metadata.

auuAccountId :: Lens' AccounttaxUpdate Word64 Source #

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

auuDryRun :: Lens' AccounttaxUpdate (Maybe Bool) Source #

Flag to run the request in dry-run mode.