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

Contents

Description

Submit a sale event for the given merchant.

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

Synopsis

REST Resource

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

A resource alias for content.pos.sale method which the PosSale' request conforms to.

Creating a Request

posSale' Source #

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

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

data PosSale' Source #

Submit a sale event for the given merchant.

See: posSale' smart constructor.

Instances
Eq PosSale' Source # 
Instance details

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

Data PosSale' Source # 
Instance details

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

Methods

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

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

toConstr :: PosSale' -> Constr #

dataTypeOf :: PosSale' -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PosSale' Source # 
Instance details

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

Generic PosSale' Source # 
Instance details

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

Associated Types

type Rep PosSale' :: Type -> Type #

Methods

from :: PosSale' -> Rep PosSale' x #

to :: Rep PosSale' x -> PosSale' #

GoogleRequest PosSale' Source # 
Instance details

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

Associated Types

type Rs PosSale' :: Type #

type Scopes PosSale' :: [Symbol] #

type Rep PosSale' Source # 
Instance details

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

type Rep PosSale' = D1 (MetaData "PosSale'" "Network.Google.Resource.Content.Pos.Sale" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "PosSale''" PrefixI True) (S1 (MetaSel (Just "_psMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_psTargetMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: S1 (MetaSel (Just "_psPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PosSaleRequest))))
type Scopes PosSale' Source # 
Instance details

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

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

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

Request Lenses

psMerchantId :: Lens' PosSale' Word64 Source #

The ID of the POS or inventory data provider.

psTargetMerchantId :: Lens' PosSale' Word64 Source #

The ID of the target merchant.

psPayload :: Lens' PosSale' PosSaleRequest Source #

Multipart request metadata.