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