Package com.stripe.model.checkout
Class Session.PhoneNumberCollection
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.checkout.Session.PhoneNumberCollection
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
public static class Session.PhoneNumberCollection extends StripeObject
The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description PhoneNumberCollection()
-
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.Boolean
getEnabled()
Indicates whether phone number collection is enabled for the session.int
hashCode()
void
setEnabled(java.lang.Boolean enabled)
Indicates whether phone number collection is enabled for the session.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getEnabled
public java.lang.Boolean getEnabled()
Indicates whether phone number collection is enabled for the session.
-
setEnabled
public void setEnabled(java.lang.Boolean enabled)
Indicates whether phone number collection is enabled for the session.
-
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
-
-