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

Contents

Description

Returns and refunds a line item. Note that this method can only be called on fully shipped orders.

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

Synopsis

REST Resource

type OrdersReturnrefundlineitemResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("returnRefundLineItem" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersReturnRefundLineItemRequest :> Post '[JSON] OrdersReturnRefundLineItemResponse))))))) Source #

A resource alias for content.orders.returnrefundlineitem method which the OrdersReturnrefundlineitem request conforms to.

Creating a Request

ordersReturnrefundlineitem Source #

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

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

data OrdersReturnrefundlineitem Source #

Returns and refunds a line item. Note that this method can only be called on fully shipped orders.

See: ordersReturnrefundlineitem smart constructor.

Instances
Eq OrdersReturnrefundlineitem Source # 
Instance details

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

Data OrdersReturnrefundlineitem Source # 
Instance details

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

Methods

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

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

toConstr :: OrdersReturnrefundlineitem -> Constr #

dataTypeOf :: OrdersReturnrefundlineitem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrdersReturnrefundlineitem Source # 
Instance details

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

Generic OrdersReturnrefundlineitem Source # 
Instance details

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

Associated Types

type Rep OrdersReturnrefundlineitem :: Type -> Type #

GoogleRequest OrdersReturnrefundlineitem Source # 
Instance details

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

type Rep OrdersReturnrefundlineitem Source # 
Instance details

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

type Rep OrdersReturnrefundlineitem = D1 (MetaData "OrdersReturnrefundlineitem" "Network.Google.Resource.Content.Orders.Returnrefundlineitem" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "OrdersReturnrefundlineitem'" PrefixI True) (S1 (MetaSel (Just "_orMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_orPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrdersReturnRefundLineItemRequest) :*: S1 (MetaSel (Just "_orOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes OrdersReturnrefundlineitem Source # 
Instance details

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

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

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

Request Lenses

orMerchantId :: Lens' OrdersReturnrefundlineitem Word64 Source #

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