Package com.stripe.android.view

Types

ActivityStarter
Link copied to clipboard
abstract class ActivityStarter<TargetActivityType : Activity, ArgsType : ActivityStarter.Args>
AddPaymentMethodActivity
Link copied to clipboard
Activity used to display a AddPaymentMethodView and receive the resulting PaymentMethod in the Activity#onActivityResult(int, int, Intent) of the launching Activity.Should be started with AddPaymentMethodActivityStarter.
class AddPaymentMethodActivity : StripeActivity
AddPaymentMethodActivityStarter
Link copied to clipboard
A class to start AddPaymentMethodActivity. Arguments for the activity can be specified with Args and constructed with Args.Builder.The result will be returned with request code REQUEST_CODE.
class AddPaymentMethodActivityStarter : ActivityStarter
BecsDebitMandateAcceptanceTextFactory
Link copied to clipboard
A class to create BECS Debit Mandate Agreement text for the BecsDebitWidget.
class BecsDebitMandateAcceptanceTextFactory(context: Context)
BecsDebitMandateAcceptanceTextView
Link copied to clipboard
class BecsDebitMandateAcceptanceTextView @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,defStyleAttr: Int) : AppCompatTextView
BecsDebitWidget
Link copied to clipboard
A form for accepting a customer's BECS account information.A company name is required to render this widget. A company name can either be specified by passing it to the BecsDebitWidget constructor, or via XML:
<com.stripe.android.view.BecsDebitWidget
android:id="@+id/element"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:companyName="@string/becs_company_name" />
class BecsDebitWidget @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,defStyleAttr: Int,companyName: String) : FrameLayout
BillingAddressFields
Link copied to clipboard
Configure AddPaymentMethodActivity's UI and validation logic for billing address fields
enum BillingAddressFields : Enum
CardInputListener
Link copied to clipboard
Represents a listener for card input events. Note that events are not one-time events. For instance, a user can "complete" the CVC many times by deleting and re-entering the value.
interface CardInputListener
CardInputWidget
Link copied to clipboard
A card input widget that handles all animation on its own.The individual EditText views of this widget can be styled by defining a style Stripe.CardInputWidget.EditText that extends Stripe.Base.CardInputWidget.EditText.
class CardInputWidget @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,defStyleAttr: Int) : LinearLayout, CardWidget
CardMultilineWidget
Link copied to clipboard
A multiline card input widget using the support design library's TextInputLayout to match Material Design.
class CardMultilineWidget @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,defStyleAttr: Int,shouldShowPostalCode: Boolean) : LinearLayout, CardWidget
CardNumberEditText
Link copied to clipboard
A StripeEditText that handles spacing out the digits of a credit card.
class CardNumberEditText @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,defStyleAttr: Int) : StripeEditText
CardValidCallback
Link copied to clipboard
An interface for a callback object that will be called when the user's input changes.
interface CardValidCallback
CvcEditText
Link copied to clipboard
A StripeEditText for CVC input.
class CvcEditText @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,defStyleAttr: Int) : StripeEditText
ExpiryDateEditText
Link copied to clipboard
An EditText that handles putting numbers around a central divider character.
class ExpiryDateEditText @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,defStyleAttr: Int) : StripeEditText
FpxBank
Link copied to clipboard
enum FpxBank : Enum
IconTextInputLayout
Link copied to clipboard
This class uses Reflection to make the Material Component's floating hint text move above a DrawableLeft, instead of just straight up beside it. If the Material Components library ever officially support this behavior, this class should be removed to avoid Reflection.
class IconTextInputLayout @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,defStyleAttr: Int) : TextInputLayout
PaymentAuthWebViewActivity
Link copied to clipboard
class PaymentAuthWebViewActivity : AppCompatActivity
PaymentFlowActivity
Link copied to clipboard
Activity containing a two-part payment flow that allows users to provide a shipping address as well as select a shipping method.
class PaymentFlowActivity : StripeActivity
PaymentFlowActivityStarter
Link copied to clipboard
class PaymentFlowActivityStarter : ActivityStarter
PaymentFlowViewPager
Link copied to clipboard
class PaymentFlowViewPager @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,isSwipingAllowed: Boolean) : ViewPager
PaymentMethodsActivity
Link copied to clipboard
An activity that allows a customer to select from their attached payment methods, or add a new one via AddPaymentMethodActivity.This Activity is typically started through com.stripe.android.PaymentSession. To directly start this activity, use PaymentMethodsActivityStarter.startForResult.Use PaymentMethodsActivityStarter.Result.fromIntent to retrieve the result of this activity from an intent in onActivityResult().
class PaymentMethodsActivity : AppCompatActivity
PaymentMethodsActivityStarter
Link copied to clipboard
A class to start PaymentMethodsActivity. Arguments for the activity can be specified with Args and constructed with Args.Builder.The result data is a Result instance, obtained using Result.fromIntent}. The result will be returned with request code REQUEST_CODE.
class PaymentMethodsActivityStarter : ActivityStarter
PaymentUtils
Link copied to clipboard
object PaymentUtils
PostalCodeEditText
Link copied to clipboard
class PostalCodeEditText @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,defStyleAttr: Int) : StripeEditText
ShippingInfoWidget
Link copied to clipboard
A widget used to collect address data from a user.
class ShippingInfoWidget @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,defStyleAttr: Int) : LinearLayout
Stripe3ds2CompletionActivity
Link copied to clipboard
class Stripe3ds2CompletionActivity : AppCompatActivity
StripeActivity
Link copied to clipboard
Provides a toolbar, save button, and loading states for the save button.
abstract class StripeActivity : AppCompatActivity
StripeEditText
Link copied to clipboard
Extension of TextInputEditText that listens for users pressing the delete key when there is no text present. Google has actually made this somewhat difficult, but we listen here for hardware key presses, older Android soft keyboard delete presses, and modern Google Keyboard delete key presses.
open class StripeEditText @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,defStyleAttr: Int,workDispatcher: CoroutineContext) : TextInputEditText