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
Text may be up to 1200 characters in length.
  • Constructor Details

    • CustomerDetails

      public CustomerDetails()
  • Method Details

    • getAddress

      public Address 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

      public String 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

      public String 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

      public String getPhone()
      The customer's phone number after a completed Checkout Session.
    • getTaxExempt

      public String getTaxExempt()
      The customer’s tax exempt status after a completed Checkout Session.

      One of exempt, none, or reverse.

    • getTaxIds

      public List<Session.CustomerDetails.TaxId> getTaxIds()
      The customer’s tax IDs after a completed Checkout Session.
    • setAddress

      public void setAddress(Address address)
      The customer's address after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022.
    • setEmail

      public void setEmail(String email)
      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

      public void setName(String name)
      The customer's name after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022.
    • setPhone

      public void setPhone(String phone)
      The customer's phone number after a completed Checkout Session.
    • setTaxExempt

      public void setTaxExempt(String taxExempt)
      The customer’s tax exempt status after a completed Checkout Session.

      One of exempt, none, or reverse.

    • setTaxIds

      public void setTaxIds(List<Session.CustomerDetails.TaxId> taxIds)
      The customer’s tax IDs after a completed Checkout Session.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object