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.Inventory

Contents

Description

Submit inventory for the given merchant.

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

Synopsis

REST Resource

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

A resource alias for content.pos.inventory method which the PosInventory' request conforms to.

Creating a Request

posInventory' Source #

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

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

data PosInventory' Source #

Submit inventory for the given merchant.

See: posInventory' smart constructor.

Instances
Eq PosInventory' Source # 
Instance details

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

Data PosInventory' Source # 
Instance details

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

Methods

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

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

toConstr :: PosInventory' -> Constr #

dataTypeOf :: PosInventory' -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PosInventory' Source # 
Instance details

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

Generic PosInventory' Source # 
Instance details

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

Associated Types

type Rep PosInventory' :: Type -> Type #

GoogleRequest PosInventory' Source # 
Instance details

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

Associated Types

type Rs PosInventory' :: Type #

type Scopes PosInventory' :: [Symbol] #

type Rep PosInventory' Source # 
Instance details

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

type Rep PosInventory' = D1 (MetaData "PosInventory'" "Network.Google.Resource.Content.Pos.Inventory" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "PosInventory''" PrefixI True) (S1 (MetaSel (Just "_piMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_piTargetMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: S1 (MetaSel (Just "_piPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PosInventoryRequest))))
type Scopes PosInventory' Source # 
Instance details

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

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

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

Request Lenses

piMerchantId :: Lens' PosInventory' Word64 Source #

The ID of the POS or inventory data provider.

piTargetMerchantId :: Lens' PosInventory' Word64 Source #

The ID of the target merchant.