Package com.stripe.android.core.model

Types

Link copied to clipboard
data class Country(code: CountryCode, name: String)
Link copied to clipboard
data class CountryCode(value: String) : Parcelable
Link copied to clipboard
object CountryUtils
Link copied to clipboard
data class InternalStripeFile(id: String?, created: Long?, filename: String?, purpose: InternalStripeFilePurpose?, size: Int?, title: String?, type: String?, url: String?) : StripeModel

Internal copy of com.stripe.android.model.StripeFile. It's a public API object and can't be changed without introducing backward incompatibility. TODO(ccen): Move StripeFile to stripe-core and delete this copy during the next major version bump.

Link copied to clipboard
data class InternalStripeFileParams(file: File, purpose: InternalStripeFilePurpose)

Internal copy of com.stripe.android.model.StripeFileParams. It's a public API object and can't be changed without introducing backward incompatibility. TODO(ccen): Move StripeFileParams to stripe-core and delete this copy during the next major version bump.

Link copied to clipboard
enum InternalStripeFilePurpose : Enum<InternalStripeFilePurpose>

Internal copy of com.stripe.android.model.StripeFilePurpose. It's a public API object and can't be changed without introducing backward incompatibility. TODO(ccen): Move StripeFilePurpose to stripe-core and delete this copy during the next major version bump.

Link copied to clipboard
object StripeJsonUtils

A set of JSON parsing utility functions.

Link copied to clipboard
interface StripeModel : Parcelable

Model for a Stripe API object.

Functions

Link copied to clipboard
fun Locale.getCountryCode(): CountryCode