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,StripeActiveObject,StripeObjectInterface
This is an object representing the details of a transaction on a Capital financing object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis 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, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe 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 valuetrueif the object exists in live mode or the valuefalseif 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.inthashCode()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 FinancingTransactionRetrieves a financing transaction for a financing offer.static FinancingTransactionretrieve(String financingTransaction, RequestOptions options) Retrieves a financing transaction for a financing offer.static FinancingTransactionretrieve(String financingTransaction, FinancingTransactionRetrieveParams params, RequestOptions options) Retrieves a financing transaction for a financing offer.static FinancingTransactionRetrieves a financing transaction for a financing offer.voidsetAccount(String account) The ID of the merchant associated with this financing transaction.voidsetCreatedAt(Long createdAt) Time at which the financing transaction was created.voidsetDetails(FinancingTransaction.Details details) This is an object representing a transaction on a Capital financing offer.voidsetFinancingOffer(String financingOffer) The Capital financing offer for this financing transaction.voidA unique identifier for the financing transaction object.voidsetLegacyBalanceTransactionSource(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.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidThe object type: financing_transactionvoidsetResponseGetter(StripeResponseGetter responseGetter) The linked Treasury Financing Transaction ID.voidThe type of the financing transaction.voidsetUserFacingDescription(String userFacingDescription) A human-friendly description of the financing transaction.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
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
-
setResponseGetter
The linked Treasury Financing Transaction ID.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
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 valuetrueif the object exists in live mode or the valuefalseif 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 valuetrueif the object exists in live mode or the valuefalseif 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.
-