stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetCountrySpecsCountry

Description

Contains the different functions to run the operation getCountrySpecsCountry

Synopsis

Documentation

getCountrySpecsCountry Source #

Arguments

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

The configuration to use in the request

-> String

country | Constraints: Maximum length of 5000

-> Maybe String

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

-> GetCountrySpecsCountryRequestBody

The request body to send

-> m (Either HttpException (Response GetCountrySpecsCountryResponse))

Monad containing the result of the operation

GET /v1/country_specs/{country}

<p>Returns a Country Spec for a given Country code.</p>

data GetCountrySpecsCountryResponse Source #

Represents a response of the operation getCountrySpecsCountry.

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), GetCountrySpecsCountryResponseError is used.

Constructors

GetCountrySpecsCountryResponseError String

Means either no matching case available or a parse error

GetCountrySpecsCountryResponse200 CountrySpec

Successful response.

GetCountrySpecsCountryResponseDefault Error

Error response.