Class ReceivedCredit.ReversalDetails

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

public static class ReceivedCredit.ReversalDetails extends StripeObject
The type of the source flow that originated the ReceivedCredit.

One of credit_reversal, other, outbound_payment, or payout.

  • Constructor Details

    • ReversalDetails

      public ReversalDetails()
  • Method Details

    • getDeadline

      public Long getDeadline()
      Time before which a ReceivedCredit can be reversed.
    • getRestrictedReason

      public String getRestrictedReason()
      Set if a ReceivedCredit cannot be reversed.

      One of already_reversed, deadline_passed, network_restricted, other, or source_flow_restricted.

    • setDeadline

      public void setDeadline(Long deadline)
      Time before which a ReceivedCredit can be reversed.
    • setRestrictedReason

      public void setRestrictedReason(String restrictedReason)
      Set if a ReceivedCredit cannot be reversed.

      One of already_reversed, deadline_passed, network_restricted, other, or source_flow_restricted.

    • 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