Class TransactionRetrieveResponse
-
- All Implemented Interfaces:
public final class TransactionRetrieveResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTransactionRetrieveResponse.BuilderA builder for TransactionRetrieveResponse.
public final classTransactionRetrieveResponse.FraudStatusThe fraud status of the transaction, string (enum) supporting the following values:
SUSPECTED_FRAUD: The transaction is suspected to be fraudulent, but this hasn’t been confirmed.FRAUDULENT: The transaction is confirmed to be fraudulent. A transaction may immediately be moved into this state, or be graduated into this state from theSUSPECTED_FRAUDstate.NOT_FRAUDULENT: The transaction is (explicitly) marked as not fraudulent. A transaction may immediately be moved into this state, or be graduated into this state from theSUSPECTED_FRAUDstate.NO_REPORTED_FRAUD: Indicates that no fraud report exists for the transaction. It is the default state for transactions that have not been analyzed or associated with any known fraudulent activity.
public final classTransactionRetrieveResponse.FraudTypeSpecifies the type or category of fraud that the transaction is suspected or confirmed to involve, string (enum) supporting the following values:
FIRST_PARTY_FRAUD: First-party fraud occurs when a legitimate account or cardholder intentionally misuses financial services for personal gain. This includes actions such as disputing legitimate transactions to obtain a refund, abusing return policies, or defaulting on credit obligations without intent to repay.ACCOUNT_TAKEOVER: Account takeover fraud occurs when a fraudster gains unauthorized access to an existing account, modifies account settings, and carries out fraudulent transactions.CARD_COMPROMISED: Card compromised fraud occurs when a fraudster gains access to card details without taking over the account, such as through physical card theft, cloning, or online data breaches.IDENTITY_THEFT: Identity theft fraud occurs when a fraudster uses stolen personal information, such as Social Security numbers or addresses, to open accounts, apply for loans, or conduct financial transactions in someone's name.CARDHOLDER_MANIPULATION: This type of fraud occurs when a fraudster manipulates or coerces a legitimate cardholder into unauthorized transactions, often through social engineering tactics.
-
Method Summary
Modifier and Type Method Description final TransactionRetrieveResponse.FraudStatusfraudStatus()The fraud status of the transaction, string (enum) supporting the following values: SUSPECTED_FRAUD: The transaction is suspected to be fraudulent, but this hasn’t been confirmed.FRAUDULENT: The transaction is confirmed to be fraudulent. A transaction may immediately be moved into this state, or be graduated into this state from theSUSPECTED_FRAUDstate.NOT_FRAUDULENT: The transaction is (explicitly) marked as not fraudulent. A transaction may immediately be moved into this state, or be graduated into this state from theSUSPECTED_FRAUDstate.NO_REPORTED_FRAUD: Indicates that no fraud report exists for the transaction. It is the default state for transactions that have not been analyzed or associated with any known fraudulent activity.
final StringtransactionToken()The universally unique identifier (UUID) associated with the transaction being reported. final Optional<String>comment()Provides additional context or details about the fraud report. final Optional<OffsetDateTime>createdAt()Timestamp representing when the fraud report was created. final Optional<TransactionRetrieveResponse.FraudType>fraudType()Specifies the type or category of fraud that the transaction is suspected or confirmed to involve, string (enum) supporting the following values: FIRST_PARTY_FRAUD: First-party fraud occurs when a legitimate account or cardholder intentionally misuses financial services for personal gain. This includes actions such as disputing legitimate transactions to obtain a refund, abusing return policies, or defaulting on credit obligations without intent to repay.ACCOUNT_TAKEOVER: Account takeover fraud occurs when a fraudster gains unauthorized access to an existing account, modifies account settings, and carries out fraudulent transactions.CARD_COMPROMISED: Card compromised fraud occurs when a fraudster gains access to card details without taking over the account, such as through physical card theft, cloning, or online data breaches.IDENTITY_THEFT: Identity theft fraud occurs when a fraudster uses stolen personal information, such as Social Security numbers or addresses, to open accounts, apply for loans, or conduct financial transactions in someone's name.CARDHOLDER_MANIPULATION: This type of fraud occurs when a fraudster manipulates or coerces a legitimate cardholder into unauthorized transactions, often through social engineering tactics.
final Optional<OffsetDateTime>updatedAt()Timestamp representing the last update to the fraud report. final JsonField<TransactionRetrieveResponse.FraudStatus>_fraudStatus()Returns the raw JSON value of fraudStatus. final JsonField<String>_transactionToken()Returns the raw JSON value of transactionToken. final JsonField<String>_comment()Returns the raw JSON value of comment. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<TransactionRetrieveResponse.FraudType>_fraudType()Returns the raw JSON value of fraudType. final JsonField<OffsetDateTime>_updatedAt()Returns the raw JSON value of updatedAt. final Map<String, JsonValue>_additionalProperties()final TransactionRetrieveResponse.BuildertoBuilder()final TransactionRetrieveResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TransactionRetrieveResponse.Builderbuilder()Returns a mutable builder for constructing an instance of TransactionRetrieveResponse. -
-
Method Detail
-
fraudStatus
final TransactionRetrieveResponse.FraudStatus fraudStatus()
The fraud status of the transaction, string (enum) supporting the following values:
SUSPECTED_FRAUD: The transaction is suspected to be fraudulent, but this hasn’t been confirmed.FRAUDULENT: The transaction is confirmed to be fraudulent. A transaction may immediately be moved into this state, or be graduated into this state from theSUSPECTED_FRAUDstate.NOT_FRAUDULENT: The transaction is (explicitly) marked as not fraudulent. A transaction may immediately be moved into this state, or be graduated into this state from theSUSPECTED_FRAUDstate.NO_REPORTED_FRAUD: Indicates that no fraud report exists for the transaction. It is the default state for transactions that have not been analyzed or associated with any known fraudulent activity.
-
transactionToken
final String transactionToken()
The universally unique identifier (UUID) associated with the transaction being reported.
-
comment
final Optional<String> comment()
Provides additional context or details about the fraud report.
-
createdAt
final Optional<OffsetDateTime> createdAt()
Timestamp representing when the fraud report was created.
-
fraudType
final Optional<TransactionRetrieveResponse.FraudType> fraudType()
Specifies the type or category of fraud that the transaction is suspected or confirmed to involve, string (enum) supporting the following values:
FIRST_PARTY_FRAUD: First-party fraud occurs when a legitimate account or cardholder intentionally misuses financial services for personal gain. This includes actions such as disputing legitimate transactions to obtain a refund, abusing return policies, or defaulting on credit obligations without intent to repay.ACCOUNT_TAKEOVER: Account takeover fraud occurs when a fraudster gains unauthorized access to an existing account, modifies account settings, and carries out fraudulent transactions.CARD_COMPROMISED: Card compromised fraud occurs when a fraudster gains access to card details without taking over the account, such as through physical card theft, cloning, or online data breaches.IDENTITY_THEFT: Identity theft fraud occurs when a fraudster uses stolen personal information, such as Social Security numbers or addresses, to open accounts, apply for loans, or conduct financial transactions in someone's name.CARDHOLDER_MANIPULATION: This type of fraud occurs when a fraudster manipulates or coerces a legitimate cardholder into unauthorized transactions, often through social engineering tactics.
-
updatedAt
final Optional<OffsetDateTime> updatedAt()
Timestamp representing the last update to the fraud report.
-
_fraudStatus
final JsonField<TransactionRetrieveResponse.FraudStatus> _fraudStatus()
Returns the raw JSON value of fraudStatus.
Unlike fraudStatus, this method doesn't throw if the JSON field has an unexpected type.
-
_transactionToken
final JsonField<String> _transactionToken()
Returns the raw JSON value of transactionToken.
Unlike transactionToken, this method doesn't throw if the JSON field has an unexpected type.
-
_comment
final JsonField<String> _comment()
Returns the raw JSON value of comment.
Unlike comment, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_fraudType
final JsonField<TransactionRetrieveResponse.FraudType> _fraudType()
Returns the raw JSON value of fraudType.
Unlike fraudType, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<OffsetDateTime> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TransactionRetrieveResponse.Builder toBuilder()
-
validate
final TransactionRetrieveResponse validate()
-
builder
final static TransactionRetrieveResponse.Builder builder()
Returns a mutable builder for constructing an instance of TransactionRetrieveResponse.
The following fields are required:
.fraudStatus() .transactionToken()
-
-
-