| Copyright | (c) 2015 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 |
Network.Google.Resource.Content.Accounttax.List
Description
Lists the tax settings of the sub-accounts in your Merchant Center account.
See: Content API for Shopping Reference for content.accounttax.list.
- type AccounttaxListResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accounttax" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` AccounttaxListResponse))))))
- accounttaxList :: Word64 -> AccounttaxList
- data AccounttaxList
- allMerchantId :: Lens' AccounttaxList Word64
- allPageToken :: Lens' AccounttaxList (Maybe Text)
- allMaxResults :: Lens' AccounttaxList (Maybe Word32)
REST Resource
type AccounttaxListResource = "content" :> ("v2" :> (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
Arguments
| :: Word64 | |
| -> AccounttaxList |
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.
Request Lenses
allMerchantId :: Lens' AccounttaxList Word64 Source
The ID of the managing account.
allPageToken :: Lens' AccounttaxList (Maybe Text) Source
The token returned by the previous request.
allMaxResults :: Lens' AccounttaxList (Maybe Word32) Source
The maximum number of tax settings to return in the response, used for paging.