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
Text may be up to 1200 characters in length.
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The customer's address after a completed Checkout Session.getEmail()
The email associated with the Customer, if one exists, on the Checkout Session after a completed Checkout Session or at time of session expiry.getName()
The customer's name after a completed Checkout Session.getPhone()
The customer's phone number after a completed Checkout Session.The customer’s tax exempt status after a completed Checkout Session.The customer’s tax IDs after a completed Checkout Session.int
hashCode()
void
setAddress
(Address address) The customer's address after a completed Checkout Session.void
The email associated with the Customer, if one exists, on the Checkout Session after a completed Checkout Session or at time of session expiry.void
The customer's name after a completed Checkout Session.void
The customer's phone number after a completed Checkout Session.void
setTaxExempt
(String taxExempt) The customer’s tax exempt status after a completed Checkout Session.void
setTaxIds
(List<Session.CustomerDetails.TaxId> taxIds) The customer’s tax IDs after a completed Checkout Session.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CustomerDetails
public CustomerDetails()
-
-
Method Details
-
getAddress
The customer's address after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022. -
getEmail
The email associated with the Customer, if one exists, on the Checkout Session after a completed Checkout Session 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. -
getName
The customer's name after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022. -
getPhone
The customer's phone number after a completed Checkout Session. -
getTaxExempt
The customer’s tax exempt status after a completed Checkout Session.One of
exempt
,none
, orreverse
. -
getTaxIds
The customer’s tax IDs after a completed Checkout Session. -
setAddress
The customer's address after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022. -
setEmail
The email associated with the Customer, if one exists, on the Checkout Session after a completed Checkout Session 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. -
setName
The customer's name after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022. -
setPhone
The customer's phone number after a completed Checkout Session. -
setTaxExempt
The customer’s tax exempt status after a completed Checkout Session.One of
exempt
,none
, orreverse
. -
setTaxIds
The customer’s tax IDs after a completed Checkout Session. -
equals
-
canEqual
-
hashCode
public int hashCode()
-