CreditCard

class CreditCard(stripeToken: String) : PaymentMethod, Parcelable

PaymentMethod for use with credit card payments. Requires stripe library https://stripe.com/docs/mobile/android/basic

Parameters

stripeToken

The token generated by the stripe library

Constructors

CreditCard
Link copied to clipboard
fun CreditCard(stripeToken: String)
The token generated by the stripe library

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

paymentMethod
Link copied to clipboard
val paymentMethod: PaymentMethod.PaymentMethod
stripeToken
Link copied to clipboard
val stripeToken: String
The token generated by the stripe library