gogol-shopping-content-0.5.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.Orderreturns.List

Contents

Description

Lists order returns in your Merchant Center account.

See: Content API for Shopping Reference for content.orderreturns.list.

Synopsis

REST Resource

type OrderreturnsListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderreturns" :> (QueryParam "orderBy" OrderreturnsListOrderBy :> (QueryParam "createdEndDate" Text :> (QueryParam "createdStartDate" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] OrderreturnsListResponse))))))))) Source #

A resource alias for content.orderreturns.list method which the OrderreturnsList request conforms to.

Creating a Request

orderreturnsList Source #

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

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

data OrderreturnsList Source #

Lists order returns in your Merchant Center account.

See: orderreturnsList smart constructor.

Instances
Eq OrderreturnsList Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderreturns.List

Data OrderreturnsList Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderreturns.List

Methods

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

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

toConstr :: OrderreturnsList -> Constr #

dataTypeOf :: OrderreturnsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrderreturnsList Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderreturns.List

Generic OrderreturnsList Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderreturns.List

Associated Types

type Rep OrderreturnsList :: Type -> Type #

GoogleRequest OrderreturnsList Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderreturns.List

Associated Types

type Rs OrderreturnsList :: Type #

type Scopes OrderreturnsList :: [Symbol] #

type Rep OrderreturnsList Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderreturns.List

type Rep OrderreturnsList = D1 (MetaData "OrderreturnsList" "Network.Google.Resource.Content.Orderreturns.List" "gogol-shopping-content-0.5.0-JEbpzNrc2lB7bX2emYTGER" False) (C1 (MetaCons "OrderreturnsList'" PrefixI True) ((S1 (MetaSel (Just "_ooMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_ooOrderBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OrderreturnsListOrderBy)) :*: S1 (MetaSel (Just "_ooCreatedEndDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_ooCreatedStartDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ooPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ooMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))))))
type Scopes OrderreturnsList Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderreturns.List

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

Defined in Network.Google.Resource.Content.Orderreturns.List

Request Lenses

ooMerchantId :: Lens' OrderreturnsList Word64 Source #

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

ooOrderBy :: Lens' OrderreturnsList (Maybe OrderreturnsListOrderBy) Source #

Return the results in the specified order.

ooCreatedEndDate :: Lens' OrderreturnsList (Maybe Text) Source #

Obtains order returns created before this date (inclusively), in ISO 8601 format.

ooCreatedStartDate :: Lens' OrderreturnsList (Maybe Text) Source #

Obtains order returns created after this date (inclusively), in ISO 8601 format.

ooPageToken :: Lens' OrderreturnsList (Maybe Text) Source #

The token returned by the previous request.

ooMaxResults :: Lens' OrderreturnsList (Maybe Word32) Source #

The maximum number of order returns to return in the response, used for paging. The default value is 25 returns per page, and the maximum allowed value is 250 returns per page.