Class Release.SourceTransaction

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.reserve.Release.SourceTransaction
All Implemented Interfaces:
StripeActiveObject, StripeObjectInterface
Enclosing class:
Release

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

    • SourceTransaction

      public SourceTransaction()
  • Method Details

    • getDispute

      public String getDispute()
      Get ID of expandable dispute object.
    • setDispute

      public void setDispute(String id)
    • getDisputeObject

      public Dispute getDisputeObject()
      Get expanded dispute.
    • setDisputeObject

      public void setDisputeObject(Dispute expandableObject)
    • getRefund

      public String getRefund()
      Get ID of expandable refund object.
    • setRefund

      public void setRefund(String id)
    • getRefundObject

      public Refund getRefundObject()
      Get expanded refund.
    • setRefundObject

      public void setRefundObject(Refund expandableObject)
    • 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.
    • getType

      public String getType()
      The type of source transaction.

      One of dispute, or refund.

    • setType

      public void setType(String type)
      The type of source transaction.

      One of dispute, or refund.

    • 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