CountrySpec class final
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).
- Implemented types
Constructors
-
CountrySpec({required String defaultCurrency, required String id, required Map<
String, List< supportedBankAccountCurrencies, required List<String> >String> supportedPaymentCurrencies, required List<String> supportedPaymentMethods, required List<String> supportedTransferCountries, required CountrySpecVerificationFields verificationFields}) -
CountrySpec
const
- CountrySpec.fromJson(Object? json)
-
factory
Properties
- defaultCurrency → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- object → String
-
The resource's type.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportedBankAccountCurrencies
→ Map<
String, List< String> > -
final
-
supportedPaymentCurrencies
→ List<
String> -
final
-
supportedPaymentMethods
→ List<
String> -
final
-
supportedTransferCountries
→ List<
String> -
final
- verificationFields → CountrySpecVerificationFields
-
final
Methods
-
encodeWith<
V> (Encoder< V> encoder) → V -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encode<
V> (CountrySpec instance, Encoder< V> encoder) → V