gogol-shopping-content-0.1.1: 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.Accountshipping.Patch

Contents

Description

Updates the shipping settings of the account. This method supports patch semantics.

See: Content API for Shopping Reference for content.accountshipping.patch.

Synopsis

REST Resource

type AccountshippingPatchResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accountshipping" :> (Capture "accountId" (Textual Word64) :> (QueryParam "dryRun" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AccountShipping :> Patch '[JSON] AccountShipping))))))) Source #

A resource alias for content.accountshipping.patch method which the AccountshippingPatch request conforms to.

Creating a Request

accountshippingPatch Source #

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

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

data AccountshippingPatch Source #

Updates the shipping settings of the account. This method supports patch semantics.

See: accountshippingPatch smart constructor.

Instances

Eq AccountshippingPatch Source # 
Data AccountshippingPatch Source # 

Methods

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

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

toConstr :: AccountshippingPatch -> Constr #

dataTypeOf :: AccountshippingPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountshippingPatch Source # 
Generic AccountshippingPatch Source # 
GoogleRequest AccountshippingPatch Source # 
type Rep AccountshippingPatch Source # 
type Rep AccountshippingPatch = D1 (MetaData "AccountshippingPatch" "Network.Google.Resource.Content.Accountshipping.Patch" "gogol-shopping-content-0.1.1-29WHQG6JiPy8ClAOaTtAzJ" False) (C1 (MetaCons "AccountshippingPatch'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ap1MerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64))) (S1 (MetaSel (Just Symbol "_ap1Payload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AccountShipping))) ((:*:) (S1 (MetaSel (Just Symbol "_ap1AccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64))) (S1 (MetaSel (Just Symbol "_ap1DryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Scopes AccountshippingPatch Source # 
type Scopes AccountshippingPatch = (:) Symbol "https://www.googleapis.com/auth/content" ([] Symbol)
type Rs AccountshippingPatch Source # 

Request Lenses

ap1MerchantId :: Lens' AccountshippingPatch Word64 Source #

The ID of the managing account.

ap1AccountId :: Lens' AccountshippingPatch Word64 Source #

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

ap1DryRun :: Lens' AccountshippingPatch (Maybe Bool) Source #

Flag to run the request in dry-run mode.