toggle menu
stripe-android
androidJvm
switch theme
search in API
payments-ui-core
/
com.stripe.android.ui.core.elements
/
SaveForFutureUseController
Save
For
Future
Use
Controller
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
class
SaveForFutureUseController
(
saveForFutureUseInitialValue
:
Boolean
)
:
InputController
Members
Constructors
Save
For
Future
Use
Controller
Link copied to clipboard
constructor
(
saveForFutureUseInitialValue
:
Boolean
)
Properties
error
Link copied to clipboard
open
override
val
error
:
StateFlow
<
FieldError
?
>
field
Value
Link copied to clipboard
open
override
val
fieldValue
:
StateFlow
<
String
>
form
Field
Value
Link copied to clipboard
open
override
val
formFieldValue
:
StateFlow
<
FormFieldEntry
>
is
Complete
Link copied to clipboard
open
override
val
isComplete
:
StateFlow
<
Boolean
>
label
Link copied to clipboard
open
override
val
label
:
StateFlow
<
Int
>
raw
Field
Value
Link copied to clipboard
open
override
val
rawFieldValue
:
StateFlow
<
String
?
>
save
For
Future
Use
Link copied to clipboard
val
saveForFutureUse
:
StateFlow
<
Boolean
>
show
Optional
Label
Link copied to clipboard
open
override
val
showOptionalLabel
:
Boolean
=
false
Functions
on
Raw
Value
Change
Link copied to clipboard
open
override
fun
onRawValueChange
(
rawValue
:
String
)
on
Value
Change
Link copied to clipboard
fun
onValueChange
(
saveForFutureUse
:
Boolean
)