Package com.stripe.model.checkout
Class Session.CustomerDetails
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.checkout.Session.CustomerDetails
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
public static class Session.CustomerDetails extends StripeObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Session.CustomerDetails.TaxID
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description CustomerDetails()
-
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.String
getEmail()
The email associated with the Customer, if one exists, on the Checkout Session at the time of checkout or at time of session expiry.java.lang.String
getPhone()
The customer's phone number at the time of checkout.java.lang.String
getTaxExempt()
The customer’s tax exempt status at time of checkout.java.util.List<Session.CustomerDetails.TaxID>
getTaxIds()
The customer’s tax IDs at time of checkout.int
hashCode()
void
setEmail(java.lang.String email)
The email associated with the Customer, if one exists, on the Checkout Session at the time of checkout or at time of session expiry.void
setPhone(java.lang.String phone)
The customer's phone number at the time of checkout.void
setTaxExempt(java.lang.String taxExempt)
The customer’s tax exempt status at time of checkout.void
setTaxIds(java.util.List<Session.CustomerDetails.TaxID> taxIds)
The customer’s tax IDs at time of checkout.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getEmail
public java.lang.String getEmail()
The email associated with the Customer, if one exists, on the Checkout Session at the time of checkout or at time of session expiry. Otherwise, if the customer has consented to promotional content, this value is the most recent valid email provided by the customer on the Checkout form.
-
getPhone
public java.lang.String getPhone()
The customer's phone number at the time of checkout.
-
getTaxExempt
public java.lang.String getTaxExempt()
The customer’s tax exempt status at time of checkout.One of
exempt
,none
, orreverse
.
-
getTaxIds
public java.util.List<Session.CustomerDetails.TaxID> getTaxIds()
The customer’s tax IDs at time of checkout.
-
setEmail
public void setEmail(java.lang.String email)
The email associated with the Customer, if one exists, on the Checkout Session at the time of checkout or at time of session expiry. Otherwise, if the customer has consented to promotional content, this value is the most recent valid email provided by the customer on the Checkout form.
-
setPhone
public void setPhone(java.lang.String phone)
The customer's phone number at the time of checkout.
-
setTaxExempt
public void setTaxExempt(java.lang.String taxExempt)
The customer’s tax exempt status at time of checkout.One of
exempt
,none
, orreverse
.
-
setTaxIds
public void setTaxIds(java.util.List<Session.CustomerDetails.TaxID> taxIds)
The customer’s tax IDs at time of checkout.
-
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
-
-