Class Transaction
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.financialconnections.Transaction
- All Implemented Interfaces:
HasId
,StripeObjectInterface
A Transaction represents a real transaction that affects a Financial Connections Account balance.
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The ID of the Financial Connections Account this transaction belongs to.The amount of this transaction, in %s.Three-letter ISO currency code, in lowercase.The description of this transaction.getId()
Unique identifier for the object.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.String representing the object's type.The status of the transaction.Time at which the transaction was transacted.The transaction_refresh object that last updated or created this transaction.Time at which the object was last updated.int
hashCode()
void
setAccount
(String account) The ID of the Financial Connections Account this transaction belongs to.void
The amount of this transaction, in %s.void
setCurrency
(String currency) Three-letter ISO currency code, in lowercase.void
setDescription
(String description) The description of this transaction.void
Unique identifier for the object.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String representing the object's type.void
The status of the transaction.void
setStatusTransitions
(Transaction.StatusTransitions statusTransitions) void
setTransactedAt
(Long transactedAt) Time at which the transaction was transacted.void
setTransactionRefresh
(String transactionRefresh) The transaction_refresh object that last updated or created this transaction.void
setUpdated
(Long updated) Time at which the object was last updated.Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Transaction
public Transaction()
-
-
Method Details
-
getAccount
The ID of the Financial Connections Account this transaction belongs to. -
getAmount
The amount of this transaction, in %s. -
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getDescription
The description of this transaction. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
financial_connections.transaction
. -
getStatus
The status of the transaction.One of
pending
,posted
, orvoid
. -
getStatusTransitions
-
getTransactedAt
Time at which the transaction was transacted. Measured in seconds since the Unix epoch. -
getTransactionRefresh
The transaction_refresh object that last updated or created this transaction. -
getUpdated
Time at which the object was last updated. Measured in seconds since the Unix epoch. -
setAccount
The ID of the Financial Connections Account this transaction belongs to. -
setAmount
The amount of this transaction, in %s. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setDescription
The description of this transaction. -
setId
Unique identifier for the object. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
financial_connections.transaction
. -
setStatus
The status of the transaction.One of
pending
,posted
, orvoid
. -
setStatusTransitions
-
setTransactedAt
Time at which the transaction was transacted. Measured in seconds since the Unix epoch. -
setTransactionRefresh
The transaction_refresh object that last updated or created this transaction. -
setUpdated
Time at which the object was last updated. Measured in seconds since the Unix epoch. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-