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 boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getAction()
The action taken on the payment.java.lang.Boolean
getDeleted()
Always true for a deleted object.java.lang.String
getId()
Unique identifier for the object.java.lang.String
getPredicate()
The predicate to evaluate the payment against.int
hashCode()
void
setAction(java.lang.String action)
The action taken on the payment.void
setDeleted(java.lang.Boolean deleted)
Always true for a deleted object.void
setId(java.lang.String id)
Unique identifier for the object.void
setPredicate(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:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-