Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCountrySpecs
Synopsis
- getCountrySpecs :: forall m. MonadHTTP m => GetCountrySpecsParameters -> ClientT m (Response GetCountrySpecsResponse)
- data GetCountrySpecsParameters = GetCountrySpecsParameters {}
- mkGetCountrySpecsParameters :: GetCountrySpecsParameters
- data GetCountrySpecsResponse
- data GetCountrySpecsResponseBody200 = GetCountrySpecsResponseBody200 {}
- mkGetCountrySpecsResponseBody200 :: [CountrySpec] -> Bool -> Text -> GetCountrySpecsResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetCountrySpecsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetCountrySpecsResponse) | Monadic computation which returns the result of the operation |
GET /v1/country_specs
<p>Lists all Country Spec objects available in the API.</p>
data GetCountrySpecsParameters Source #
Defines the object schema located at paths./v1/country_specs.GET.parameters
in the specification.
GetCountrySpecsParameters | |
|
Instances
mkGetCountrySpecsParameters :: GetCountrySpecsParameters Source #
Create a new GetCountrySpecsParameters
with all required fields.
data GetCountrySpecsResponse Source #
Represents a response of the operation getCountrySpecs
.
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), GetCountrySpecsResponseError
is used.
GetCountrySpecsResponseError String | Means either no matching case available or a parse error |
GetCountrySpecsResponse200 GetCountrySpecsResponseBody200 | Successful response. |
GetCountrySpecsResponseDefault Error | Error response. |
Instances
Eq GetCountrySpecsResponse Source # | |
Defined in StripeAPI.Operations.GetCountrySpecs | |
Show GetCountrySpecsResponse Source # | |
Defined in StripeAPI.Operations.GetCountrySpecs showsPrec :: Int -> GetCountrySpecsResponse -> ShowS # show :: GetCountrySpecsResponse -> String # showList :: [GetCountrySpecsResponse] -> ShowS # |
data GetCountrySpecsResponseBody200 Source #
Defines the object schema located at paths./v1/country_specs.GET.responses.200.content.application/json.schema
in the specification.
GetCountrySpecsResponseBody200 | |
|
mkGetCountrySpecsResponseBody200 Source #
:: [CountrySpec] | |
-> Bool | |
-> Text | |
-> GetCountrySpecsResponseBody200 |
Create a new GetCountrySpecsResponseBody200
with all required fields.