Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists the stores of the target merchant.
See: Content API for Shopping Reference for content.pos.list
.
Synopsis
- type PosListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("pos" :> (Capture "targetMerchantId" (Textual Word64) :> ("store" :> (QueryParam "alt" AltJSON :> Get '[JSON] PosListResponse))))))
- posList :: Word64 -> Word64 -> PosList
- data PosList
- posMerchantId :: Lens' PosList Word64
- posTargetMerchantId :: Lens' PosList Word64
REST Resource
type PosListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("pos" :> (Capture "targetMerchantId" (Textual Word64) :> ("store" :> (QueryParam "alt" AltJSON :> Get '[JSON] PosListResponse)))))) Source #
A resource alias for content.pos.list
method which the
PosList
request conforms to.
Creating a Request
Creates a value of PosList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Lists the stores of the target merchant.
See: posList
smart constructor.
Instances
Eq PosList Source # | |
Data PosList Source # | |
Defined in Network.Google.Resource.Content.Pos.List gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PosList -> c PosList # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PosList # toConstr :: PosList -> Constr # dataTypeOf :: PosList -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PosList) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PosList) # gmapT :: (forall b. Data b => b -> b) -> PosList -> PosList # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PosList -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PosList -> r # gmapQ :: (forall d. Data d => d -> u) -> PosList -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> PosList -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PosList -> m PosList # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PosList -> m PosList # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PosList -> m PosList # | |
Show PosList Source # | |
Generic PosList Source # | |
GoogleRequest PosList Source # | |
type Rep PosList Source # | |
Defined in Network.Google.Resource.Content.Pos.List type Rep PosList = D1 (MetaData "PosList" "Network.Google.Resource.Content.Pos.List" "gogol-shopping-content-0.5.0-JEbpzNrc2lB7bX2emYTGER" False) (C1 (MetaCons "PosList'" PrefixI True) (S1 (MetaSel (Just "_posMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: S1 (MetaSel (Just "_posTargetMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)))) | |
type Scopes PosList Source # | |
Defined in Network.Google.Resource.Content.Pos.List | |
type Rs PosList Source # | |
Defined in Network.Google.Resource.Content.Pos.List |