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

Contents

Description

Sandbox only. Cancels a test order for customer-initiated cancellation.

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

Synopsis

REST Resource

type OrdersCanceltestOrderbycustomerResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("testorders" :> (Capture "orderId" Text :> ("cancelByCustomer" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersCancelTestOrderByCustomerRequest :> Post '[JSON] OrdersCancelTestOrderByCustomerResponse))))))) Source #

A resource alias for content.orders.canceltestorderbycustomer method which the OrdersCanceltestOrderbycustomer request conforms to.

Creating a Request

ordersCanceltestOrderbycustomer Source #

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

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

data OrdersCanceltestOrderbycustomer Source #

Sandbox only. Cancels a test order for customer-initiated cancellation.

See: ordersCanceltestOrderbycustomer smart constructor.

Instances
Eq OrdersCanceltestOrderbycustomer Source # 
Instance details

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

Data OrdersCanceltestOrderbycustomer Source # 
Instance details

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

Methods

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

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

toConstr :: OrdersCanceltestOrderbycustomer -> Constr #

dataTypeOf :: OrdersCanceltestOrderbycustomer -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrdersCanceltestOrderbycustomer Source # 
Instance details

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

Generic OrdersCanceltestOrderbycustomer Source # 
Instance details

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

Associated Types

type Rep OrdersCanceltestOrderbycustomer :: Type -> Type #

GoogleRequest OrdersCanceltestOrderbycustomer Source # 
Instance details

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

type Rep OrdersCanceltestOrderbycustomer Source # 
Instance details

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

type Rep OrdersCanceltestOrderbycustomer = D1 (MetaData "OrdersCanceltestOrderbycustomer" "Network.Google.Resource.Content.Orders.CanceltestOrderbycustomer" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "OrdersCanceltestOrderbycustomer'" PrefixI True) (S1 (MetaSel (Just "_ocoMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_ocoPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrdersCancelTestOrderByCustomerRequest) :*: S1 (MetaSel (Just "_ocoOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes OrdersCanceltestOrderbycustomer Source # 
Instance details

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

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

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

Request Lenses

ocoMerchantId :: Lens' OrdersCanceltestOrderbycustomer Word64 Source #

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

ocoOrderId :: Lens' OrdersCanceltestOrderbycustomer Text Source #

The ID of the test order to cancel.