Class Transaction.FlowDetails

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.treasury.Transaction.FlowDetails
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Transaction

public static class Transaction.FlowDetails extends StripeObject
  • Constructor Details

    • FlowDetails

      public FlowDetails()
  • Method Details

    • getCreditReversal

      public CreditReversal getCreditReversal()
      You can reverse some ReceivedCredits depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal.
    • getDebitReversal

      public DebitReversal getDebitReversal()
      You can reverse some ReceivedDebits depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal.
    • getInboundTransfer

      public InboundTransfer getInboundTransfer()
      Use InboundTransfers to add funds to your FinancialAccount via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit.
    • getIssuingAuthorization

      public Authorization getIssuingAuthorization()
      When an issued card is used to make a purchase, an Issuing Authorization object is created. Authorizations must be approved for the purchase to be completed successfully.

      Related guide: Issued Card Authorizations.

    • getOutboundPayment

      public OutboundPayment getOutboundPayment()
      Use OutboundPayments to send funds to another party's external bank account or FinancialAccount. To send money to an account belonging to the same user, use an OutboundTransfer.

      Simulate OutboundPayment state changes with the /v1/test_helpers/treasury/outbound_payments endpoints. These methods can only be called on test mode objects.

    • getOutboundTransfer

      public OutboundTransfer getOutboundTransfer()
      Use OutboundTransfers to transfer funds from a FinancialAccount to a PaymentMethod belonging to the same entity. To send funds to a different party, use OutboundPayments instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.

      Simulate OutboundTransfer state changes with the /v1/test_helpers/treasury/outbound_transfers endpoints. These methods can only be called on test mode objects.

    • getReceivedCredit

      public ReceivedCredit getReceivedCredit()
      ReceivedCredits represent funds sent to a FinancialAccount (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount.
    • getReceivedDebit

      public ReceivedDebit getReceivedDebit()
      ReceivedDebits represent funds pulled from a FinancialAccount. These are not initiated from the FinancialAccount.
    • getType

      public String getType()
      Type of the flow that created the Transaction. Set to the same value as flow_type.

      One of credit_reversal, debit_reversal, inbound_transfer, issuing_authorization, other, outbound_payment, outbound_transfer, received_credit, or received_debit.

    • setCreditReversal

      public void setCreditReversal(CreditReversal creditReversal)
      You can reverse some ReceivedCredits depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal.
    • setDebitReversal

      public void setDebitReversal(DebitReversal debitReversal)
      You can reverse some ReceivedDebits depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal.
    • setInboundTransfer

      public void setInboundTransfer(InboundTransfer inboundTransfer)
      Use InboundTransfers to add funds to your FinancialAccount via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit.
    • setIssuingAuthorization

      public void setIssuingAuthorization(Authorization issuingAuthorization)
      When an issued card is used to make a purchase, an Issuing Authorization object is created. Authorizations must be approved for the purchase to be completed successfully.

      Related guide: Issued Card Authorizations.

    • setOutboundPayment

      public void setOutboundPayment(OutboundPayment outboundPayment)
      Use OutboundPayments to send funds to another party's external bank account or FinancialAccount. To send money to an account belonging to the same user, use an OutboundTransfer.

      Simulate OutboundPayment state changes with the /v1/test_helpers/treasury/outbound_payments endpoints. These methods can only be called on test mode objects.

    • setOutboundTransfer

      public void setOutboundTransfer(OutboundTransfer outboundTransfer)
      Use OutboundTransfers to transfer funds from a FinancialAccount to a PaymentMethod belonging to the same entity. To send funds to a different party, use OutboundPayments instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.

      Simulate OutboundTransfer state changes with the /v1/test_helpers/treasury/outbound_transfers endpoints. These methods can only be called on test mode objects.

    • setReceivedCredit

      public void setReceivedCredit(ReceivedCredit receivedCredit)
      ReceivedCredits represent funds sent to a FinancialAccount (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount.
    • setReceivedDebit

      public void setReceivedDebit(ReceivedDebit receivedDebit)
      ReceivedDebits represent funds pulled from a FinancialAccount. These are not initiated from the FinancialAccount.
    • setType

      public void setType(String type)
      Type of the flow that created the Transaction. Set to the same value as flow_type.

      One of credit_reversal, debit_reversal, inbound_transfer, issuing_authorization, other, outbound_payment, outbound_transfer, 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