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

Contents

Description

Sets (overrides) merchant provided annotations on the line item.

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

Synopsis

REST Resource

type OrdersSetlineitemmetadataResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("setLineItemMetadata" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersSetLineItemMetadataRequest :> Post '[JSON] OrdersSetLineItemMetadataResponse))))))) Source #

A resource alias for content.orders.setlineitemmetadata method which the OrdersSetlineitemmetadata request conforms to.

Creating a Request

ordersSetlineitemmetadata Source #

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

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

data OrdersSetlineitemmetadata Source #

Sets (overrides) merchant provided annotations on the line item.

See: ordersSetlineitemmetadata smart constructor.

Instances
Eq OrdersSetlineitemmetadata Source # 
Instance details

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

Data OrdersSetlineitemmetadata Source # 
Instance details

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

Methods

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

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

toConstr :: OrdersSetlineitemmetadata -> Constr #

dataTypeOf :: OrdersSetlineitemmetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrdersSetlineitemmetadata Source # 
Instance details

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

Generic OrdersSetlineitemmetadata Source # 
Instance details

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

Associated Types

type Rep OrdersSetlineitemmetadata :: Type -> Type #

GoogleRequest OrdersSetlineitemmetadata Source # 
Instance details

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

type Rep OrdersSetlineitemmetadata Source # 
Instance details

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

type Rep OrdersSetlineitemmetadata = D1 (MetaData "OrdersSetlineitemmetadata" "Network.Google.Resource.Content.Orders.Setlineitemmetadata" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "OrdersSetlineitemmetadata'" PrefixI True) (S1 (MetaSel (Just "_ossMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_ossPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrdersSetLineItemMetadataRequest) :*: S1 (MetaSel (Just "_ossOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes OrdersSetlineitemmetadata Source # 
Instance details

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

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

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

Request Lenses

ossMerchantId :: Lens' OrdersSetlineitemmetadata Word64 Source #

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