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.LiaSettings.SetposDataprovider

Contents

Description

Sets the POS data provider for the specified country.

See: Content API for Shopping Reference for content.liasettings.setposdataprovider.

Synopsis

REST Resource

type LiaSettingsSetposDataproviderResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("liasettings" :> (Capture "accountId" (Textual Word64) :> ("setposdataprovider" :> (QueryParam "country" Text :> (QueryParam "posExternalAccountId" Text :> (QueryParam "posDataProviderId" (Textual Word64) :> (QueryParam "alt" AltJSON :> Post '[JSON] LiaSettingsSetPosDataProviderResponse))))))))) Source #

A resource alias for content.liasettings.setposdataprovider method which the LiaSettingsSetposDataprovider request conforms to.

Creating a Request

liaSettingsSetposDataprovider Source #

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

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

data LiaSettingsSetposDataprovider Source #

Sets the POS data provider for the specified country.

See: liaSettingsSetposDataprovider smart constructor.

Instances
Eq LiaSettingsSetposDataprovider Source # 
Instance details

Defined in Network.Google.Resource.Content.LiaSettings.SetposDataprovider

Data LiaSettingsSetposDataprovider Source # 
Instance details

Defined in Network.Google.Resource.Content.LiaSettings.SetposDataprovider

Methods

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

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

toConstr :: LiaSettingsSetposDataprovider -> Constr #

dataTypeOf :: LiaSettingsSetposDataprovider -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LiaSettingsSetposDataprovider Source # 
Instance details

Defined in Network.Google.Resource.Content.LiaSettings.SetposDataprovider

Generic LiaSettingsSetposDataprovider Source # 
Instance details

Defined in Network.Google.Resource.Content.LiaSettings.SetposDataprovider

Associated Types

type Rep LiaSettingsSetposDataprovider :: Type -> Type #

GoogleRequest LiaSettingsSetposDataprovider Source # 
Instance details

Defined in Network.Google.Resource.Content.LiaSettings.SetposDataprovider

type Rep LiaSettingsSetposDataprovider Source # 
Instance details

Defined in Network.Google.Resource.Content.LiaSettings.SetposDataprovider

type Rep LiaSettingsSetposDataprovider = D1 (MetaData "LiaSettingsSetposDataprovider" "Network.Google.Resource.Content.LiaSettings.SetposDataprovider" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "LiaSettingsSetposDataprovider'" PrefixI True) ((S1 (MetaSel (Just "_lssdMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: S1 (MetaSel (Just "_lssdCountry") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_lssdAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_lssdPosExternalAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lssdPosDataProviderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))))))
type Scopes LiaSettingsSetposDataprovider Source # 
Instance details

Defined in Network.Google.Resource.Content.LiaSettings.SetposDataprovider

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

Defined in Network.Google.Resource.Content.LiaSettings.SetposDataprovider

Request Lenses

lssdMerchantId :: Lens' LiaSettingsSetposDataprovider Word64 Source #

The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.

lssdCountry :: Lens' LiaSettingsSetposDataprovider Text Source #

The country for which the POS data provider is selected.

lssdAccountId :: Lens' LiaSettingsSetposDataprovider Word64 Source #

The ID of the account for which to retrieve accessible Google My Business accounts.

lssdPosExternalAccountId :: Lens' LiaSettingsSetposDataprovider (Maybe Text) Source #

The account ID by which this merchant is known to the POS data provider.