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) : StripeParamsModel, Parcelable

Constructors

Link copied to clipboard
fun Card(    number: String? = null,     expiryMonth: Int? = null,     expiryYear: Int? = null,     cvc: String? = null,     token: String? = null,     attribution: Set<String>? = null)

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)