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

Contents

Description

Updates the shipping settings of the account.

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

Synopsis

REST Resource

type ShippingSettingsUpdateResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("shippingsettings" :> (Capture "accountId" (Textual Word64) :> (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.

See: shippingSettingsUpdate smart constructor.

Instances
Eq ShippingSettingsUpdate Source # 
Instance details

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

Data ShippingSettingsUpdate Source # 
Instance details

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

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 # 
Instance details

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

Generic ShippingSettingsUpdate Source # 
Instance details

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

Associated Types

type Rep ShippingSettingsUpdate :: Type -> Type #

GoogleRequest ShippingSettingsUpdate Source # 
Instance details

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

type Rep ShippingSettingsUpdate Source # 
Instance details

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

type Rep ShippingSettingsUpdate = D1 (MetaData "ShippingSettingsUpdate" "Network.Google.Resource.Content.ShippingSettings.Update" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "ShippingSettingsUpdate'" PrefixI True) (S1 (MetaSel (Just "_ssuMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_ssuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ShippingSettings) :*: S1 (MetaSel (Just "_ssuAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)))))
type Scopes ShippingSettingsUpdate Source # 
Instance details

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

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

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

Request Lenses

ssuMerchantId :: Lens' ShippingSettingsUpdate 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.

ssuAccountId :: Lens' ShippingSettingsUpdate Word64 Source #

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