InternalStripeFile

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.

Constructors

Link copied to clipboard
fun InternalStripeFile(id: String? = null, created: Long? = null, filename: String? = null, purpose: InternalStripeFilePurpose? = null, size: Int? = null, title: String? = null, type: String? = null, url: String? = null)

Functions

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

Properties

Link copied to clipboard
val created: Long? = null

Time at which the object was created. Measured in seconds since the Unix epoch.

Link copied to clipboard
val filename: String? = null

A filename for the file, suitable for saving to a filesystem.

Link copied to clipboard
val id: String? = null

Unique identifier for the object.

Link copied to clipboard
val purpose: InternalStripeFilePurpose? = null

The purpose of the file. Possible values are business_icon, business_logo, customer_signature, dispute_evidence, identity_document, pci_document, or tax_document_user_upload.

Link copied to clipboard
val size: Int? = null

The size in bytes of the file object.

Link copied to clipboard
val title: String? = null

A user friendly title for the document.

Link copied to clipboard
val type: String? = null

The type of the file returned (e.g., csv, pdf, jpg, or png).

Link copied to clipboard
val url: String? = null

The URL from which the file can be downloaded using your live secret API key.