public static enum TransactionService.SubmitTransactionResponse.Result extends java.lang.Enum<TransactionService.SubmitTransactionResponse.Result> implements com.google.protobuf.Internal.EnumLite
kin.agora.transaction.v4.SubmitTransactionResponse.Result| Enum Constant and Description |
|---|
ALREADY_SUBMITTED
Indicates that the transaction has already been submitted.
|
FAILED
There was an issue with submitting the transaction
to the underlying chain.
|
INVOICE_ERROR
Indicates there was an error with one or more of the
supplied invoices.
|
OK
OK = 0; |
PAYER_REQUIRED
Payer required indicates that the submitted transaction does not contain
a signature at for the transaction funder account (the account at the 0th index).
|
REJECTED
Indicates that the configured webhook for this transaction
rejected the transaction without a specified reason.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALREADY_SUBMITTED_VALUE
Indicates that the transaction has already been submitted.
|
static int |
FAILED_VALUE
There was an issue with submitting the transaction
to the underlying chain.
|
static int |
INVOICE_ERROR_VALUE
Indicates there was an error with one or more of the
supplied invoices.
|
static int |
OK_VALUE
OK = 0; |
static int |
PAYER_REQUIRED_VALUE
Payer required indicates that the submitted transaction does not contain
a signature at for the transaction funder account (the account at the 0th index).
|
static int |
REJECTED_VALUE
Indicates that the configured webhook for this transaction
rejected the transaction without a specified reason.
|
| Modifier and Type | Method and Description |
|---|---|
static TransactionService.SubmitTransactionResponse.Result |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<TransactionService.SubmitTransactionResponse.Result> |
internalGetValueMap() |
static com.google.protobuf.Internal.EnumVerifier |
internalGetVerifier() |
static TransactionService.SubmitTransactionResponse.Result |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransactionService.SubmitTransactionResponse.Result |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionService.SubmitTransactionResponse.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionService.SubmitTransactionResponse.Result OK
OK = 0;public static final TransactionService.SubmitTransactionResponse.Result ALREADY_SUBMITTED
Indicates that the transaction has already been submitted. If the client is retrying a submission due to a transient failure, then this can occur if the submission in a previous attempt was successful. Otherwise, it may indicate that the transcation is indistinguishable from a previous transaction (i.e. same block hash, sender, dest, and amount), and the client should use a different recent block hash and try again.
ALREADY_SUBMITTED = 1;public static final TransactionService.SubmitTransactionResponse.Result FAILED
There was an issue with submitting the transaction to the underlying chain. Clients should retry with a rebuilt transaction in case there are temporal issues with the transaction, such as sequence number, or some other chain-specific errors. The detail of the error is present in the result xdr.
FAILED = 2;public static final TransactionService.SubmitTransactionResponse.Result REJECTED
Indicates that the configured webhook for this transaction rejected the transaction without a specified reason.
REJECTED = 3;public static final TransactionService.SubmitTransactionResponse.Result INVOICE_ERROR
Indicates there was an error with one or more of the supplied invoices. See: invoice_errors.
INVOICE_ERROR = 4;public static final TransactionService.SubmitTransactionResponse.Result PAYER_REQUIRED
Payer required indicates that the submitted transaction does not contain a signature at for the transaction funder account (the account at the 0th index). This can occur if the service does not have a subsdizier configured, or if the service refuses to subsidize this specific transaction. The latter case can occur during rate limiting situations. In this case, the client may either retry at a later time, or attempt to fund the transaction some other way.
PAYER_REQUIRED = 5;public static final TransactionService.SubmitTransactionResponse.Result UNRECOGNIZED
public static final int OK_VALUE
OK = 0;public static final int ALREADY_SUBMITTED_VALUE
Indicates that the transaction has already been submitted. If the client is retrying a submission due to a transient failure, then this can occur if the submission in a previous attempt was successful. Otherwise, it may indicate that the transcation is indistinguishable from a previous transaction (i.e. same block hash, sender, dest, and amount), and the client should use a different recent block hash and try again.
ALREADY_SUBMITTED = 1;public static final int FAILED_VALUE
There was an issue with submitting the transaction to the underlying chain. Clients should retry with a rebuilt transaction in case there are temporal issues with the transaction, such as sequence number, or some other chain-specific errors. The detail of the error is present in the result xdr.
FAILED = 2;public static final int REJECTED_VALUE
Indicates that the configured webhook for this transaction rejected the transaction without a specified reason.
REJECTED = 3;public static final int INVOICE_ERROR_VALUE
Indicates there was an error with one or more of the supplied invoices. See: invoice_errors.
INVOICE_ERROR = 4;public static final int PAYER_REQUIRED_VALUE
Payer required indicates that the submitted transaction does not contain a signature at for the transaction funder account (the account at the 0th index). This can occur if the service does not have a subsdizier configured, or if the service refuses to subsidize this specific transaction. The latter case can occur during rate limiting situations. In this case, the client may either retry at a later time, or attempt to fund the transaction some other way.
PAYER_REQUIRED = 5;public static TransactionService.SubmitTransactionResponse.Result[] values()
for (TransactionService.SubmitTransactionResponse.Result c : TransactionService.SubmitTransactionResponse.Result.values()) System.out.println(c);
public static TransactionService.SubmitTransactionResponse.Result valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite@Deprecated public static TransactionService.SubmitTransactionResponse.Result valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static TransactionService.SubmitTransactionResponse.Result forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<TransactionService.SubmitTransactionResponse.Result> internalGetValueMap()
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()