public class Rule extends StripeObject implements HasId
PRETTY_PRINT_GSON
Constructor and Description |
---|
Rule() |
Modifier and Type | Method and 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.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.String getAction()
public java.lang.Boolean getDeleted()
public java.lang.String getPredicate()
public void setAction(java.lang.String action)
public void setDeleted(java.lang.Boolean deleted)
public void setId(java.lang.String id)
public void setPredicate(java.lang.String predicate)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object