Class ReceivedCredit.LinkedFlows.SourceFlowDetails

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails
All Implemented Interfaces:
StripeActiveObject, StripeObjectInterface
Enclosing class:
ReceivedCredit.LinkedFlows

public static class ReceivedCredit.LinkedFlows.SourceFlowDetails extends StripeObject implements StripeActiveObject
For more details about SourceFlowDetails, please refer to the API Reference.
  • Constructor Details

    • SourceFlowDetails

      public SourceFlowDetails()
  • Method Details

    • setResponseGetter

      public void setResponseGetter(StripeResponseGetter responseGetter)
      Description copied from interface: StripeActiveObject
      Method is used by the containing object or StripeResponseGetter implementations to set the StripeResponseGetter instance used to make further requests.
      Specified by:
      setResponseGetter in interface StripeActiveObject
      Parameters:
      responseGetter - the StripeResponseGetter instance to use for making further requests.
    • getCreditReversal

      public CreditReversal getCreditReversal()
      Legacy CreditReversals are part of the v1 version of Treasury for platforms and do not support many of the features introduced in Treasury for platforms v2. Use Received Credits instead of building a new v1 integration.

      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.

    • getOutboundPayment

      public OutboundPayment getOutboundPayment()
      Legacy OutboundPayments are part of the v1 version of Treasury for platforms and do not support many of the features introduced in Treasury for platforms v2. Use Outbound Payments instead of building a new v1 integration.

      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.

      Related guide: Moving money with Treasury using OutboundPayment objects

    • getOutboundTransfer

      public OutboundTransfer getOutboundTransfer()
      Legacy OutboundTransfers are part of the v1 version of Treasury for platforms and do not support many of the features introduced in Treasury for platforms v2. Use Outbound Transfers instead of building a new v1 integration.

      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.

      Related guide: Moving money with Treasury using OutboundTransfer objects

    • getPayout

      public Payout getPayout()
      A Payout object is created when you receive funds from Stripe, or when you initiate a payout to either a bank account or debit card of a connected Stripe account. You can retrieve individual payouts, and list all payouts. Payouts are made on varying schedules, depending on your country and industry.

      Related guide: Receiving payouts

    • getType

      public String getType()
      The type of the source flow that originated the ReceivedCredit.

      One of credit_reversal, other, outbound_payment, outbound_transfer, or payout.

    • setCreditReversal

      public void setCreditReversal(CreditReversal creditReversal)
      Legacy CreditReversals are part of the v1 version of Treasury for platforms and do not support many of the features introduced in Treasury for platforms v2. Use Received Credits instead of building a new v1 integration.

      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.

    • setOutboundPayment

      public void setOutboundPayment(OutboundPayment outboundPayment)
      Legacy OutboundPayments are part of the v1 version of Treasury for platforms and do not support many of the features introduced in Treasury for platforms v2. Use Outbound Payments instead of building a new v1 integration.

      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.

      Related guide: Moving money with Treasury using OutboundPayment objects

    • setOutboundTransfer

      public void setOutboundTransfer(OutboundTransfer outboundTransfer)
      Legacy OutboundTransfers are part of the v1 version of Treasury for platforms and do not support many of the features introduced in Treasury for platforms v2. Use Outbound Transfers instead of building a new v1 integration.

      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.

      Related guide: Moving money with Treasury using OutboundTransfer objects

    • setPayout

      public void setPayout(Payout payout)
      A Payout object is created when you receive funds from Stripe, or when you initiate a payout to either a bank account or debit card of a connected Stripe account. You can retrieve individual payouts, and list all payouts. Payouts are made on varying schedules, depending on your country and industry.

      Related guide: Receiving payouts

    • setType

      public void setType(String type)
      The type of the source flow that originated the ReceivedCredit.

      One of credit_reversal, other, outbound_payment, outbound_transfer, or payout.

    • 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