Class TransactionEntry

All Implemented Interfaces:
HasId, StripeObjectInterface

public class TransactionEntry extends ApiResource implements HasId
  • Constructor Details

    • TransactionEntry

      public TransactionEntry()
  • Method Details

    • getTransaction

      public String getTransaction()
      Get ID of expandable transaction object.
    • setTransaction

      public void setTransaction(String id)
    • getTransactionObject

      public Transaction getTransactionObject()
      Get expanded transaction.
    • setTransactionObject

      public void setTransactionObject(Transaction expandableObject)
    • retrieve

      public static TransactionEntry retrieve(String id) throws StripeException
      Retrieves a TransactionEntry object.
      Throws:
      StripeException
    • retrieve

      public static TransactionEntry retrieve(String id, RequestOptions options) throws StripeException
      Retrieves a TransactionEntry object.
      Throws:
      StripeException
    • retrieve

      public static TransactionEntry retrieve(String id, Map<String,Object> params, RequestOptions options) throws StripeException
      Retrieves a TransactionEntry object.
      Throws:
      StripeException
    • retrieve

      public static TransactionEntry retrieve(String id, TransactionEntryRetrieveParams params, RequestOptions options) throws StripeException
      Retrieves a TransactionEntry object.
      Throws:
      StripeException
    • list

      public static TransactionEntryCollection list(Map<String,Object> params) throws StripeException
      Retrieves a list of TransactionEntry objects.
      Throws:
      StripeException
    • list

      public static TransactionEntryCollection list(Map<String,Object> params, RequestOptions options) throws StripeException
      Retrieves a list of TransactionEntry objects.
      Throws:
      StripeException
    • list

      Retrieves a list of TransactionEntry objects.
      Throws:
      StripeException
    • list

      Retrieves a list of TransactionEntry objects.
      Throws:
      StripeException
    • getBalanceImpact

      public TransactionEntry.BalanceImpact getBalanceImpact()
      Change to a FinancialAccount's balance.
    • getCreated

      public Long getCreated()
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • getCurrency

      public String getCurrency()
      Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • getEffectiveAt

      public Long getEffectiveAt()
      When the TransactionEntry will impact the FinancialAccount's balance.
    • getFinancialAccount

      public String getFinancialAccount()
      The FinancialAccount associated with this object.
    • getFlow

      public String getFlow()
      Token of the flow associated with the TransactionEntry.
    • getFlowDetails

      public FlowDetails getFlowDetails()
      Details of the flow associated with the TransactionEntry.
    • getFlowType

      public String 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, or received_debit.

    • 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()
      String representing the object's type. Objects of the same type share the same value.

      Equal to treasury.transaction_entry.

    • getType

      public String 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, or received_debit.

    • setBalanceImpact

      public void setBalanceImpact(TransactionEntry.BalanceImpact balanceImpact)
      Change to a FinancialAccount's balance.
    • setCreated

      public void setCreated(Long created)
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • setCurrency

      public void setCurrency(String currency)
      Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • setEffectiveAt

      public void setEffectiveAt(Long effectiveAt)
      When the TransactionEntry will impact the FinancialAccount's balance.
    • setFinancialAccount

      public void setFinancialAccount(String financialAccount)
      The FinancialAccount associated with this object.
    • setFlow

      public void setFlow(String flow)
      Token of the flow associated with the TransactionEntry.
    • setFlowDetails

      public void setFlowDetails(FlowDetails flowDetails)
      Details of the flow associated with the TransactionEntry.
    • setFlowType

      public void setFlowType(String flowType)
      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, or received_debit.

    • setId

      public void setId(String id)
      Unique identifier for the object.
    • 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)
      String representing the object's type. Objects of the same type share the same value.

      Equal to treasury.transaction_entry.

    • setType

      public void setType(String type)
      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, or received_debit.

    • 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()
      Unique identifier for the object.
      Specified by:
      getId in interface HasId