gogol-shopping-content-0.1.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.Orders.Get

Contents

Description

Retrieves an order from your Merchant Center account.

See: Content API for Shopping Reference for content.orders.get.

Synopsis

REST Resource

type OrdersGetResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Order))))) Source #

A resource alias for content.orders.get method which the OrdersGet request conforms to.

Creating a Request

ordersGet Source #

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

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

data OrdersGet Source #

Retrieves an order from your Merchant Center account.

See: ordersGet smart constructor.

Instances

Eq OrdersGet Source # 
Data OrdersGet Source # 

Methods

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

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

toConstr :: OrdersGet -> Constr #

dataTypeOf :: OrdersGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrdersGet Source # 
Generic OrdersGet Source # 

Associated Types

type Rep OrdersGet :: * -> * #

GoogleRequest OrdersGet Source # 

Associated Types

type Rs OrdersGet :: * #

type Scopes OrdersGet :: [Symbol] #

type Rep OrdersGet Source # 
type Rep OrdersGet = D1 (MetaData "OrdersGet" "Network.Google.Resource.Content.Orders.Get" "gogol-shopping-content-0.1.0-GO0gfKnFGN71KsZMRG9Ar6" False) (C1 (MetaCons "OrdersGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ogMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64))) (S1 (MetaSel (Just Symbol "_ogOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes OrdersGet Source # 
type Scopes OrdersGet = (:) Symbol "https://www.googleapis.com/auth/content" ([] Symbol)
type Rs OrdersGet Source # 

Request Lenses

ogMerchantId :: Lens' OrdersGet Word64 Source #

The ID of the managing account.

ogOrderId :: Lens' OrdersGet Text Source #

The ID of the order.