Link copied to clipboard
abstract class ActivityStarter<TargetActivityType : Activity, ArgsType : ActivityStarter.Args>
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
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
Link copied to clipboard
A class to create BECS Debit Mandate Agreement text for the BecsDebitWidget.
class BecsDebitMandateAcceptanceTextFactory(context: Context)
Link copied to clipboard
class BecsDebitMandateAcceptanceTextView @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,defStyleAttr: Int) : AppCompatTextView
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:
app:companyName="@string/becs_company_name" />
class BecsDebitWidget @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,defStyleAttr: Int,companyName: String) : FrameLayout
Link copied to clipboard
Configure AddPaymentMethodActivity's UI and validation logic for billing address fields
enum BillingAddressFields : Enum
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
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
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
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
Link copied to clipboard
An interface for a callback object that will be called when the user's input changes.
interface CardValidCallback
Link copied to clipboard
A StripeEditText for CVC input.
class CvcEditText @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,defStyleAttr: Int) : StripeEditText
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
Link copied to clipboard
enum FpxBank : Enum
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
Link copied to clipboard
class PaymentAuthWebViewActivity : AppCompatActivity
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
Link copied to clipboard
class PaymentFlowActivityStarter : ActivityStarter
Link copied to clipboard
class PaymentFlowViewPager @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,isSwipingAllowed: Boolean) : ViewPager
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 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
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
Link copied to clipboard
object PaymentUtils
Link copied to clipboard
class PostalCodeEditText @JvmOverloads() constructor(context: Context,attrs: AttributeSet?,defStyleAttr: Int) : StripeEditText
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
Link copied to clipboard
class Stripe3ds2CompletionActivity : AppCompatActivity
Link copied to clipboard
Provides a toolbar, save button, and loading states for the save button.
abstract class StripeActivity : AppCompatActivity
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