Package com.stripe.model
Class Person.DateOfBirth
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Person.DateOfBirth
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Person
public static class Person.DateOfBirth extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description DateOfBirth()
-
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.Long
getDay()
The day of birth, between 1 and 31.java.lang.Long
getMonth()
The month of birth, between 1 and 12.java.lang.Long
getYear()
The four-digit year of birth.int
hashCode()
void
setDay(java.lang.Long day)
The day of birth, between 1 and 31.void
setMonth(java.lang.Long month)
The month of birth, between 1 and 12.void
setYear(java.lang.Long year)
The four-digit year of birth.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getDay
public java.lang.Long getDay()
The day of birth, between 1 and 31.
-
getMonth
public java.lang.Long getMonth()
The month of birth, between 1 and 12.
-
getYear
public java.lang.Long getYear()
The four-digit year of birth.
-
setDay
public void setDay(java.lang.Long day)
The day of birth, between 1 and 31.
-
setMonth
public void setMonth(java.lang.Long month)
The month of birth, between 1 and 12.
-
setYear
public void setYear(java.lang.Long year)
The four-digit year of birth.
-
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
-
-