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.CreatetestOrder

Contents

Description

Sandbox only. Creates a test order.

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

Synopsis

REST Resource

type OrdersCreatetestOrderResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("testorders" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersCreateTestOrderRequest :> Post '[JSON] OrdersCreateTestOrderResponse))))) Source #

A resource alias for content.orders.createtestorder method which the OrdersCreatetestOrder request conforms to.

Creating a Request

ordersCreatetestOrder Source #

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

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

data OrdersCreatetestOrder Source #

Sandbox only. Creates a test order.

See: ordersCreatetestOrder smart constructor.

Instances
Eq OrdersCreatetestOrder Source # 
Instance details

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

Data OrdersCreatetestOrder Source # 
Instance details

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

Methods

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

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

toConstr :: OrdersCreatetestOrder -> Constr #

dataTypeOf :: OrdersCreatetestOrder -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrdersCreatetestOrder Source # 
Instance details

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

Generic OrdersCreatetestOrder Source # 
Instance details

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

Associated Types

type Rep OrdersCreatetestOrder :: Type -> Type #

GoogleRequest OrdersCreatetestOrder Source # 
Instance details

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

type Rep OrdersCreatetestOrder Source # 
Instance details

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

type Rep OrdersCreatetestOrder = D1 (MetaData "OrdersCreatetestOrder" "Network.Google.Resource.Content.Orders.CreatetestOrder" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "OrdersCreatetestOrder'" PrefixI True) (S1 (MetaSel (Just "_ococMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: S1 (MetaSel (Just "_ococPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrdersCreateTestOrderRequest)))
type Scopes OrdersCreatetestOrder Source # 
Instance details

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

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

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

Request Lenses

ococMerchantId :: Lens' OrdersCreatetestOrder Word64 Source #

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