StatusTransactionEnum enum

StatusTransactionEnum

This class is used to define the status of a transaction.

The status of a transaction is used in the following classes:

The following is the list of possible status:

The status is used to determine the type of transaction.

For example, a transaction with the status APPROVED is a transaction that was approved by the bank.

In the case of a transaction with the status DECLINED, it is a transaction that was not approved by the bank.

In the case of a transaction with the status CANCELLED, it is a transaction that was canceled by the user.

In the case of a transaction with the status TECHNICAL_ERROR, it is a transaction that was not completed due to a technical error.

In the case of a transaction with the status WITH_ERROR, it is a transaction that was not completed due to an error.

In the case of a transaction with the status REJECTED, it is a transaction that was rejected by the bank.

In the case of a transaction with the status PARTIAL_APPROVED, it is a transaction that was approved by the bank and has a partial value.

In the case of a transaction with the status REVERSED, it is a transaction that was automatically reversed by the bank.

In the case of a transaction with the status PENDING, it is a transaction that is in progress.

In the case of a transaction with the status PENDING_REVERSAL,

Inheritance
Available extensions

Values

UNKNOWN → const StatusTransactionEnum

Ocorreu um erro antes de ser enviada para o autorizador.

const StatusTransactionEnum("Ocorreu um erro antes de ser enviada para o autorizador.")
APPROVED → const StatusTransactionEnum

Transação aprovada com sucesso.

const StatusTransactionEnum("Transação aprovada com sucesso.")
DECLINED → const StatusTransactionEnum

Transação negada.

const StatusTransactionEnum("Transação negada.")
DECLINED_BY_CARD → const StatusTransactionEnum

Transação negada pelo cartão.

const StatusTransactionEnum("Transação negada pelo cartão.")
CANCELLED → const StatusTransactionEnum

Transação cancelada.

const StatusTransactionEnum("Transação cancelada.")
PARTIAL_APPROVED → const StatusTransactionEnum

Transação foi parcialmente aprovada.

const StatusTransactionEnum("Transação foi parcialmente aprovada.")
TECHNICAL_ERROR → const StatusTransactionEnum

Erro técnico.

const StatusTransactionEnum("Erro técnico.")
REJECTED → const StatusTransactionEnum

Transação rejeitada.

const StatusTransactionEnum("Transação rejeitada.")
WITH_ERROR → const StatusTransactionEnum

Transação não completada com sucesso

const StatusTransactionEnum("Transação não completada com sucesso.")
PENDING → const StatusTransactionEnum

A transação está em andamento.

const StatusTransactionEnum("A transação está em andamento.")
REVERSED → const StatusTransactionEnum

A transação foi cancelada automaticamente.

const StatusTransactionEnum("A transação foi cancelada automaticamente.")
PENDING_REVERSAL → const StatusTransactionEnum

Transação foi interrompida.

const StatusTransactionEnum("Transação foi interrompida.")
TRANSACTION_WAITING_CARD → const StatusTransactionEnum

Aproxime, insira ou passe o cartão.

const StatusTransactionEnum("Aproxime, insira ou passe o cartão.")
TRANSACTION_WAITING_PASSWORD → const StatusTransactionEnum

Aguardando a senha do cartão.

const StatusTransactionEnum("Aguardando a senha do cartão.")
TRANSACTION_SENDING → const StatusTransactionEnum

Enviando a transação.

const StatusTransactionEnum("Enviando a transação.")
TRANSACTION_REMOVE_CARD → const StatusTransactionEnum

Remova o cartão.

const StatusTransactionEnum("Remova o cartão.")
TRANSACTION_CARD_REMOVED → const StatusTransactionEnum

Cartão removido.

const StatusTransactionEnum("Cartão removido.")
REVERSING_TRANSACTION_WITH_ERROR → const StatusTransactionEnum

Tentando reverter transação.

const StatusTransactionEnum("Tentando reverter transação.")

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
Values of the enum
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromName(String name) String
Return the name of the enum

Constants

values → const List<StatusTransactionEnum>
A constant List of the values in this enum, in order of their declaration.