gogol-shopping-content-0.3.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.ShippingSettings.Patch

Contents

Description

Updates the shipping 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. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for content.shippingsettings.patch method which the ShippingSettingsPatch request conforms to.

Creating a Request

shippingSettingsPatch Source #

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

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

data ShippingSettingsPatch Source #

Updates the shipping 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. This method supports patch semantics.

See: shippingSettingsPatch smart constructor.

Instances

Eq ShippingSettingsPatch Source # 
Data ShippingSettingsPatch Source # 

Methods

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

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

toConstr :: ShippingSettingsPatch -> Constr #

dataTypeOf :: ShippingSettingsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ShippingSettingsPatch Source # 
Generic ShippingSettingsPatch Source # 
GoogleRequest ShippingSettingsPatch Source # 
type Rep ShippingSettingsPatch Source # 
type Rep ShippingSettingsPatch = D1 (MetaData "ShippingSettingsPatch" "Network.Google.Resource.Content.ShippingSettings.Patch" "gogol-shopping-content-0.3.0-41TtXTFsjJg1FCE4alRDuM" False) (C1 (MetaCons "ShippingSettingsPatch'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sspMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64))) (S1 (MetaSel (Just Symbol "_sspPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ShippingSettings))) ((:*:) (S1 (MetaSel (Just Symbol "_sspAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64))) (S1 (MetaSel (Just Symbol "_sspDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Scopes ShippingSettingsPatch Source # 
type Scopes ShippingSettingsPatch = (:) Symbol "https://www.googleapis.com/auth/content" ([] Symbol)
type Rs ShippingSettingsPatch Source # 

Request Lenses

sspMerchantId :: Lens' ShippingSettingsPatch Word64 Source #

The ID of the managing account.

sspAccountId :: Lens' ShippingSettingsPatch Word64 Source #

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

sspDryRun :: Lens' ShippingSettingsPatch (Maybe Bool) Source #

Flag to run the request in dry-run mode.