Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Operations.GetTaxCodesId
Description
Contains the different functions to run the operation getTaxCodesId
Synopsis
- getTaxCodesId :: forall m. MonadHTTP m => GetTaxCodesIdParameters -> StripeT m (Response GetTaxCodesIdResponse)
- data GetTaxCodesIdParameters = GetTaxCodesIdParameters {}
- mkGetTaxCodesIdParameters :: Text -> GetTaxCodesIdParameters
- data GetTaxCodesIdResponse
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> GetTaxCodesIdParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetTaxCodesIdResponse) | Monadic computation which returns the result of the operation |
GET /v1/tax_codes/{id}
<p>Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.</p>
data GetTaxCodesIdParameters Source #
Defines the object schema located at paths./v1/tax_codes/{id}.GET.parameters
in the specification.
Constructors
GetTaxCodesIdParameters | |
Fields
|
Instances
Eq GetTaxCodesIdParameters Source # | |
Defined in StripeAPI.Operations.GetTaxCodesId Methods (==) :: GetTaxCodesIdParameters -> GetTaxCodesIdParameters -> Bool # (/=) :: GetTaxCodesIdParameters -> GetTaxCodesIdParameters -> Bool # | |
Show GetTaxCodesIdParameters Source # | |
Defined in StripeAPI.Operations.GetTaxCodesId Methods showsPrec :: Int -> GetTaxCodesIdParameters -> ShowS # show :: GetTaxCodesIdParameters -> String # showList :: [GetTaxCodesIdParameters] -> ShowS # | |
ToJSON GetTaxCodesIdParameters Source # | |
Defined in StripeAPI.Operations.GetTaxCodesId Methods toJSON :: GetTaxCodesIdParameters -> Value # toEncoding :: GetTaxCodesIdParameters -> Encoding # toJSONList :: [GetTaxCodesIdParameters] -> Value # | |
FromJSON GetTaxCodesIdParameters Source # | |
Defined in StripeAPI.Operations.GetTaxCodesId Methods parseJSON :: Value -> Parser GetTaxCodesIdParameters # parseJSONList :: Value -> Parser [GetTaxCodesIdParameters] # |
mkGetTaxCodesIdParameters Source #
Arguments
:: Text | |
-> GetTaxCodesIdParameters |
Create a new GetTaxCodesIdParameters
with all required fields.
data GetTaxCodesIdResponse Source #
Represents a response of the operation getTaxCodesId
.
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), GetTaxCodesIdResponseError
is used.
Constructors
GetTaxCodesIdResponseError String | Means either no matching case available or a parse error |
GetTaxCodesIdResponse200 TaxCode | Successful response. |
GetTaxCodesIdResponseDefault Error | Error response. |
Instances
Eq GetTaxCodesIdResponse Source # | |
Defined in StripeAPI.Operations.GetTaxCodesId Methods (==) :: GetTaxCodesIdResponse -> GetTaxCodesIdResponse -> Bool # (/=) :: GetTaxCodesIdResponse -> GetTaxCodesIdResponse -> Bool # | |
Show GetTaxCodesIdResponse Source # | |
Defined in StripeAPI.Operations.GetTaxCodesId Methods showsPrec :: Int -> GetTaxCodesIdResponse -> ShowS # show :: GetTaxCodesIdResponse -> String # showList :: [GetTaxCodesIdResponse] -> ShowS # |