Class Transaction.Flow

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.moneymanagement.Transaction.Flow
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Transaction

public static class Transaction.Flow extends StripeObject
Details about the flow object that created the Transaction, such as an InboundTransfer or OutboundPayment. flow.type identifies the kind of object. The corresponding field contains its ID, when available: for an InboundTransfer, flow.inbound_transfer contains the InboundTransfer's ID. Pass that ID to the flow parameter on List Transactions.
  • Constructor Details

    • Flow

      public Flow()
  • Method Details

    • getAdjustment

      public String getAdjustment()
      If applicable, the ID of the Adjustment that created this Transaction.
    • getCurrencyConversion

      public String getCurrencyConversion()
      When available, the ID of the CurrencyConversion that created this Transaction.
    • getFeeBatch

      public String getFeeBatch()
      If applicable, the ID of the FeeBatch that created this Transaction.
    • getInboundTransfer

      public String getInboundTransfer()
      If applicable, the ID of the InboundTransfer that created this Transaction.
    • getOutboundPayment

      public String getOutboundPayment()
      If applicable, the ID of the OutboundPayment that created this Transaction.
    • getOutboundTransfer

      public String getOutboundTransfer()
      If applicable, the ID of the OutboundTransfer that created this Transaction.
    • getReceivedCredit

      public String getReceivedCredit()
      If applicable, the ID of the ReceivedCredit that created this Transaction.
    • getReceivedDebit

      public String getReceivedDebit()
      If applicable, the ID of the ReceivedDebit that created this Transaction.
    • getType

      public String getType()
      Open Enum. The type of flow that created the Transaction. When available, the flow's ID is provided in the corresponding field.

      One of adjustment, currency_conversion, fee_batch, inbound_transfer, outbound_payment, outbound_transfer, received_credit, or received_debit.

    • setAdjustment

      public void setAdjustment(String adjustment)
      If applicable, the ID of the Adjustment that created this Transaction.
    • setCurrencyConversion

      public void setCurrencyConversion(String currencyConversion)
      When available, the ID of the CurrencyConversion that created this Transaction.
    • setFeeBatch

      public void setFeeBatch(String feeBatch)
      If applicable, the ID of the FeeBatch that created this Transaction.
    • setInboundTransfer

      public void setInboundTransfer(String inboundTransfer)
      If applicable, the ID of the InboundTransfer that created this Transaction.
    • setOutboundPayment

      public void setOutboundPayment(String outboundPayment)
      If applicable, the ID of the OutboundPayment that created this Transaction.
    • setOutboundTransfer

      public void setOutboundTransfer(String outboundTransfer)
      If applicable, the ID of the OutboundTransfer that created this Transaction.
    • setReceivedCredit

      public void setReceivedCredit(String receivedCredit)
      If applicable, the ID of the ReceivedCredit that created this Transaction.
    • setReceivedDebit

      public void setReceivedDebit(String receivedDebit)
      If applicable, the ID of the ReceivedDebit that created this Transaction.
    • setType

      public void setType(String type)
      Open Enum. The type of flow that created the Transaction. When available, the flow's ID is provided in the corresponding field.

      One of adjustment, currency_conversion, fee_batch, inbound_transfer, 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