Class FraudLiabilityDebit

java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.issuing.FraudLiabilityDebit
All Implemented Interfaces:
HasId, StripeActiveObject, StripeObjectInterface

public class FraudLiabilityDebit extends ApiResource implements HasId
A fraud liability debit occurs when Stripe debits a platform's account for fraud losses on Issuing transactions.
  • Constructor Details

    • FraudLiabilityDebit

      public FraudLiabilityDebit()
  • Method Details

    • getBalanceTransaction

      public String getBalanceTransaction()
      Get ID of expandable balanceTransaction object.
    • setBalanceTransaction

      public void setBalanceTransaction(String id)
    • getBalanceTransactionObject

      public BalanceTransaction getBalanceTransactionObject()
      Get expanded balanceTransaction.
    • setBalanceTransactionObject

      public void setBalanceTransactionObject(BalanceTransaction expandableObject)
    • list

      public static FraudLiabilityDebitCollection list(Map<String,Object> params) throws StripeException
      Returns a list of Issuing FraudLiabilityDebit objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
      Throws:
      StripeException
    • list

      public static FraudLiabilityDebitCollection list(Map<String,Object> params, RequestOptions options) throws StripeException
      Returns a list of Issuing FraudLiabilityDebit objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
      Throws:
      StripeException
    • list

      Returns a list of Issuing FraudLiabilityDebit objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
      Throws:
      StripeException
    • list

      Returns a list of Issuing FraudLiabilityDebit objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
      Throws:
      StripeException
    • retrieve

      public static FraudLiabilityDebit retrieve(String fraudLiabilityDebit) throws StripeException
      Retrieves an Issuing FraudLiabilityDebit object.
      Throws:
      StripeException
    • retrieve

      public static FraudLiabilityDebit retrieve(String fraudLiabilityDebit, RequestOptions options) throws StripeException
      Retrieves an Issuing FraudLiabilityDebit object.
      Throws:
      StripeException
    • retrieve

      public static FraudLiabilityDebit retrieve(String fraudLiabilityDebit, Map<String,Object> params, RequestOptions options) throws StripeException
      Retrieves an Issuing FraudLiabilityDebit object.
      Throws:
      StripeException
    • retrieve

      public static FraudLiabilityDebit retrieve(String fraudLiabilityDebit, FraudLiabilityDebitRetrieveParams params, RequestOptions options) throws StripeException
      Retrieves an Issuing FraudLiabilityDebit object.
      Throws:
      StripeException
    • 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
      Overrides:
      setResponseGetter in class ApiResource
      Parameters:
      responseGetter - the StripeResponseGetter instance to use for making further requests.
    • getAmount

      public Long getAmount()
      Debited amount. This is equal to the disputed amount and is given in the card’s currency and in the smallest currency unit.
    • getCreated

      public Long getCreated()
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • getCurrency

      public String getCurrency()
      The currency of the debit. Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • getDispute

      public String getDispute()
      The ID of the linked dispute.
    • getLivemode

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getObject

      public String getObject()
      String representing the object's type. Objects of the same type share the same value.

      Equal to issuing.fraud_liability_debit.

    • setAmount

      public void setAmount(Long amount)
      Debited amount. This is equal to the disputed amount and is given in the card’s currency and in the smallest currency unit.
    • setCreated

      public void setCreated(Long created)
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • setCurrency

      public void setCurrency(String currency)
      The currency of the debit. Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • setDispute

      public void setDispute(String dispute)
      The ID of the linked dispute.
    • setId

      public void setId(String id)
      Unique identifier for the object.
    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setObject

      public void setObject(String object)
      String representing the object's type. Objects of the same type share the same value.

      Equal to issuing.fraud_liability_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
    • getId

      public String getId()
      Unique identifier for the object.
      Specified by:
      getId in interface HasId