Package com.stripe.model.capital
Class FinancingTransaction
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.capital.FinancingTransaction
- All Implemented Interfaces:
HasId
,StripeObjectInterface
This is an object representing the details of a transaction on a Capital financing object.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
This is an object representing a transaction on a Capital financing offer.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The ID of the merchant associated with this financing transaction.Time at which the financing transaction was created.This is an object representing a transaction on a Capital financing offer.The Capital financing offer for this financing transaction.getId()
A unique identifier for the financing transaction object.The Capital transaction object that predates the Financing Transactions API and corresponds with the balance transaction that was created as a result of this financing transaction.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.The object type: financing_transactiongetType()
The type of the financing transaction.A human-friendly description of the financing transaction.int
hashCode()
list
(FinancingTransactionListParams params) Returns a list of financing transactions.list
(FinancingTransactionListParams params, RequestOptions options) Returns a list of financing transactions.Returns a list of financing transactions.list
(Map<String, Object> params, RequestOptions options) Returns a list of financing transactions.static FinancingTransaction
Retrieves a financing transaction for a financing offer.static FinancingTransaction
retrieve
(String financingTransaction, RequestOptions options) Retrieves a financing transaction for a financing offer.static FinancingTransaction
retrieve
(String financingTransaction, FinancingTransactionRetrieveParams params, RequestOptions options) Retrieves a financing transaction for a financing offer.static FinancingTransaction
Retrieves a financing transaction for a financing offer.void
setAccount
(String account) The ID of the merchant associated with this financing transaction.void
setCreatedAt
(Long createdAt) Time at which the financing transaction was created.void
setDetails
(FinancingTransaction.Details details) This is an object representing a transaction on a Capital financing offer.void
setFinancingOffer
(String financingOffer) The Capital financing offer for this financing transaction.void
A unique identifier for the financing transaction object.void
setLegacyBalanceTransactionSource
(String legacyBalanceTransactionSource) The Capital transaction object that predates the Financing Transactions API and corresponds with the balance transaction that was created as a result of this financing transaction.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
The object type: financing_transactionvoid
The type of the financing transaction.void
setUserFacingDescription
(String userFacingDescription) A human-friendly description of the financing transaction.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, fullUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, requestSearchResult, requestSearchResult, requestStream, requestStream, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
FinancingTransaction
public FinancingTransaction()
-
-
Method Details
-
list
Returns a list of financing transactions. The transactions are returned in sorted order, with the most recent transactions appearing first.- Throws:
StripeException
-
list
public static FinancingTransactionCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of financing transactions. The transactions are returned in sorted order, with the most recent transactions appearing first.- Throws:
StripeException
-
list
public static FinancingTransactionCollection list(FinancingTransactionListParams params) throws StripeException Returns a list of financing transactions. The transactions are returned in sorted order, with the most recent transactions appearing first.- Throws:
StripeException
-
list
public static FinancingTransactionCollection list(FinancingTransactionListParams params, RequestOptions options) throws StripeException Returns a list of financing transactions. The transactions are returned in sorted order, with the most recent transactions appearing first.- Throws:
StripeException
-
retrieve
Retrieves a financing transaction for a financing offer.- Throws:
StripeException
-
retrieve
public static FinancingTransaction retrieve(String financingTransaction, RequestOptions options) throws StripeException Retrieves a financing transaction for a financing offer.- Throws:
StripeException
-
retrieve
public static FinancingTransaction retrieve(String financingTransaction, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves a financing transaction for a financing offer.- Throws:
StripeException
-
retrieve
public static FinancingTransaction retrieve(String financingTransaction, FinancingTransactionRetrieveParams params, RequestOptions options) throws StripeException Retrieves a financing transaction for a financing offer.- Throws:
StripeException
-
getAccount
The ID of the merchant associated with this financing transaction. -
getCreatedAt
Time at which the financing transaction was created. Given in seconds since unix epoch. -
getDetails
This is an object representing a transaction on a Capital financing offer. -
getFinancingOffer
The Capital financing offer for this financing transaction. -
getLegacyBalanceTransactionSource
The Capital transaction object that predates the Financing Transactions API and corresponds with the balance transaction that was created as a result of this financing transaction. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getObject
The object type: financing_transactionEqual to
capital.financing_transaction
. -
getType
The type of the financing transaction.One of
payment
,payout
, orreversal
. -
getUserFacingDescription
A human-friendly description of the financing transaction. -
setAccount
The ID of the merchant associated with this financing transaction. -
setCreatedAt
Time at which the financing transaction was created. Given in seconds since unix epoch. -
setDetails
This is an object representing a transaction on a Capital financing offer. -
setFinancingOffer
The Capital financing offer for this financing transaction. -
setId
A unique identifier for the financing transaction object. -
setLegacyBalanceTransactionSource
The Capital transaction object that predates the Financing Transactions API and corresponds with the balance transaction that was created as a result of this financing transaction. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setObject
The object type: financing_transactionEqual to
capital.financing_transaction
. -
setType
The type of the financing transaction.One of
payment
,payout
, orreversal
. -
setUserFacingDescription
A human-friendly description of the financing transaction. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
A unique identifier for the financing transaction object.
-