Card

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

Types

Link copied to clipboard
class Builder : ObjectBuilder<PaymentMethodCreateParams.Card>

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

Functions

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