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.ShippingSettings.Update

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.

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

Synopsis

REST Resource

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

A resource alias for content.shippingsettings.update method which the ShippingSettingsUpdate request conforms to.

Creating a Request

shippingSettingsUpdate Source #

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

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

data ShippingSettingsUpdate 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.

See: shippingSettingsUpdate smart constructor.

Instances

Eq ShippingSettingsUpdate Source # 
Data ShippingSettingsUpdate Source # 

Methods

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

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

toConstr :: ShippingSettingsUpdate -> Constr #

dataTypeOf :: ShippingSettingsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ShippingSettingsUpdate Source # 
Generic ShippingSettingsUpdate Source # 
GoogleRequest ShippingSettingsUpdate Source # 
type Rep ShippingSettingsUpdate Source # 
type Rep ShippingSettingsUpdate = D1 (MetaData "ShippingSettingsUpdate" "Network.Google.Resource.Content.ShippingSettings.Update" "gogol-shopping-content-0.2.0-1pAj2oGpAMt4E1jFF0ipBE" False) (C1 (MetaCons "ShippingSettingsUpdate'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ssuMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64))) (S1 (MetaSel (Just Symbol "_ssuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ShippingSettings))) ((:*:) (S1 (MetaSel (Just Symbol "_ssuAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64))) (S1 (MetaSel (Just Symbol "_ssuDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Scopes ShippingSettingsUpdate Source # 
type Scopes ShippingSettingsUpdate = (:) Symbol "https://www.googleapis.com/auth/content" ([] Symbol)
type Rs ShippingSettingsUpdate Source # 

Request Lenses

ssuMerchantId :: Lens' ShippingSettingsUpdate Word64 Source #

The ID of the managing account.

ssuAccountId :: Lens' ShippingSettingsUpdate Word64 Source #

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

ssuDryRun :: Lens' ShippingSettingsUpdate (Maybe Bool) Source #

Flag to run the request in dry-run mode.