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 |
Updates the tax settings of the account.
See: Content API for Shopping Reference for content.accounttax.update
.
- type AccounttaxUpdateResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accounttax" :> (Capture "accountId" (Textual Word64) :> (QueryParam "dryRun" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AccountTax :> Put '[JSON] AccountTax)))))))
- accounttaxUpdate :: Word64 -> AccountTax -> Word64 -> AccounttaxUpdate
- data AccounttaxUpdate
- auuMerchantId :: Lens' AccounttaxUpdate Word64
- auuPayload :: Lens' AccounttaxUpdate AccountTax
- auuAccountId :: Lens' AccounttaxUpdate Word64
- auuDryRun :: Lens' AccounttaxUpdate (Maybe Bool)
REST Resource
type AccounttaxUpdateResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accounttax" :> (Capture "accountId" (Textual Word64) :> (QueryParam "dryRun" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AccountTax :> Put '[JSON] AccountTax))))))) Source #
A resource alias for content.accounttax.update
method which the
AccounttaxUpdate
request conforms to.
Creating a Request
Creates a value of AccounttaxUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccounttaxUpdate Source #
Updates the tax settings of the account.
See: accounttaxUpdate
smart constructor.
Request Lenses
auuMerchantId :: Lens' AccounttaxUpdate Word64 Source #
The ID of the managing account.
auuPayload :: Lens' AccounttaxUpdate AccountTax Source #
Multipart request metadata.
auuAccountId :: Lens' AccounttaxUpdate Word64 Source #
The ID of the account for which to get/update account tax settings.