Card

data class Card @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(number: String? = null, expiryMonth: Int? = null, expiryYear: Int? = null, cvc: String? = null, token: String? = null, attribution: Set<String>? = null, networks: PaymentMethodCreateParams.Card.Networks? = null) : StripeParamsModel, Parcelable

Constructors

Link copied to clipboard
constructor(number: String? = null, expiryMonth: Int? = null, expiryYear: Int? = null, cvc: String? = null, token: String? = null, attribution: Set<String>? = null, networks: PaymentMethodCreateParams.Card.Networks? = null)

Types

Link copied to clipboard
class Builder

Used to create a Card object with the user's card details. To create a Card with a Stripe token (e.g. for Google Pay), use Card.create.

Link copied to clipboard
object Companion
Link copied to clipboard
class Networks(val preferred: String? = null) : StripeParamsModel, Parcelable

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun toParamMap(): Map<String, Any>
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)