stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetTaxRatesTaxRate

Description

Contains the different functions to run the operation getTaxRatesTaxRate

Synopsis

Documentation

getTaxRatesTaxRate Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> Maybe Text

expand: Specifies which fields in the response should be expanded.

-> Text

tax_rate | Constraints: Maximum length of 5000

-> Maybe 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 Text -> Text -> Maybe GetTaxRatesTaxRateRequestBody -> m (Either HttpException (Response ByteString)) Source #

GET /v1/tax_rates/{tax_rate}

The same as getTaxRatesTaxRate but returns the raw ByteString

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.

Constructors

GetTaxRatesTaxRateResponseError String

Means either no matching case available or a parse error

GetTaxRatesTaxRateResponse200 TaxRate

Successful response.

GetTaxRatesTaxRateResponseDefault Error

Error response.