Class TransactionEntry
- All Implemented Interfaces:
HasId
,StripeActiveObject
,StripeObjectInterface
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Change to a FinancialAccount's balance.static class
Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Change to a FinancialAccount's balance.Time at which the object was created.Three-letter ISO currency code, in lowercase.When the TransactionEntry will impact the FinancialAccount's balance.The FinancialAccount associated with this object.getFlow()
Token of the flow associated with the TransactionEntry.Details of the flow associated with the TransactionEntry.Type of the flow associated with the TransactionEntry.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.Get ID of expandabletransaction
object.Get expandedtransaction
.getType()
The specific money movement that generated the TransactionEntry.int
hashCode()
static TransactionEntryCollection
list
(TransactionEntryListParams params) Retrieves a list of TransactionEntry objects.static TransactionEntryCollection
list
(TransactionEntryListParams params, RequestOptions options) Retrieves a list of TransactionEntry objects.static TransactionEntryCollection
Retrieves a list of TransactionEntry objects.static TransactionEntryCollection
list
(Map<String, Object> params, RequestOptions options) Retrieves a list of TransactionEntry objects.static TransactionEntry
Retrieves a TransactionEntry object.static TransactionEntry
retrieve
(String id, RequestOptions options) Retrieves a TransactionEntry object.static TransactionEntry
retrieve
(String id, TransactionEntryRetrieveParams params, RequestOptions options) Retrieves a TransactionEntry object.static TransactionEntry
Retrieves a TransactionEntry object.void
setBalanceImpact
(TransactionEntry.BalanceImpact balanceImpact) Change to a FinancialAccount's balance.void
setCreated
(Long created) Time at which the object was created.void
setCurrency
(String currency) Three-letter ISO currency code, in lowercase.void
setEffectiveAt
(Long effectiveAt) When the TransactionEntry will impact the FinancialAccount's balance.void
setFinancialAccount
(String financialAccount) The FinancialAccount associated with this object.void
Token of the flow associated with the TransactionEntry.void
setFlowDetails
(TransactionEntry.FlowDetails flowDetails) Details of the flow associated with the TransactionEntry.void
setFlowType
(String flowType) Type of the flow associated with the TransactionEntry.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
setResponseGetter
(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetter
implementations to set theStripeResponseGetter
instance used to make further requests.void
setTransaction
(String id) void
setTransactionObject
(Transaction expandableObject) void
The specific money movement that generated the TransactionEntry.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setStripeResponseGetter, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
TransactionEntry
public TransactionEntry()
-
-
Method Details
-
getTransaction
Get ID of expandabletransaction
object. -
setTransaction
-
getTransactionObject
Get expandedtransaction
. -
setTransactionObject
-
list
Retrieves a list of TransactionEntry objects.- Throws:
StripeException
-
list
public static TransactionEntryCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves a list of TransactionEntry objects.- Throws:
StripeException
-
list
public static TransactionEntryCollection list(TransactionEntryListParams params) throws StripeException Retrieves a list of TransactionEntry objects.- Throws:
StripeException
-
list
public static TransactionEntryCollection list(TransactionEntryListParams params, RequestOptions options) throws StripeException Retrieves a list of TransactionEntry objects.- Throws:
StripeException
-
retrieve
Retrieves a TransactionEntry object.- Throws:
StripeException
-
retrieve
Retrieves a TransactionEntry object.- Throws:
StripeException
-
retrieve
public static TransactionEntry retrieve(String id, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves a TransactionEntry object.- Throws:
StripeException
-
retrieve
public static TransactionEntry retrieve(String id, TransactionEntryRetrieveParams params, RequestOptions options) throws StripeException Retrieves a TransactionEntry object.- Throws:
StripeException
-
setResponseGetter
Description copied from interface:StripeActiveObject
Method is used by the containing object orStripeResponseGetter
implementations to set theStripeResponseGetter
instance used to make further requests.- Specified by:
setResponseGetter
in interfaceStripeActiveObject
- Overrides:
setResponseGetter
in classApiResource
- Parameters:
responseGetter
- theStripeResponseGetter
instance to use for making further requests.
-
getBalanceImpact
Change to a FinancialAccount's balance. -
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getEffectiveAt
When the TransactionEntry will impact the FinancialAccount's balance. -
getFinancialAccount
The FinancialAccount associated with this object. -
getFlow
Token of the flow associated with the TransactionEntry. -
getFlowDetails
Details of the flow associated with the TransactionEntry. -
getFlowType
Type of the flow associated with the TransactionEntry.One of
credit_reversal
,debit_reversal
,inbound_transfer
,issuing_authorization
,other
,outbound_payment
,outbound_transfer
,received_credit
, orreceived_debit
. -
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
treasury.transaction_entry
. -
getType
The specific money movement that generated the TransactionEntry.One of
credit_reversal
,credit_reversal_posting
,debit_reversal
,inbound_transfer
,inbound_transfer_return
,issuing_authorization_hold
,issuing_authorization_release
,other
,outbound_payment
,outbound_payment_cancellation
,outbound_payment_failure
,outbound_payment_posting
,outbound_payment_return
,outbound_transfer
,outbound_transfer_cancellation
,outbound_transfer_failure
,outbound_transfer_posting
,outbound_transfer_return
,received_credit
, orreceived_debit
. -
setBalanceImpact
Change to a FinancialAccount's balance. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setEffectiveAt
When the TransactionEntry will impact the FinancialAccount's balance. -
setFinancialAccount
The FinancialAccount associated with this object. -
setFlow
Token of the flow associated with the TransactionEntry. -
setFlowDetails
Details of the flow associated with the TransactionEntry. -
setFlowType
Type of the flow associated with the TransactionEntry.One of
credit_reversal
,debit_reversal
,inbound_transfer
,issuing_authorization
,other
,outbound_payment
,outbound_transfer
,received_credit
, orreceived_debit
. -
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
treasury.transaction_entry
. -
setType
The specific money movement that generated the TransactionEntry.One of
credit_reversal
,credit_reversal_posting
,debit_reversal
,inbound_transfer
,inbound_transfer_return
,issuing_authorization_hold
,issuing_authorization_release
,other
,outbound_payment
,outbound_payment_cancellation
,outbound_payment_failure
,outbound_payment_posting
,outbound_payment_return
,outbound_transfer
,outbound_transfer_cancellation
,outbound_transfer_failure
,outbound_transfer_posting
,outbound_transfer_return
,received_credit
, orreceived_debit
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-