StripeFile

data class StripeFile constructor(val id: String? = null, val created: Long? = null, val filename: String? = null, val purpose: StripeFilePurpose? = null, val size: Int? = null, val title: String? = null, val type: String? = null, val url: String? = null) : StripeModel

The file object

Constructors

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

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

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.

Functions

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