Class FinancingTransaction

java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.capital.FinancingTransaction
All Implemented Interfaces:
HasId, StripeObjectInterface

public class FinancingTransaction extends ApiResource implements HasId
This is an object representing the details of a transaction on a Capital financing object.
  • Constructor Details

    • FinancingTransaction

      public FinancingTransaction()
  • Method Details

    • list

      public static FinancingTransactionCollection list(Map<String,Object> 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(Map<String,Object> 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
    • list

      Returns a list of financing transactions. The transactions are returned in sorted order, with the most recent transactions appearing first.
      Throws:
      StripeException
    • list

      Returns a list of financing transactions. The transactions are returned in sorted order, with the most recent transactions appearing first.
      Throws:
      StripeException
    • retrieve

      public static FinancingTransaction retrieve(String financingTransaction) throws StripeException
      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 StripeException
      Retrieves 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

      public String getAccount()
      The ID of the merchant associated with this financing transaction.
    • getCreatedAt

      public Long getCreatedAt()
      Time at which the financing transaction was created. Given in seconds since unix epoch.
    • getDetails

      public FinancingTransaction.Details getDetails()
      This is an object representing a transaction on a Capital financing offer.
    • getFinancingOffer

      public String getFinancingOffer()
      The Capital financing offer for this financing transaction.
    • getLegacyBalanceTransactionSource

      public String 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

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getObject

      public String getObject()
      The object type: financing_transaction

      Equal to capital.financing_transaction.

    • getType

      public String getType()
      The type of the financing transaction.

      One of payment, payout, or reversal.

    • getUserFacingDescription

      public String getUserFacingDescription()
      A human-friendly description of the financing transaction.
    • setAccount

      public void setAccount(String account)
      The ID of the merchant associated with this financing transaction.
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
      Time at which the financing transaction was created. Given in seconds since unix epoch.
    • setDetails

      public void setDetails(FinancingTransaction.Details details)
      This is an object representing a transaction on a Capital financing offer.
    • setFinancingOffer

      public void setFinancingOffer(String financingOffer)
      The Capital financing offer for this financing transaction.
    • setId

      public void setId(String id)
      A unique identifier for the financing transaction object.
    • setLegacyBalanceTransactionSource

      public 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.
    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setObject

      public void setObject(String object)
      The object type: financing_transaction

      Equal to capital.financing_transaction.

    • setType

      public void setType(String type)
      The type of the financing transaction.

      One of payment, payout, or reversal.

    • setUserFacingDescription

      public void setUserFacingDescription(String userFacingDescription)
      A human-friendly description of the financing transaction.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getId

      public String getId()
      A unique identifier for the financing transaction object.
      Specified by:
      getId in interface HasId