Class TransactionReportResponse

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class TransactionReportResponse.Builder

      A builder for TransactionReportResponse.

      public final class TransactionReportResponse.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 the SUSPECTED_FRAUD state.

      • 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 the SUSPECTED_FRAUD state.

      • 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 class TransactionReportResponse.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.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final TransactionReportResponse.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 the SUSPECTED_FRAUD state.

      • 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 the SUSPECTED_FRAUD state.

      • 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 String transactionToken() 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<TransactionReportResponse.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<TransactionReportResponse.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<TransactionReportResponse.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 TransactionReportResponse.Builder toBuilder()
      final TransactionReportResponse validate() Validates that the types of all values in this object match their expected types recursively.
      final Boolean isValid()
      Boolean equals(Object other)
      Integer hashCode()
      String toString()
      final static TransactionReportResponse.Builder builder() Returns a mutable builder for constructing an instance of TransactionReportResponse.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • fraudStatus

         final TransactionReportResponse.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 the SUSPECTED_FRAUD state.

        • 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 the SUSPECTED_FRAUD state.

        • 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.

      • fraudType

         final Optional<TransactionReportResponse.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.

      • validate

         final TransactionReportResponse validate()

        Validates that the types of all values in this object match their expected types recursively.

        This method is not forwards compatible with new types from the API for existing fields.