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 |
Retrieves an order from your Merchant Center account.
See: Content API for Shopping Reference for content.orders.get
.
Synopsis
- type OrdersGetResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Order)))))
- ordersGet :: Word64 -> Text -> OrdersGet
- data OrdersGet
- ogMerchantId :: Lens' OrdersGet Word64
- ogOrderId :: Lens' OrdersGet Text
REST Resource
type OrdersGetResource = "content" :> ("v2.1" :> (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
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:
Retrieves an order from your Merchant Center account.
See: ordersGet
smart constructor.
Instances
Eq OrdersGet Source # | |
Data OrdersGet Source # | |
Defined in Network.Google.Resource.Content.Orders.Get 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 # | |
GoogleRequest OrdersGet Source # | |
type Rep OrdersGet Source # | |
Defined in Network.Google.Resource.Content.Orders.Get type Rep OrdersGet = D1 (MetaData "OrdersGet" "Network.Google.Resource.Content.Orders.Get" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "OrdersGet'" PrefixI True) (S1 (MetaSel (Just "_ogMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: S1 (MetaSel (Just "_ogOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) | |
type Scopes OrdersGet Source # | |
Defined in Network.Google.Resource.Content.Orders.Get | |
type Rs OrdersGet Source # | |
Defined in Network.Google.Resource.Content.Orders.Get |