Class Rule

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.radar.Rule
All Implemented Interfaces:
HasId, StripeObjectInterface

public class Rule extends StripeObject implements HasId
  • Constructor Details

    • Rule

      public Rule()
  • Method Details

    • getAction

      public String getAction()
      The action taken on the payment.
    • getDeleted

      public Boolean getDeleted()
      Always true for a deleted object.
    • getPredicate

      public String getPredicate()
      The predicate to evaluate the payment against.
    • setAction

      public void setAction(String action)
      The action taken on the payment.
    • setDeleted

      public void setDeleted(Boolean deleted)
      Always true for a deleted object.
    • setId

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

      public void setPredicate(String predicate)
      The predicate to evaluate the payment against.
    • 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