Class Transaction
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.moneymanagement.Transaction
- All Implemented Interfaces:
HasId
,StripeObjectInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about BalanceImpact, please refer to the API Reference.static class
For more details about Flow, please refer to the API Reference.static class
For more details about StatusTransitions, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The amount of the Transaction.The delta to the FinancialAccount's balance.Open Enum.Time at which the object was created.Indicates the FinancialAccount affected by this Transaction.getFlow()
Details about the Flow object that created the 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.Closed Enum.Timestamps for when the Transaction transitioned to a particular status.int
hashCode()
void
The amount of the Transaction.void
setBalanceImpact
(Transaction.BalanceImpact balanceImpact) The delta to the FinancialAccount's balance.void
setCategory
(String category) Open Enum.void
setCreated
(Instant created) Time at which the object was created.void
setFinancialAccount
(String financialAccount) Indicates the FinancialAccount affected by this Transaction.void
setFlow
(Transaction.Flow flow) Details about the Flow object that created the 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
Closed Enum.void
setStatusTransitions
(Transaction.StatusTransitions statusTransitions) Timestamps for when the Transaction transitioned to a particular status.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Transaction
public Transaction()
-
-
Method Details
-
getAmount
The amount of the Transaction. -
getBalanceImpact
The delta to the FinancialAccount's balance. The balance_impact for the Transaction is equal to sum of its TransactionEntries that haveeffective_at
s in the past. -
getCategory
Open Enum. A descriptive category used to classify the Transaction.One of
adjustment
,currency_conversion
,inbound_transfer
,outbound_payment
,outbound_transfer
,received_credit
,received_debit
,return
, orstripe_fee
. -
getCreated
Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. -
getFinancialAccount
Indicates the FinancialAccount affected by this Transaction. -
getFlow
Details about the Flow object that created the 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 of the object field.Equal to
v2.money_management.transaction
. -
getStatus
Closed Enum. Current status of the Transaction. A Transaction ispending
if eitherbalance_impact.inbound_pending
orbalance_impact.outbound_pending
is non-zero. A Transaction isposted
if onlybalance_impact.available
is non-zero. A Transaction isvoid
if there is no balance impact.posted
andvoid
are terminal states, and no additional entries will be added to the Transaction.One of
pending
,posted
, orvoid
. -
getStatusTransitions
Timestamps for when the Transaction transitioned to a particular status. -
setAmount
The amount of the Transaction. -
setBalanceImpact
The delta to the FinancialAccount's balance. The balance_impact for the Transaction is equal to sum of its TransactionEntries that haveeffective_at
s in the past. -
setCategory
Open Enum. A descriptive category used to classify the Transaction.One of
adjustment
,currency_conversion
,inbound_transfer
,outbound_payment
,outbound_transfer
,received_credit
,received_debit
,return
, orstripe_fee
. -
setCreated
Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. -
setFinancialAccount
Indicates the FinancialAccount affected by this Transaction. -
setFlow
Details about the Flow object that created the 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 of the object field.Equal to
v2.money_management.transaction
. -
setStatus
Closed Enum. Current status of the Transaction. A Transaction ispending
if eitherbalance_impact.inbound_pending
orbalance_impact.outbound_pending
is non-zero. A Transaction isposted
if onlybalance_impact.available
is non-zero. A Transaction isvoid
if there is no balance impact.posted
andvoid
are terminal states, and no additional entries will be added to the Transaction.One of
pending
,posted
, orvoid
. -
setStatusTransitions
Timestamps for when the Transaction transitioned to a particular status. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-