Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Sets the POS data provider for the specified country.
See: Content API for Shopping Reference for content.liasettings.setposdataprovider
.
Synopsis
- 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)))))))))
- liaSettingsSetposDataprovider :: Word64 -> Text -> Word64 -> LiaSettingsSetposDataprovider
- data LiaSettingsSetposDataprovider
- lssdMerchantId :: Lens' LiaSettingsSetposDataprovider Word64
- lssdCountry :: Lens' LiaSettingsSetposDataprovider Text
- lssdAccountId :: Lens' LiaSettingsSetposDataprovider Word64
- lssdPosExternalAccountId :: Lens' LiaSettingsSetposDataprovider (Maybe Text)
- lssdPosDataProviderId :: Lens' LiaSettingsSetposDataprovider (Maybe Word64)
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
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.
lssdPosDataProviderId :: Lens' LiaSettingsSetposDataprovider (Maybe Word64) Source #
The ID of POS data provider.