public static class Person.Relationship extends StripeObject
PRETTY_PRINT_GSON
Constructor and Description |
---|
Relationship() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getAccountOpener()
Whether the person opened the account.
|
java.lang.Boolean |
getDirector()
Whether the person is a director of the account's legal entity.
|
java.lang.Boolean |
getOwner()
Whether the person is an owner of the account’s legal entity.
|
java.math.BigDecimal |
getPercentOwnership()
The percent owned by the person of the account's legal entity.
|
java.lang.String |
getTitle()
The person's title (e.g., CEO, Support Engineer).
|
int |
hashCode() |
void |
setAccountOpener(java.lang.Boolean accountOpener)
Whether the person opened the account.
|
void |
setDirector(java.lang.Boolean director)
Whether the person is a director of the account's legal entity.
|
void |
setOwner(java.lang.Boolean owner)
Whether the person is an owner of the account’s legal entity.
|
void |
setPercentOwnership(java.math.BigDecimal percentOwnership)
The percent owned by the person of the account's legal entity.
|
void |
setTitle(java.lang.String title)
The person's title (e.g., CEO, Support Engineer).
|
equals, getLastResponse, setLastResponse, toJson, toString
public java.lang.Boolean getAccountOpener()
public java.lang.Boolean getDirector()
public java.lang.Boolean getOwner()
public java.math.BigDecimal getPercentOwnership()
public java.lang.String getTitle()
public void setAccountOpener(java.lang.Boolean accountOpener)
public void setDirector(java.lang.Boolean director)
public void setOwner(java.lang.Boolean owner)
public void setPercentOwnership(java.math.BigDecimal percentOwnership)
public void setTitle(java.lang.String title)
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