Class Transaction
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.financialconnections.Transaction
- All Implemented Interfaces:
- HasId,- StripeActiveObject,- StripeObjectInterface
A Transaction represents a real transaction that affects a Financial Connections Account balance.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classFor more details about StatusTransitions, please refer to the API Reference.Nested classes/interfaces inherited from class com.stripe.net.ApiResourceApiResource.RequestMethod
- 
Field SummaryFields inherited from class com.stripe.net.ApiResourceCHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObjectPRETTY_PRINT_GSON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanThe ID of the Financial Connections Account this transaction belongs to.The amount of this transaction, in cents (or local equivalent).Three-letter ISO currency code, in lowercase.The description of this transaction.getId()Unique identifier for the object.Has the valuetrueif the object exists in live mode or the valuefalseif 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 token of the transaction refresh that last updated or created this transaction.Time at which the object was last updated.inthashCode()static TransactionCollectionlist(TransactionListParams params) Returns a list of Financial ConnectionsTransactionobjects.static TransactionCollectionlist(TransactionListParams params, RequestOptions options) Returns a list of Financial ConnectionsTransactionobjects.static TransactionCollectionReturns a list of Financial ConnectionsTransactionobjects.static TransactionCollectionlist(Map<String, Object> params, RequestOptions options) Returns a list of Financial ConnectionsTransactionobjects.static TransactionRetrieves the details of a Financial ConnectionsTransaction.static Transactionretrieve(String transaction, RequestOptions options) Retrieves the details of a Financial ConnectionsTransaction.static Transactionretrieve(String transaction, TransactionRetrieveParams params, RequestOptions options) Retrieves the details of a Financial ConnectionsTransaction.static TransactionRetrieves the details of a Financial ConnectionsTransaction.voidsetAccount(String account) The ID of the Financial Connections Account this transaction belongs to.voidThe amount of this transaction, in cents (or local equivalent).voidsetCurrency(String currency) Three-letter ISO currency code, in lowercase.voidsetDescription(String description) The description of this transaction.voidUnique identifier for the object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidThe status of the transaction.voidsetStatusTransitions(Transaction.StatusTransitions statusTransitions) voidsetTransactedAt(Long transactedAt) Time at which the transaction was transacted.voidsetTransactionRefresh(String transactionRefresh) The token of the transaction refresh that last updated or created this transaction.voidsetUpdated(Long updated) Time at which the object was last updated.Methods inherited from class com.stripe.net.ApiResourcecheckNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObjectdeserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObjecttrySetResponseGetter
- 
Constructor Details- 
Transactionpublic Transaction()
 
- 
- 
Method Details- 
listReturns a list of Financial ConnectionsTransactionobjects.- Throws:
- StripeException
 
- 
listpublic static TransactionCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of Financial ConnectionsTransactionobjects.- Throws:
- StripeException
 
- 
listReturns a list of Financial ConnectionsTransactionobjects.- Throws:
- StripeException
 
- 
listpublic static TransactionCollection list(TransactionListParams params, RequestOptions options) throws StripeException Returns a list of Financial ConnectionsTransactionobjects.- Throws:
- StripeException
 
- 
retrieveRetrieves the details of a Financial ConnectionsTransaction.- Throws:
- StripeException
 
- 
retrievepublic static Transaction retrieve(String transaction, RequestOptions options) throws StripeException Retrieves the details of a Financial ConnectionsTransaction.- Throws:
- StripeException
 
- 
retrievepublic static Transaction retrieve(String transaction, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves the details of a Financial ConnectionsTransaction.- Throws:
- StripeException
 
- 
retrievepublic static Transaction retrieve(String transaction, TransactionRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of a Financial ConnectionsTransaction.- Throws:
- StripeException
 
- 
setResponseGetterDescription copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
- setResponseGetterin interface- StripeActiveObject
- Overrides:
- setResponseGetterin class- ApiResource
- Parameters:
- responseGetter- the- StripeResponseGetterinstance to use for making further requests.
 
- 
getAccountThe ID of the Financial Connections Account this transaction belongs to.
- 
getAmountThe amount of this transaction, in cents (or local equivalent).
- 
getCurrencyThree-letter ISO currency code, in lowercase. Must be a supported currency.
- 
getDescriptionThe description of this transaction.
- 
getLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
getObjectString representing the object's type. Objects of the same type share the same value.Equal to financial_connections.transaction.
- 
getStatusThe status of the transaction.One of pending,posted, orvoid.
- 
getStatusTransitions
- 
getTransactedAtTime at which the transaction was transacted. Measured in seconds since the Unix epoch.
- 
getTransactionRefreshThe token of the transaction refresh that last updated or created this transaction.
- 
getUpdatedTime at which the object was last updated. Measured in seconds since the Unix epoch.
- 
setAccountThe ID of the Financial Connections Account this transaction belongs to.
- 
setAmountThe amount of this transaction, in cents (or local equivalent).
- 
setCurrencyThree-letter ISO currency code, in lowercase. Must be a supported currency.
- 
setDescriptionThe description of this transaction.
- 
setIdUnique identifier for the object.
- 
setLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
setObjectString representing the object's type. Objects of the same type share the same value.Equal to financial_connections.transaction.
- 
setStatusThe status of the transaction.One of pending,posted, orvoid.
- 
setStatusTransitions
- 
setTransactedAtTime at which the transaction was transacted. Measured in seconds since the Unix epoch.
- 
setTransactionRefreshThe token of the transaction refresh that last updated or created this transaction.
- 
setUpdatedTime at which the object was last updated. Measured in seconds since the Unix epoch.
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
- 
getIdUnique identifier for the object.
 
-