Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getTaxCodes
Synopsis
- getTaxCodes :: forall m. MonadHTTP m => GetTaxCodesParameters -> StripeT m (Response GetTaxCodesResponse)
- data GetTaxCodesParameters = GetTaxCodesParameters {}
- mkGetTaxCodesParameters :: GetTaxCodesParameters
- data GetTaxCodesResponse
- data GetTaxCodesResponseBody200 = GetTaxCodesResponseBody200 {}
- mkGetTaxCodesResponseBody200 :: [TaxCode] -> Bool -> Text -> GetTaxCodesResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetTaxCodesParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetTaxCodesResponse) | Monadic computation which returns the result of the operation |
GET /v1/tax_codes
<p>A list of <a href="https://stripe.com/docs/tax/tax-codes">all tax codes available</a> to add to Products in order to allow specific tax calculations.</p>
data GetTaxCodesParameters Source #
Defines the object schema located at paths./v1/tax_codes.GET.parameters
in the specification.
GetTaxCodesParameters | |
|
Instances
Eq GetTaxCodesParameters Source # | |
Defined in StripeAPI.Operations.GetTaxCodes (==) :: GetTaxCodesParameters -> GetTaxCodesParameters -> Bool # (/=) :: GetTaxCodesParameters -> GetTaxCodesParameters -> Bool # | |
Show GetTaxCodesParameters Source # | |
Defined in StripeAPI.Operations.GetTaxCodes showsPrec :: Int -> GetTaxCodesParameters -> ShowS # show :: GetTaxCodesParameters -> String # showList :: [GetTaxCodesParameters] -> ShowS # | |
ToJSON GetTaxCodesParameters Source # | |
Defined in StripeAPI.Operations.GetTaxCodes toJSON :: GetTaxCodesParameters -> Value # toEncoding :: GetTaxCodesParameters -> Encoding # toJSONList :: [GetTaxCodesParameters] -> Value # toEncodingList :: [GetTaxCodesParameters] -> Encoding # | |
FromJSON GetTaxCodesParameters Source # | |
Defined in StripeAPI.Operations.GetTaxCodes parseJSON :: Value -> Parser GetTaxCodesParameters # parseJSONList :: Value -> Parser [GetTaxCodesParameters] # |
mkGetTaxCodesParameters :: GetTaxCodesParameters Source #
Create a new GetTaxCodesParameters
with all required fields.
data GetTaxCodesResponse Source #
Represents a response of the operation getTaxCodes
.
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), GetTaxCodesResponseError
is used.
GetTaxCodesResponseError String | Means either no matching case available or a parse error |
GetTaxCodesResponse200 GetTaxCodesResponseBody200 | Successful response. |
GetTaxCodesResponseDefault Error | Error response. |
Instances
Eq GetTaxCodesResponse Source # | |
Defined in StripeAPI.Operations.GetTaxCodes (==) :: GetTaxCodesResponse -> GetTaxCodesResponse -> Bool # (/=) :: GetTaxCodesResponse -> GetTaxCodesResponse -> Bool # | |
Show GetTaxCodesResponse Source # | |
Defined in StripeAPI.Operations.GetTaxCodes showsPrec :: Int -> GetTaxCodesResponse -> ShowS # show :: GetTaxCodesResponse -> String # showList :: [GetTaxCodesResponse] -> ShowS # |
data GetTaxCodesResponseBody200 Source #
Defines the object schema located at paths./v1/tax_codes.GET.responses.200.content.application/json.schema
in the specification.
GetTaxCodesResponseBody200 | |
|
Instances
mkGetTaxCodesResponseBody200 Source #
:: [TaxCode] | |
-> Bool | |
-> Text | |
-> GetTaxCodesResponseBody200 |
Create a new GetTaxCodesResponseBody200
with all required fields.