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 |
Lists the tax settings of the sub-accounts in your Merchant Center account.
See: Content API for Shopping Reference for content.accounttax.list
.
Synopsis
- type AccounttaxListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("accounttax" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AccounttaxListResponse))))))
- accounttaxList :: Word64 -> AccounttaxList
- data AccounttaxList
- al1MerchantId :: Lens' AccounttaxList Word64
- al1PageToken :: Lens' AccounttaxList (Maybe Text)
- al1MaxResults :: Lens' AccounttaxList (Maybe Word32)
REST Resource
type AccounttaxListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("accounttax" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AccounttaxListResponse)))))) Source #
A resource alias for content.accounttax.list
method which the
AccounttaxList
request conforms to.
Creating a Request
Creates a value of AccounttaxList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccounttaxList Source #
Lists the tax settings of the sub-accounts in your Merchant Center account.
See: accounttaxList
smart constructor.
Instances
Request Lenses
al1MerchantId :: Lens' AccounttaxList Word64 Source #
The ID of the managing account. This must be a multi-client account.
al1PageToken :: Lens' AccounttaxList (Maybe Text) Source #
The token returned by the previous request.
al1MaxResults :: Lens' AccounttaxList (Maybe Word32) Source #
The maximum number of tax settings to return in the response, used for paging.