Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getTaxRatesTaxRate
Synopsis
- getTaxRatesTaxRate :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetTaxRatesTaxRateRequestBody -> m (Either HttpException (Response GetTaxRatesTaxRateResponse))
- getTaxRatesTaxRateRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetTaxRatesTaxRateRequestBody -> m (Either HttpException (Response ByteString))
- getTaxRatesTaxRateM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTaxRatesTaxRateRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetTaxRatesTaxRateResponse))
- getTaxRatesTaxRateRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTaxRatesTaxRateRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetTaxRatesTaxRateRequestBody = GetTaxRatesTaxRateRequestBody {
- data GetTaxRatesTaxRateResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | tax_rate | Constraints: Maximum length of 5000 |
-> GetTaxRatesTaxRateRequestBody | The request body to send |
-> m (Either HttpException (Response GetTaxRatesTaxRateResponse)) | Monad containing the result of the operation |
GET /v1/tax_rates/{tax_rate}
<p>Retrieves a tax rate with the given ID</p>
getTaxRatesTaxRateRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetTaxRatesTaxRateRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/tax_rates/{tax_rate}
The same as getTaxRatesTaxRate
but returns the raw ByteString
getTaxRatesTaxRateM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTaxRatesTaxRateRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetTaxRatesTaxRateResponse)) Source #
GET /v1/tax_rates/{tax_rate}
Monadic version of getTaxRatesTaxRate
(use with runWithConfiguration
)
getTaxRatesTaxRateRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTaxRatesTaxRateRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/tax_rates/{tax_rate}
Monadic version of getTaxRatesTaxRateRaw
(use with runWithConfiguration
)
data GetTaxRatesTaxRateRequestBody Source #
Defines the data type for the schema getTaxRatesTaxRateRequestBody
Instances
data GetTaxRatesTaxRateResponse Source #
Represents a response of the operation getTaxRatesTaxRate
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), GetTaxRatesTaxRateResponseError
is used.
GetTaxRatesTaxRateResponseError String | Means either no matching case available or a parse error |
GetTaxRatesTaxRateResponse200 TaxRate | Successful response. |
GetTaxRatesTaxRateResponseDefault Error | Error response. |