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.Orders.GettestOrdertemplate

Contents

Description

Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox.

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

Synopsis

REST Resource

type OrdersGettestOrdertemplateResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("testordertemplates" :> (Capture "templateName" OrdersGettestOrdertemplateTemplateName :> (QueryParam "country" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] OrdersGetTestOrderTemplateResponse)))))) Source #

A resource alias for content.orders.gettestordertemplate method which the OrdersGettestOrdertemplate request conforms to.

Creating a Request

ordersGettestOrdertemplate Source #

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

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

data OrdersGettestOrdertemplate Source #

Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox.

See: ordersGettestOrdertemplate smart constructor.

Instances
Eq OrdersGettestOrdertemplate Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.GettestOrdertemplate

Data OrdersGettestOrdertemplate Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.GettestOrdertemplate

Methods

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

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

toConstr :: OrdersGettestOrdertemplate -> Constr #

dataTypeOf :: OrdersGettestOrdertemplate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrdersGettestOrdertemplate Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.GettestOrdertemplate

Generic OrdersGettestOrdertemplate Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.GettestOrdertemplate

Associated Types

type Rep OrdersGettestOrdertemplate :: Type -> Type #

GoogleRequest OrdersGettestOrdertemplate Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.GettestOrdertemplate

type Rep OrdersGettestOrdertemplate Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.GettestOrdertemplate

type Rep OrdersGettestOrdertemplate = D1 (MetaData "OrdersGettestOrdertemplate" "Network.Google.Resource.Content.Orders.GettestOrdertemplate" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "OrdersGettestOrdertemplate'" PrefixI True) (S1 (MetaSel (Just "_ogoMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_ogoTemplateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrdersGettestOrdertemplateTemplateName) :*: S1 (MetaSel (Just "_ogoCountry") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes OrdersGettestOrdertemplate Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.GettestOrdertemplate

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

Defined in Network.Google.Resource.Content.Orders.GettestOrdertemplate

Request Lenses

ogoMerchantId :: Lens' OrdersGettestOrdertemplate Word64 Source #

The ID of the account that should manage the order. This cannot be a multi-client account.

ogoCountry :: Lens' OrdersGettestOrdertemplate (Maybe Text) Source #

The country of the template to retrieve. Defaults to US.