Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema CountrySpec
Synopsis
- data CountrySpec = CountrySpec {
- countrySpecDefaultCurrency :: Text
- countrySpecId :: Text
- countrySpecSupportedBankAccountCurrencies :: Object
- countrySpecSupportedPaymentCurrencies :: [Text]
- countrySpecSupportedPaymentMethods :: [Text]
- countrySpecSupportedTransferCountries :: [Text]
- countrySpecVerificationFields :: CountrySpecVerificationFields
- mkCountrySpec :: Text -> Text -> Object -> [Text] -> [Text] -> [Text] -> CountrySpecVerificationFields -> CountrySpec
Documentation
data CountrySpec Source #
Defines the object schema located at components.schemas.country_spec
in the specification.
Stripe needs to collect certain pieces of information about each account created. These requirements can differ depending on the account's country. The Country Specs API makes these rules available to your integration.
You can also view the information from this API call as an online guide.
CountrySpec | |
|
Instances
Eq CountrySpec Source # | |
Defined in StripeAPI.Types.CountrySpec (==) :: CountrySpec -> CountrySpec -> Bool # (/=) :: CountrySpec -> CountrySpec -> Bool # | |
Show CountrySpec Source # | |
Defined in StripeAPI.Types.CountrySpec showsPrec :: Int -> CountrySpec -> ShowS # show :: CountrySpec -> String # showList :: [CountrySpec] -> ShowS # | |
ToJSON CountrySpec Source # | |
Defined in StripeAPI.Types.CountrySpec toJSON :: CountrySpec -> Value # toEncoding :: CountrySpec -> Encoding # toJSONList :: [CountrySpec] -> Value # toEncodingList :: [CountrySpec] -> Encoding # | |
FromJSON CountrySpec Source # | |
Defined in StripeAPI.Types.CountrySpec parseJSON :: Value -> Parser CountrySpec # parseJSONList :: Value -> Parser [CountrySpec] # |
:: Text | |
-> Text | |
-> Object | |
-> [Text] | |
-> [Text] | |
-> [Text] | |
-> CountrySpecVerificationFields | |
-> CountrySpec |
Create a new CountrySpec
with all required fields.