Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Types.CountrySpec
Description
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.
Constructors
CountrySpec | |
Fields
|
Instances
Eq CountrySpec Source # | |
Defined in StripeAPI.Types.CountrySpec | |
Show CountrySpec Source # | |
Defined in StripeAPI.Types.CountrySpec Methods showsPrec :: Int -> CountrySpec -> ShowS # show :: CountrySpec -> String # showList :: [CountrySpec] -> ShowS # | |
ToJSON CountrySpec Source # | |
Defined in StripeAPI.Types.CountrySpec Methods toJSON :: CountrySpec -> Value # toEncoding :: CountrySpec -> Encoding # toJSONList :: [CountrySpec] -> Value # toEncodingList :: [CountrySpec] -> Encoding # | |
FromJSON CountrySpec Source # | |
Defined in StripeAPI.Types.CountrySpec |
Arguments
:: Text | |
-> Text | |
-> Object | |
-> [Text] | |
-> [Text] | |
-> [Text] | |
-> CountrySpecVerificationFields | |
-> CountrySpec |
Create a new CountrySpec
with all required fields.