Package com.stripe.model
Class Mandate.CustomerAcceptance
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Mandate.CustomerAcceptance
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Mandate
public static class Mandate.CustomerAcceptance extends StripeObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Mandate.CustomerAcceptance.Offline
static class
Mandate.CustomerAcceptance.Online
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description CustomerAcceptance()
-
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
getAcceptedAt()
The time at which the customer accepted the Mandate.Mandate.CustomerAcceptance.Offline
getOffline()
Mandate.CustomerAcceptance.Online
getOnline()
java.lang.String
getType()
The type of customer acceptance information included with the Mandate.int
hashCode()
void
setAcceptedAt(java.lang.Long acceptedAt)
The time at which the customer accepted the Mandate.void
setOffline(Mandate.CustomerAcceptance.Offline offline)
void
setOnline(Mandate.CustomerAcceptance.Online online)
void
setType(java.lang.String type)
The type of customer acceptance information included with the Mandate.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAcceptedAt
public java.lang.Long getAcceptedAt()
The time at which the customer accepted the Mandate.
-
getOffline
public Mandate.CustomerAcceptance.Offline getOffline()
-
getOnline
public Mandate.CustomerAcceptance.Online getOnline()
-
getType
public java.lang.String getType()
The type of customer acceptance information included with the Mandate. One ofonline
oroffline
.
-
setAcceptedAt
public void setAcceptedAt(java.lang.Long acceptedAt)
The time at which the customer accepted the Mandate.
-
setOffline
public void setOffline(Mandate.CustomerAcceptance.Offline offline)
-
setOnline
public void setOnline(Mandate.CustomerAcceptance.Online online)
-
setType
public void setType(java.lang.String type)
The type of customer acceptance information included with the Mandate. One ofonline
oroffline
.
-
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
-
-