EmbeddedPaymentElement
class EmbeddedPaymentElement
Types
Link copied to clipboard
class Builder(createIntentCallback: CreateIntentCallback, resultCallback: EmbeddedPaymentElement.ResultCallback)
Builder used in the creation of the EmbeddedPaymentElement.
Link copied to clipboard
Configuration for EmbeddedPaymentElement
Link copied to clipboard
The result of a configure call.
Link copied to clipboard
class PaymentOptionDisplayData
Link copied to clipboard
The result of an attempt to confirm a PaymentIntent or SetupIntent.
Link copied to clipboard
Callback that is invoked when a Result is available.
Properties
Functions
Link copied to clipboard
Sets the current paymentOption to null
.
Link copied to clipboard
suspend fun configure( intentConfiguration: PaymentSheet.IntentConfiguration, configuration: EmbeddedPaymentElement.Configuration): EmbeddedPaymentElement.ConfigureResult
Call this method to configure EmbeddedPaymentElement or when the IntentConfiguration values you used to configure EmbeddedPaymentElement (amount, currency, etc.) change.
Link copied to clipboard
A composable function that displays payment methods.