CountrySpec constructor

const CountrySpec({
  1. required String defaultCurrency,
  2. required String id,
  3. required Map<String, List<String>> supportedBankAccountCurrencies,
  4. required List<String> supportedPaymentCurrencies,
  5. required List<String> supportedPaymentMethods,
  6. required List<String> supportedTransferCountries,
  7. required CountrySpecVerificationFields verificationFields,
})

CountrySpec

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](/docs/connect/required-verification-information).

Implementation

const CountrySpec({
  required this.defaultCurrency,
  required this.id,
  required this.supportedBankAccountCurrencies,
  required this.supportedPaymentCurrencies,
  required this.supportedPaymentMethods,
  required this.supportedTransferCountries,
  required this.verificationFields,
});