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
For more details about CustomerDetails, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about TaxId, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe customer's address after a completed Checkout Session.The customer's business name 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.The customer's individual name after a completed Checkout Session.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.inthashCode()voidsetAddress(Address address) The customer's address after a completed Checkout Session.voidsetBusinessName(String businessName) The customer's business name after a completed Checkout Session.voidThe email associated with the Customer, if one exists, on the Checkout Session after a completed Checkout Session or at time of session expiry.voidsetIndividualName(String individualName) The customer's individual name after a completed Checkout Session.voidThe customer's name after a completed Checkout Session.voidThe customer's phone number after a completed Checkout Session.voidsetTaxExempt(String taxExempt) The customer’s tax exempt status after a completed Checkout Session.voidsetTaxIds(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, 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. -
getBusinessName
The customer's business name 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. 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. -
getIndividualName
The customer's individual name after a completed Checkout Session. -
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. -
setBusinessName
The customer's business name after a completed Checkout Session. -
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. -
setIndividualName
The customer's individual name after a completed Checkout Session. -
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()
-