ApiErrorsCode extension type

on
Implemented types
Available extensions

Constructors

ApiErrorsCode(String _)
const
ApiErrorsCode.fromJson(Object? json)

Properties

codeUnits → List<int>
An unmodifiable list of the UTF-16 code units of this string.
no setterinherited
hashCode → int
A hash code derived from the code units of the string.
no setterinherited
isEmpty → bool
Whether this string is empty.
no setterinherited
isNotEmpty → bool
Whether this string is not empty.
no setterinherited
length → int
The length of the string.
no setterinherited
runes → Runes
An Iterable of Unicode code-points of this string.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toJS → JSString

Available on String, provided by the StringToJSString extension

Converts this String to a JSString.
no setter

Methods

allMatches(String string, [int start = 0]) → Iterable<Match>
Matches this pattern against the string repeatedly.
inherited
codeUnitAt(int index) → int
Returns the 16-bit UTF-16 code unit at the given index.
inherited
compareTo(String other) → int
Compares this string to other.
inherited
contains(Pattern other, [int startIndex = 0]) → bool
Whether this string contains a match of other.
inherited
encodeWith<V>(Encoder<V> encoder) → V
endsWith(String other) → bool
Whether this string ends with other.
inherited
indexOf(Pattern pattern, [int start = 0]) → int
Returns the position of the first match of pattern in this string, starting at start, inclusive:
inherited
lastIndexOf(Pattern pattern, [int? start]) → int
The starting position of the last match pattern in this string.
inherited
matchAsPrefix(String string, [int start = 0]) → Match?
Matches this pattern against the start of string.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
padLeft(int width, [String padding = ' ']) → String
Pads this string on the left if it is shorter than width.
inherited
padRight(int width, [String padding = ' ']) → String
Pads this string on the right if it is shorter than width.
inherited
replaceAll(Pattern from, String replace) → String
Replaces all substrings that match from with replace.
inherited
replaceAllMapped(Pattern from, String replace(Match match)) → String
Replace all substrings that match from by a computed string.
inherited
replaceFirst(Pattern from, String to, [int startIndex = 0]) → String
Creates a new string with the first occurrence of from replaced by to.
inherited
replaceFirstMapped(Pattern from, String replace(Match match), [int startIndex = 0]) → String
Replace the first occurrence of from in this string.
inherited
replaceRange(int start, int? end, String replacement) → String
Replaces the substring from start to end with replacement.
inherited
split(Pattern pattern) → List<String>
Splits the string at matches of pattern and returns a list of substrings.
inherited
splitMapJoin(Pattern pattern, {String onMatch(Match)?, String onNonMatch(String)?}) → String
Splits the string, converts its parts, and combines them into a new string.
inherited
startsWith(Pattern pattern, [int index = 0]) → bool
Whether this string starts with a match of pattern.
inherited
substring(int start, [int? end]) → String
The substring of this string from start, inclusive, to end, exclusive.
inherited
toJson() → String
toLowerCase() → String
Converts all characters in this string to lower case.
inherited
toString() → String
A string representation of this object.
inherited
toUpperCase() → String
Converts all characters in this string to upper case.
inherited
trim() → String
The string without any leading and trailing whitespace.
inherited
trimLeft() → String
The string without any leading whitespace.
inherited
trimRight() → String
The string without any trailing whitespace.
inherited

Operators

operator *(int times) → String
Creates a new string by concatenating this string with itself a number of times.
inherited
operator +(String other) → String
Creates a new string by concatenating this string with other.
inherited
operator ==(Object other) → bool
Whether other is a String with the same sequence of code units.
inherited
operator [](int index) → String
The character (as a single-code-unit String) at the given index.
inherited

Static Methods

encode<V>(ApiErrorsCode instance, Encoder<V> encoder) → V

Constants

accountClosed → const ApiErrorsCode
account_closed
accountCountryInvalidAddress → const ApiErrorsCode
account_country_invalid_address
accountErrorCountryChangeRequiresAdditionalSteps → const ApiErrorsCode
account_error_country_change_requires_additional_steps
accountInformationMismatch → const ApiErrorsCode
account_information_mismatch
accountInvalid → const ApiErrorsCode
account_invalid
accountNumberInvalid → const ApiErrorsCode
account_number_invalid
acssDebitSessionIncomplete → const ApiErrorsCode
acss_debit_session_incomplete
alipayUpgradeRequired → const ApiErrorsCode
alipay_upgrade_required
amountTooLarge → const ApiErrorsCode
amount_too_large
amountTooSmall → const ApiErrorsCode
amount_too_small
apiKeyExpired → const ApiErrorsCode
api_key_expired
applicationFeesNotAllowed → const ApiErrorsCode
application_fees_not_allowed
authenticationRequired → const ApiErrorsCode
authentication_required
balanceInsufficient → const ApiErrorsCode
balance_insufficient
balanceInvalidParameter → const ApiErrorsCode
balance_invalid_parameter
bankAccountBadRoutingNumbers → const ApiErrorsCode
bank_account_bad_routing_numbers
bankAccountDeclined → const ApiErrorsCode
bank_account_declined
bankAccountExists → const ApiErrorsCode
bank_account_exists
bankAccountRestricted → const ApiErrorsCode
bank_account_restricted
bankAccountUnusable → const ApiErrorsCode
bank_account_unusable
bankAccountUnverified → const ApiErrorsCode
bank_account_unverified
bankAccountVerificationFailed → const ApiErrorsCode
bank_account_verification_failed
billingInvalidMandate → const ApiErrorsCode
billing_invalid_mandate
bitcoinUpgradeRequired → const ApiErrorsCode
bitcoin_upgrade_required
captureChargeAuthorizationExpired → const ApiErrorsCode
capture_charge_authorization_expired
captureUnauthorizedPayment → const ApiErrorsCode
capture_unauthorized_payment
cardDeclined → const ApiErrorsCode
card_declined
cardDeclineRateLimitExceeded → const ApiErrorsCode
card_decline_rate_limit_exceeded
cardholderPhoneNumberRequired → const ApiErrorsCode
cardholder_phone_number_required
chargeAlreadyCaptured → const ApiErrorsCode
charge_already_captured
chargeAlreadyRefunded → const ApiErrorsCode
charge_already_refunded
chargeDisputed → const ApiErrorsCode
charge_disputed
chargeExceedsSourceLimit → const ApiErrorsCode
charge_exceeds_source_limit
chargeExpiredForCapture → const ApiErrorsCode
charge_expired_for_capture
chargeInvalidParameter → const ApiErrorsCode
charge_invalid_parameter
chargeNotRefundable → const ApiErrorsCode
charge_not_refundable
clearingCodeUnsupported → const ApiErrorsCode
clearing_code_unsupported
countryCodeInvalid → const ApiErrorsCode
country_code_invalid
countryUnsupported → const ApiErrorsCode
country_unsupported
couponExpired → const ApiErrorsCode
coupon_expired
customerMaxPaymentMethods → const ApiErrorsCode
customer_max_payment_methods
customerMaxSubscriptions → const ApiErrorsCode
customer_max_subscriptions
customerTaxLocationInvalid → const ApiErrorsCode
customer_tax_location_invalid
debitNotAuthorized → const ApiErrorsCode
debit_not_authorized
emailInvalid → const ApiErrorsCode
email_invalid
expiredCard → const ApiErrorsCode
expired_card
financialConnectionsAccountInactive → const ApiErrorsCode
financial_connections_account_inactive
financialConnectionsNoSuccessfulTransactionRefresh → const ApiErrorsCode
financial_connections_no_successful_transaction_refresh
forwardingApiInactive → const ApiErrorsCode
forwarding_api_inactive
forwardingApiInvalidParameter → const ApiErrorsCode
forwarding_api_invalid_parameter
forwardingApiUpstreamConnectionError → const ApiErrorsCode
forwarding_api_upstream_connection_error
forwardingApiUpstreamConnectionTimeout → const ApiErrorsCode
forwarding_api_upstream_connection_timeout
idempotencyKeyInUse → const ApiErrorsCode
idempotency_key_in_use
incorrectAddress → const ApiErrorsCode
incorrect_address
incorrectCvc → const ApiErrorsCode
incorrect_cvc
incorrectNumber → const ApiErrorsCode
incorrect_number
incorrectZip → const ApiErrorsCode
incorrect_zip
instantPayoutsConfigDisabled → const ApiErrorsCode
instant_payouts_config_disabled
instantPayoutsCurrencyDisabled → const ApiErrorsCode
instant_payouts_currency_disabled
instantPayoutsLimitExceeded → const ApiErrorsCode
instant_payouts_limit_exceeded
instantPayoutsUnsupported → const ApiErrorsCode
instant_payouts_unsupported
insufficientFunds → const ApiErrorsCode
insufficient_funds
intentInvalidState → const ApiErrorsCode
intent_invalid_state
intentVerificationMethodMissing → const ApiErrorsCode
intent_verification_method_missing
invalidCardType → const ApiErrorsCode
invalid_card_type
invalidCharacters → const ApiErrorsCode
invalid_characters
invalidChargeAmount → const ApiErrorsCode
invalid_charge_amount
invalidCvc → const ApiErrorsCode
invalid_cvc
invalidExpiryMonth → const ApiErrorsCode
invalid_expiry_month
invalidExpiryYear → const ApiErrorsCode
invalid_expiry_year
invalidNumber → const ApiErrorsCode
invalid_number
invalidSourceUsage → const ApiErrorsCode
invalid_source_usage
invalidTaxLocation → const ApiErrorsCode
invalid_tax_location
invoiceNoCustomerLineItems → const ApiErrorsCode
invoice_no_customer_line_items
invoiceNoPaymentMethodTypes → const ApiErrorsCode
invoice_no_payment_method_types
invoiceNoSubscriptionLineItems → const ApiErrorsCode
invoice_no_subscription_line_items
invoiceNotEditable → const ApiErrorsCode
invoice_not_editable
invoiceOnBehalfOfNotEditable → const ApiErrorsCode
invoice_on_behalf_of_not_editable
invoicePaymentIntentRequiresAction → const ApiErrorsCode
invoice_payment_intent_requires_action
invoiceUpcomingNone → const ApiErrorsCode
invoice_upcoming_none
livemodeMismatch → const ApiErrorsCode
livemode_mismatch
lockTimeout → const ApiErrorsCode
lock_timeout
missing → const ApiErrorsCode
missing
noAccount → const ApiErrorsCode
no_account
notAllowedOnStandardAccount → const ApiErrorsCode
not_allowed_on_standard_account
outOfInventory → const ApiErrorsCode
out_of_inventory
ownershipDeclarationNotAllowed → const ApiErrorsCode
ownership_declaration_not_allowed
parameterInvalidEmpty → const ApiErrorsCode
parameter_invalid_empty
parameterInvalidInteger → const ApiErrorsCode
parameter_invalid_integer
parameterInvalidStringBlank → const ApiErrorsCode
parameter_invalid_string_blank
parameterInvalidStringEmpty → const ApiErrorsCode
parameter_invalid_string_empty
parameterMissing → const ApiErrorsCode
parameter_missing
parametersExclusive → const ApiErrorsCode
parameters_exclusive
parameterUnknown → const ApiErrorsCode
parameter_unknown
paymentIntentActionRequired → const ApiErrorsCode
payment_intent_action_required
paymentIntentAuthenticationFailure → const ApiErrorsCode
payment_intent_authentication_failure
paymentIntentIncompatiblePaymentMethod → const ApiErrorsCode
payment_intent_incompatible_payment_method
paymentIntentInvalidParameter → const ApiErrorsCode
payment_intent_invalid_parameter
paymentIntentKonbiniRejectedConfirmationNumber → const ApiErrorsCode
payment_intent_konbini_rejected_confirmation_number
paymentIntentMandateInvalid → const ApiErrorsCode
payment_intent_mandate_invalid
paymentIntentPaymentAttemptExpired → const ApiErrorsCode
payment_intent_payment_attempt_expired
paymentIntentPaymentAttemptFailed → const ApiErrorsCode
payment_intent_payment_attempt_failed
paymentIntentUnexpectedState → const ApiErrorsCode
payment_intent_unexpected_state
paymentMethodBankAccountAlreadyVerified → const ApiErrorsCode
payment_method_bank_account_already_verified
paymentMethodBankAccountBlocked → const ApiErrorsCode
payment_method_bank_account_blocked
paymentMethodBillingDetailsAddressMissing → const ApiErrorsCode
payment_method_billing_details_address_missing
paymentMethodConfigurationFailures → const ApiErrorsCode
payment_method_configuration_failures
paymentMethodCurrencyMismatch → const ApiErrorsCode
payment_method_currency_mismatch
paymentMethodCustomerDecline → const ApiErrorsCode
payment_method_customer_decline
paymentMethodInvalidParameter → const ApiErrorsCode
payment_method_invalid_parameter
paymentMethodInvalidParameterTestmode → const ApiErrorsCode
payment_method_invalid_parameter_testmode
paymentMethodMicrodepositFailed → const ApiErrorsCode
payment_method_microdeposit_failed
paymentMethodMicrodepositVerificationAmountsInvalid → const ApiErrorsCode
payment_method_microdeposit_verification_amounts_invalid
paymentMethodMicrodepositVerificationAmountsMismatch → const ApiErrorsCode
payment_method_microdeposit_verification_amounts_mismatch
paymentMethodMicrodepositVerificationAttemptsExceeded → const ApiErrorsCode
payment_method_microdeposit_verification_attempts_exceeded
paymentMethodMicrodepositVerificationDescriptorCodeMismatch → const ApiErrorsCode
payment_method_microdeposit_verification_descriptor_code_mismatch
paymentMethodMicrodepositVerificationTimeout → const ApiErrorsCode
payment_method_microdeposit_verification_timeout
paymentMethodNotAvailable → const ApiErrorsCode
payment_method_not_available
paymentMethodProviderDecline → const ApiErrorsCode
payment_method_provider_decline
paymentMethodProviderTimeout → const ApiErrorsCode
payment_method_provider_timeout
paymentMethodUnactivated → const ApiErrorsCode
payment_method_unactivated
paymentMethodUnexpectedState → const ApiErrorsCode
payment_method_unexpected_state
paymentMethodUnsupportedType → const ApiErrorsCode
payment_method_unsupported_type
payoutReconciliationNotReady → const ApiErrorsCode
payout_reconciliation_not_ready
payoutsLimitExceeded → const ApiErrorsCode
payouts_limit_exceeded
payoutsNotAllowed → const ApiErrorsCode
payouts_not_allowed
platformAccountRequired → const ApiErrorsCode
platform_account_required
platformApiKeyExpired → const ApiErrorsCode
platform_api_key_expired
postalCodeInvalid → const ApiErrorsCode
postal_code_invalid
processingError → const ApiErrorsCode
processing_error
productInactive → const ApiErrorsCode
product_inactive
progressiveOnboardingLimitExceeded → const ApiErrorsCode
progressive_onboarding_limit_exceeded
rateLimit → const ApiErrorsCode
rate_limit
referToCustomer → const ApiErrorsCode
refer_to_customer
refundDisputedPayment → const ApiErrorsCode
refund_disputed_payment
resourceAlreadyExists → const ApiErrorsCode
resource_already_exists
resourceMissing → const ApiErrorsCode
resource_missing
returnIntentAlreadyProcessed → const ApiErrorsCode
return_intent_already_processed
routingNumberInvalid → const ApiErrorsCode
routing_number_invalid
secretKeyRequired → const ApiErrorsCode
secret_key_required
sepaUnsupportedAccount → const ApiErrorsCode
sepa_unsupported_account
setupAttemptFailed → const ApiErrorsCode
setup_attempt_failed
setupIntentAuthenticationFailure → const ApiErrorsCode
setup_intent_authentication_failure
setupIntentInvalidParameter → const ApiErrorsCode
setup_intent_invalid_parameter
setupIntentMandateInvalid → const ApiErrorsCode
setup_intent_mandate_invalid
setupIntentSetupAttemptExpired → const ApiErrorsCode
setup_intent_setup_attempt_expired
setupIntentUnexpectedState → const ApiErrorsCode
setup_intent_unexpected_state
shippingCalculationFailed → const ApiErrorsCode
shipping_calculation_failed
skuInactive → const ApiErrorsCode
sku_inactive
stateUnsupported → const ApiErrorsCode
state_unsupported
statusTransitionInvalid → const ApiErrorsCode
status_transition_invalid
stripeTaxInactive → const ApiErrorsCode
stripe_tax_inactive
taxesCalculationFailed → const ApiErrorsCode
taxes_calculation_failed
taxIdInvalid → const ApiErrorsCode
tax_id_invalid
terminalLocationCountryUnsupported → const ApiErrorsCode
terminal_location_country_unsupported
terminalReaderBusy → const ApiErrorsCode
terminal_reader_busy
terminalReaderHardwareFault → const ApiErrorsCode
terminal_reader_hardware_fault
terminalReaderOffline → const ApiErrorsCode
terminal_reader_offline
terminalReaderTimeout → const ApiErrorsCode
terminal_reader_timeout
testmodeChargesOnly → const ApiErrorsCode
testmode_charges_only
tlsVersionUnsupported → const ApiErrorsCode
tls_version_unsupported
tokenAlreadyUsed → const ApiErrorsCode
token_already_used
tokenCardNetworkInvalid → const ApiErrorsCode
token_card_network_invalid
tokenInUse → const ApiErrorsCode
token_in_use
transfersNotAllowed → const ApiErrorsCode
transfers_not_allowed
transferSourceBalanceParametersMismatch → const ApiErrorsCode
transfer_source_balance_parameters_mismatch
urlInvalid → const ApiErrorsCode
url_invalid