Class AccountSignals

All Implemented Interfaces:
StripeActiveObject, StripeObjectInterface

public class AccountSignals extends ApiResource
The Account Signals API provides risk related signals that can be used to better manage risks.
  • Constructor Details

    • AccountSignals

      public AccountSignals()
  • Method Details

    • retrieve

      public static AccountSignals retrieve(String accountId) throws StripeException
      Retrieves the account’s Signal objects.
      Throws:
      StripeException
    • retrieve

      public static AccountSignals retrieve(String accountId, RequestOptions options) throws StripeException
      Retrieves the account’s Signal objects.
      Throws:
      StripeException
    • retrieve

      public static AccountSignals retrieve(String accountId, Map<String,Object> params, RequestOptions options) throws StripeException
      Retrieves the account’s Signal objects.
      Throws:
      StripeException
    • retrieve

      public static AccountSignals retrieve(String accountId, AccountSignalsRetrieveParams params, RequestOptions options) throws StripeException
      Retrieves the account’s Signal objects.
      Throws:
      StripeException
    • setResponseGetter

      public void setResponseGetter(StripeResponseGetter responseGetter)
      The name of the specific indicator used in the risk assessment.

      One of account_balance, aov, charge_concentration, dispute_window, disputes, duplicates, exposure, firmographic, lifetime_metrics, payment_processing, payment_volume, payouts, refunds, tenure, or transfers.

      Specified by:
      setResponseGetter in interface StripeActiveObject
      Overrides:
      setResponseGetter in class ApiResource
      Parameters:
      responseGetter - the StripeResponseGetter instance to use for making further requests.
    • getAccount

      public String getAccount()
      The account for which the signals belong to.
    • getDelinquency

      public AccountSignals.Delinquency getDelinquency()
      The delinquency signal of the account.
    • 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 account_signals.

    • setAccount

      public void setAccount(String account)
      The account for which the signals belong to.
    • setDelinquency

      public void setDelinquency(AccountSignals.Delinquency delinquency)
      The delinquency signal of the account.
    • 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 account_signals.

    • 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