Package com.stripe.model.radar
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
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description Rule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetAction()The action taken on the payment.java.lang.BooleangetDeleted()Always true for a deleted object.java.lang.StringgetId()Unique identifier for the object.java.lang.StringgetPredicate()The predicate to evaluate the payment against.inthashCode()voidsetAction(java.lang.String action)The action taken on the payment.voidsetDeleted(java.lang.Boolean deleted)Always true for a deleted object.voidsetId(java.lang.String id)Unique identifier for the object.voidsetPredicate(java.lang.String predicate)The predicate to evaluate the payment against.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAction
public java.lang.String getAction()
The action taken on the payment.
-
getDeleted
public java.lang.Boolean getDeleted()
Always true for a deleted object.
-
getPredicate
public java.lang.String getPredicate()
The predicate to evaluate the payment against.
-
setAction
public void setAction(java.lang.String action)
The action taken on the payment.
-
setDeleted
public void setDeleted(java.lang.Boolean deleted)
Always true for a deleted object.
-
setId
public void setId(java.lang.String id)
Unique identifier for the object.
-
setPredicate
public void setPredicate(java.lang.String predicate)
The predicate to evaluate the payment against.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-