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.Pos.Insert

Contents

Description

Creates a store for the given merchant.

See: Content API for Shopping Reference for content.pos.insert.

Synopsis

REST Resource

type PosInsertResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("pos" :> (Capture "targetMerchantId" (Textual Word64) :> ("store" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PosStore :> Post '[JSON] PosStore))))))) Source #

A resource alias for content.pos.insert method which the PosInsert request conforms to.

Creating a Request

posInsert Source #

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

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

data PosInsert Source #

Creates a store for the given merchant.

See: posInsert smart constructor.

Instances
Eq PosInsert Source # 
Instance details

Defined in Network.Google.Resource.Content.Pos.Insert

Data PosInsert Source # 
Instance details

Defined in Network.Google.Resource.Content.Pos.Insert

Methods

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

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

toConstr :: PosInsert -> Constr #

dataTypeOf :: PosInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PosInsert Source # 
Instance details

Defined in Network.Google.Resource.Content.Pos.Insert

Generic PosInsert Source # 
Instance details

Defined in Network.Google.Resource.Content.Pos.Insert

Associated Types

type Rep PosInsert :: Type -> Type #

GoogleRequest PosInsert Source # 
Instance details

Defined in Network.Google.Resource.Content.Pos.Insert

Associated Types

type Rs PosInsert :: Type #

type Scopes PosInsert :: [Symbol] #

type Rep PosInsert Source # 
Instance details

Defined in Network.Google.Resource.Content.Pos.Insert

type Rep PosInsert = D1 (MetaData "PosInsert" "Network.Google.Resource.Content.Pos.Insert" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "PosInsert'" PrefixI True) (S1 (MetaSel (Just "_ppMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_ppTargetMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: S1 (MetaSel (Just "_ppPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PosStore))))
type Scopes PosInsert Source # 
Instance details

Defined in Network.Google.Resource.Content.Pos.Insert

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

Defined in Network.Google.Resource.Content.Pos.Insert

Request Lenses

ppMerchantId :: Lens' PosInsert Word64 Source #

The ID of the POS or inventory data provider.

ppTargetMerchantId :: Lens' PosInsert Word64 Source #

The ID of the target merchant.

ppPayload :: Lens' PosInsert PosStore Source #

Multipart request metadata.