gogol-shopping-content-0.2.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.GetbymerchantOrderid

Contents

Description

Retrieves an order using merchant order id. This method can only be called for non-multi-client accounts.

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

Synopsis

REST Resource

type OrdersGetbymerchantOrderidResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("ordersbymerchantid" :> (Capture "merchantOrderId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] OrdersGetByMerchantOrderIdResponse))))) Source #

A resource alias for content.orders.getbymerchantorderid method which the OrdersGetbymerchantOrderid request conforms to.

Creating a Request

ordersGetbymerchantOrderid Source #

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

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

data OrdersGetbymerchantOrderid Source #

Retrieves an order using merchant order id. This method can only be called for non-multi-client accounts.

See: ordersGetbymerchantOrderid smart constructor.

Instances

Eq OrdersGetbymerchantOrderid Source # 
Data OrdersGetbymerchantOrderid Source # 

Methods

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

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

toConstr :: OrdersGetbymerchantOrderid -> Constr #

dataTypeOf :: OrdersGetbymerchantOrderid -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrdersGetbymerchantOrderid Source # 
Generic OrdersGetbymerchantOrderid Source # 
GoogleRequest OrdersGetbymerchantOrderid Source # 
type Rep OrdersGetbymerchantOrderid Source # 
type Rep OrdersGetbymerchantOrderid = D1 (MetaData "OrdersGetbymerchantOrderid" "Network.Google.Resource.Content.Orders.GetbymerchantOrderid" "gogol-shopping-content-0.2.0-1pAj2oGpAMt4E1jFF0ipBE" False) (C1 (MetaCons "OrdersGetbymerchantOrderid'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ogogMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64))) (S1 (MetaSel (Just Symbol "_ogogMerchantOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes OrdersGetbymerchantOrderid Source # 
type Scopes OrdersGetbymerchantOrderid = (:) Symbol "https://www.googleapis.com/auth/content" ([] Symbol)
type Rs OrdersGetbymerchantOrderid Source # 

Request Lenses

ogogMerchantId :: Lens' OrdersGetbymerchantOrderid Word64 Source #

The ID of the managing account.

ogogMerchantOrderId :: Lens' OrdersGetbymerchantOrderid Text Source #

The merchant order id to be looked for.