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

Contents

Description

Cancels a line item, making a full refund.

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

Synopsis

REST Resource

type OrdersCancellineitemResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("cancelLineItem" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersCancelLineItemRequest :> Post '[JSON] OrdersCancelLineItemResponse))))))) Source #

A resource alias for content.orders.cancellineitem method which the OrdersCancellineitem request conforms to.

Creating a Request

ordersCancellineitem Source #

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

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

data OrdersCancellineitem Source #

Cancels a line item, making a full refund.

See: ordersCancellineitem smart constructor.

Instances
Eq OrdersCancellineitem Source # 
Instance details

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

Data OrdersCancellineitem Source # 
Instance details

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

Methods

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

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

toConstr :: OrdersCancellineitem -> Constr #

dataTypeOf :: OrdersCancellineitem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrdersCancellineitem Source # 
Instance details

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

Generic OrdersCancellineitem Source # 
Instance details

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

Associated Types

type Rep OrdersCancellineitem :: Type -> Type #

GoogleRequest OrdersCancellineitem Source # 
Instance details

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

Associated Types

type Rs OrdersCancellineitem :: Type #

type Scopes OrdersCancellineitem :: [Symbol] #

type Rep OrdersCancellineitem Source # 
Instance details

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

type Rep OrdersCancellineitem = D1 (MetaData "OrdersCancellineitem" "Network.Google.Resource.Content.Orders.Cancellineitem" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "OrdersCancellineitem'" PrefixI True) (S1 (MetaSel (Just "_oc1MerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_oc1Payload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrdersCancelLineItemRequest) :*: S1 (MetaSel (Just "_oc1OrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes OrdersCancellineitem Source # 
Instance details

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

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

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

Request Lenses

oc1MerchantId :: Lens' OrdersCancellineitem Word64 Source #

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