Class FinancialTransaction
-
- All Implemented Interfaces:
public final class FinancialTransaction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFinancialTransaction.BuilderA builder for FinancialTransaction.
public final classFinancialTransaction.CategoryStatus types:
CARD- Issuing card transaction.ACH- Transaction over ACH.INTERNAL- Transaction for internal adjustment.TRANSFER- Internal transfer of funds between financial accounts in your program.
public final classFinancialTransaction.FinancialEventpublic final classFinancialTransaction.ResultAPPROVED transactions were successful while DECLINED transactions were declined by user, Lithic, or the network.
public final classFinancialTransaction.StatusStatus types:
DECLINED- The transaction was declined.EXPIRED- The authorization as it has passed its expiration time. Card transaction only.PENDING- The transaction is expected to settle.RETURNED- The transaction has been returned.SETTLED- The transaction is completed.VOIDED- The transaction was voided. Card transaction only.
-
Method Summary
Modifier and Type Method Description final Stringtoken()Globally unique identifier. final FinancialTransaction.Categorycategory()Status types: CARD- Issuing card transaction.ACH- Transaction over ACH.INTERNAL- Transaction for internal adjustment.TRANSFER- Internal transfer of funds between financial accounts in your program.
final OffsetDateTimecreated()Date and time when the financial transaction first occurred. final Stringcurrency()3-character alphabetic ISO 4217 code for the settling currency of the transaction. final Stringdescriptor()A string that provides a description of the financial transaction; may be useful to display to users. final List<FinancialTransaction.FinancialEvent>events()A list of all financial events that have modified this financial transaction. final LongpendingAmount()Pending amount of the transaction in the currency's smallest unit (e.g., cents), including any acquirer fees. final FinancialTransaction.Resultresult()APPROVED transactions were successful while DECLINED transactions were declined by user, Lithic, or the network. final LongsettledAmount()Amount of the transaction that has been settled in the currency's smallest unit (e.g., cents), including any acquirer fees. final FinancialTransaction.Statusstatus()Status types: DECLINED- The transaction was declined.EXPIRED- The authorization as it has passed its expiration time. Card transaction only.PENDING- The transaction is expected to settle.RETURNED- The transaction has been returned.SETTLED- The transaction is completed.VOIDED- The transaction was voided. Card transaction only.
final OffsetDateTimeupdated()Date and time when the financial transaction was last updated. final JsonField<String>_token()Globally unique identifier. final JsonField<FinancialTransaction.Category>_category()Status types: CARD- Issuing card transaction.ACH- Transaction over ACH.INTERNAL- Transaction for internal adjustment.TRANSFER- Internal transfer of funds between financial accounts in your program.
final JsonField<OffsetDateTime>_created()Date and time when the financial transaction first occurred. final JsonField<String>_currency()3-character alphabetic ISO 4217 code for the settling currency of the transaction. final JsonField<String>_descriptor()A string that provides a description of the financial transaction; may be useful to display to users. final JsonField<List<FinancialTransaction.FinancialEvent>>_events()A list of all financial events that have modified this financial transaction. final JsonField<Long>_pendingAmount()Pending amount of the transaction in the currency's smallest unit (e.g., cents), including any acquirer fees. final JsonField<FinancialTransaction.Result>_result()APPROVED transactions were successful while DECLINED transactions were declined by user, Lithic, or the network. final JsonField<Long>_settledAmount()Amount of the transaction that has been settled in the currency's smallest unit (e.g., cents), including any acquirer fees. final JsonField<FinancialTransaction.Status>_status()Status types: DECLINED- The transaction was declined.EXPIRED- The authorization as it has passed its expiration time. Card transaction only.PENDING- The transaction is expected to settle.RETURNED- The transaction has been returned.SETTLED- The transaction is completed.VOIDED- The transaction was voided. Card transaction only.
final JsonField<OffsetDateTime>_updated()Date and time when the financial transaction was last updated. final Map<String, JsonValue>_additionalProperties()final FinancialTransactionvalidate()final FinancialTransaction.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FinancialTransaction.Builderbuilder()Returns a mutable builder for constructing an instance of FinancialTransaction. -
-
Method Detail
-
category
final FinancialTransaction.Category category()
Status types:
CARD- Issuing card transaction.ACH- Transaction over ACH.INTERNAL- Transaction for internal adjustment.TRANSFER- Internal transfer of funds between financial accounts in your program.
-
created
final OffsetDateTime created()
Date and time when the financial transaction first occurred. UTC time zone.
-
currency
final String currency()
3-character alphabetic ISO 4217 code for the settling currency of the transaction.
-
descriptor
final String descriptor()
A string that provides a description of the financial transaction; may be useful to display to users.
-
events
final List<FinancialTransaction.FinancialEvent> events()
A list of all financial events that have modified this financial transaction.
-
pendingAmount
final Long pendingAmount()
Pending amount of the transaction in the currency's smallest unit (e.g., cents), including any acquirer fees. The value of this field will go to zero over time once the financial transaction is settled.
-
result
final FinancialTransaction.Result result()
APPROVED transactions were successful while DECLINED transactions were declined by user, Lithic, or the network.
-
settledAmount
final Long settledAmount()
Amount of the transaction that has been settled in the currency's smallest unit (e.g., cents), including any acquirer fees. This may change over time.
-
status
final FinancialTransaction.Status status()
Status types:
DECLINED- The transaction was declined.EXPIRED- The authorization as it has passed its expiration time. Card transaction only.PENDING- The transaction is expected to settle.RETURNED- The transaction has been returned.SETTLED- The transaction is completed.VOIDED- The transaction was voided. Card transaction only.
-
updated
final OffsetDateTime updated()
Date and time when the financial transaction was last updated. UTC time zone.
-
_category
final JsonField<FinancialTransaction.Category> _category()
Status types:
CARD- Issuing card transaction.ACH- Transaction over ACH.INTERNAL- Transaction for internal adjustment.TRANSFER- Internal transfer of funds between financial accounts in your program.
-
_created
final JsonField<OffsetDateTime> _created()
Date and time when the financial transaction first occurred. UTC time zone.
-
_currency
final JsonField<String> _currency()
3-character alphabetic ISO 4217 code for the settling currency of the transaction.
-
_descriptor
final JsonField<String> _descriptor()
A string that provides a description of the financial transaction; may be useful to display to users.
-
_events
final JsonField<List<FinancialTransaction.FinancialEvent>> _events()
A list of all financial events that have modified this financial transaction.
-
_pendingAmount
final JsonField<Long> _pendingAmount()
Pending amount of the transaction in the currency's smallest unit (e.g., cents), including any acquirer fees. The value of this field will go to zero over time once the financial transaction is settled.
-
_result
final JsonField<FinancialTransaction.Result> _result()
APPROVED transactions were successful while DECLINED transactions were declined by user, Lithic, or the network.
-
_settledAmount
final JsonField<Long> _settledAmount()
Amount of the transaction that has been settled in the currency's smallest unit (e.g., cents), including any acquirer fees. This may change over time.
-
_status
final JsonField<FinancialTransaction.Status> _status()
Status types:
DECLINED- The transaction was declined.EXPIRED- The authorization as it has passed its expiration time. Card transaction only.PENDING- The transaction is expected to settle.RETURNED- The transaction has been returned.SETTLED- The transaction is completed.VOIDED- The transaction was voided. Card transaction only.
-
_updated
final JsonField<OffsetDateTime> _updated()
Date and time when the financial transaction was last updated. UTC time zone.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final FinancialTransaction validate()
-
toBuilder
final FinancialTransaction.Builder toBuilder()
-
builder
final static FinancialTransaction.Builder builder()
Returns a mutable builder for constructing an instance of FinancialTransaction.
The following fields are required:
.token() .category() .created() .currency() .descriptor() .events() .pendingAmount() .result() .settledAmount() .status() .updated()
-
-
-