toggle menu
stripe-android
androidJvm
switch theme
search in API
payments-model
/
com.stripe.android.model
/
ConsumerSession
Consumer
Session
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
@
Serializable
data
class
ConsumerSession
(
val
clientSecret
:
String
=
""
,
val
emailAddress
:
String
,
val
redactedPhoneNumber
:
String
,
val
verificationSessions
:
List
<
ConsumerSession.VerificationSession
>
=
emptyList()
,
val
authSessionClientSecret
:
String
?
=
null
,
val
publishableKey
:
String
?
=
null
)
:
StripeModel
The result of a call to Link consumer sign up.
Members
Constructors
Consumer
Session
Link copied to clipboard
constructor
(
clientSecret
:
String
=
""
,
emailAddress
:
String
,
redactedPhoneNumber
:
String
,
verificationSessions
:
List
<
ConsumerSession.VerificationSession
>
=
emptyList()
,
authSessionClientSecret
:
String
?
=
null
,
publishableKey
:
String
?
=
null
)
Types
Verification
Session
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
@
Serializable
data
class
VerificationSession
(
val
type
:
ConsumerSession.VerificationSession.SessionType
,
val
state
:
ConsumerSession.VerificationSession.SessionState
)
:
StripeModel
Properties
auth
Session
Client
Secret
Link copied to clipboard
val
authSessionClientSecret
:
String
?
=
null
client
Secret
Link copied to clipboard
val
clientSecret
:
String
email
Address
Link copied to clipboard
val
emailAddress
:
String
publishable
Key
Link copied to clipboard
val
publishableKey
:
String
?
=
null
redacted
Phone
Number
Link copied to clipboard
val
redactedPhoneNumber
:
String
verification
Sessions
Link copied to clipboard
val
verificationSessions
:
List
<
ConsumerSession.VerificationSession
>
Functions
describe
Contents
Link copied to clipboard
abstract
fun
describeContents
(
)
:
Int
write
To
Parcel
Link copied to clipboard
abstract
fun
writeToParcel
(
p0
:
Parcel
,
p1
:
Int
)