Package com.stripe.android.view

Types

ActivityStarter
Link copied to clipboard
abstract class ActivityStarter<TargetActivityType : Activity, ArgsType : ActivityStarter.Args>
Superclass for starting Stripe activities.
AddPaymentMethodActivity
Link copied to clipboard
class AddPaymentMethodActivity : StripeActivity
Activity used to display a AddPaymentMethodView and receive the resulting PaymentMethod in the Activity#onActivityResult(int, int, Intent) of the launching Activity.
BecsDebitMandateAcceptanceTextFactory
Link copied to clipboard
class BecsDebitMandateAcceptanceTextFactory(context: Context)
A class to create BECS Debit Mandate Agreement text for the BecsDebitWidget.
BecsDebitMandateAcceptanceTextView
Link copied to clipboard
class BecsDebitMandateAcceptanceTextView @JvmOverloads() constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : AppCompatTextView
BecsDebitWidget
Link copied to clipboard
class BecsDebitWidget @JvmOverloads() constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int, companyName: String) : FrameLayout
A form for accepting a customer's BECS account information.
BillingAddressFields
Link copied to clipboard
enum BillingAddressFields : Enum<BillingAddressFields>
Configure AddPaymentMethodActivity's UI and validation logic for billing address fields
CardInputListener
Link copied to clipboard
interface CardInputListener
Represents a listener for card input events.
CardInputWidget
Link copied to clipboard
class CardInputWidget @JvmOverloads() constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : LinearLayout, CardWidget
A single-line card input widget.
CardMultilineWidget
Link copied to clipboard
class CardMultilineWidget @JvmOverloads() constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int, shouldShowPostalCode: Boolean) : LinearLayout, CardWidget
A multiline card input widget that uses Material Components for Android.
CardNumberEditText
Link copied to clipboard
class CardNumberEditText : StripeEditText
A StripeEditText that handles spacing out the digits of a credit card.
CardValidCallback
Link copied to clipboard
fun fun interface CardValidCallback
An interface for a callback object that will be called when the user's input changes.
CvcEditText
Link copied to clipboard
class CvcEditText @JvmOverloads() constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : StripeEditText
A StripeEditText for CVC input.
ExpiryDateEditText
Link copied to clipboard
class ExpiryDateEditText @JvmOverloads() constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : StripeEditText
An EditText that handles putting numbers around a central divider character.
PaymentAuthWebViewActivity
Link copied to clipboard
class PaymentAuthWebViewActivity : AppCompatActivity
PaymentFlowActivity
Link copied to clipboard
class PaymentFlowActivity : StripeActivity
Activity containing a two-part payment flow that allows users to provide a shipping address as well as select a shipping method.
PaymentFlowViewPager
Link copied to clipboard
class PaymentFlowViewPager @JvmOverloads() constructor(context: Context, attrs: AttributeSet?, isSwipingAllowed: Boolean) : ViewPager
PaymentMethodsActivity
Link copied to clipboard
class PaymentMethodsActivity : AppCompatActivity
An activity that allows a customer to select from their attached payment methods, or add a new one via AddPaymentMethodActivity.
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
class ShippingInfoWidget @JvmOverloads() constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : LinearLayout
A widget used to collect address data from a user.
Stripe3ds2CompletionActivity
Link copied to clipboard
class Stripe3ds2CompletionActivity : AppCompatActivity
StripeActivity
Link copied to clipboard
abstract class StripeActivity : AppCompatActivity
Provides a toolbar, save button, and loading states for the save button.
StripeEditText
Link copied to clipboard
open class StripeEditText @JvmOverloads() constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : TextInputEditText
Extension of TextInputEditText that listens for users pressing the delete key when there is no text present.