FinancialConnectionsAccount

@Serializable
data class FinancialConnectionsAccount(val category: FinancialConnectionsAccount.Category = Category.UNKNOWN, val created: Int, val id: String, val institutionName: String, val livemode: Boolean, val status: FinancialConnectionsAccount.Status = Status.UNKNOWN, val subcategory: FinancialConnectionsAccount.Subcategory = Subcategory.UNKNOWN, val supportedPaymentMethodTypes: List<FinancialConnectionsAccount.SupportedPaymentMethodTypes>, val balance: Balance? = null, val balanceRefresh: BalanceRefresh? = null, val displayName: String? = null, val last4: String? = null, val ownership: String? = null, val ownershipRefresh: OwnershipRefresh? = null, val permissions: List<FinancialConnectionsAccount.Permissions>? = null) : PaymentAccount, StripeModel, Parcelable

A FinancialConnectionsAccount represents an account that exists outside of Stripe, to which you have been granted some degree of access.

Parameters

category
created

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

id

Unique identifier for the object.

institutionName

The name of the institution that holds this account.

livemode

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

status

The status of the link to the account.

subcategory

If category is cash, one of: - checking - savings - other If category is credit, one of: - mortgage - line_of_credit - credit_card - other If category is investment or other, this will be other.

supportedPaymentMethodTypes

The PaymentMethod type(s) that can be created from this FinancialConnectionsAccount.

balance

The most recent information about the account's balance.

balanceRefresh

The state of the most recent attempt to refresh the account balance.

displayName

A human-readable name that has been assigned to this account, either by the account holder or by the institution.

last4

The last 4 digits of the account number. If present, this will be 4 numeric characters.

ownership

The most recent information about the account's owners.

ownershipRefresh

The state of the most recent attempt to refresh the account owners.

permissions

The list of permissions granted by this account.

Constructors

Link copied to clipboard
constructor(category: FinancialConnectionsAccount.Category = Category.UNKNOWN, created: Int, id: String, institutionName: String, livemode: Boolean, status: FinancialConnectionsAccount.Status = Status.UNKNOWN, subcategory: FinancialConnectionsAccount.Subcategory = Subcategory.UNKNOWN, supportedPaymentMethodTypes: List<FinancialConnectionsAccount.SupportedPaymentMethodTypes>, balance: Balance? = null, balanceRefresh: BalanceRefresh? = null, displayName: String? = null, last4: String? = null, ownership: String? = null, ownershipRefresh: OwnershipRefresh? = null, permissions: List<FinancialConnectionsAccount.Permissions>? = null)

Types

Link copied to clipboard
Link copied to clipboard
object Companion
Link copied to clipboard

The list of permissions granted by this account.

Link copied to clipboard

The status of the link to the account.

Link copied to clipboard

If category is cash, one of: - checking - savings - other If category is credit, one of: - mortgage - line_of_credit - credit_card - other If category is investment or other, this will be other.

Properties

Link copied to clipboard
@SerialName(value = "balance")
val balance: Balance? = null
Link copied to clipboard
@SerialName(value = "balance_refresh")
val balanceRefresh: BalanceRefresh? = null
Link copied to clipboard
@SerialName(value = "category")
val category: FinancialConnectionsAccount.Category
Link copied to clipboard
@SerialName(value = "created")
val created: Int
Link copied to clipboard
@SerialName(value = "display_name")
val displayName: String? = null
Link copied to clipboard
@SerialName(value = "id")
open override val id: String
Link copied to clipboard
@SerialName(value = "institution_name")
val institutionName: String
Link copied to clipboard
@SerialName(value = "last4")
val last4: String? = null
Link copied to clipboard
@SerialName(value = "livemode")
val livemode: Boolean
Link copied to clipboard
@SerialName(value = "ownership")
val ownership: String? = null
Link copied to clipboard
@SerialName(value = "ownership_refresh")
val ownershipRefresh: OwnershipRefresh? = null
Link copied to clipboard
@SerialName(value = "permissions")
val permissions: List<FinancialConnectionsAccount.Permissions>? = null
Link copied to clipboard
@SerialName(value = "status")
val status: FinancialConnectionsAccount.Status
Link copied to clipboard
@SerialName(value = "subcategory")
val subcategory: FinancialConnectionsAccount.Subcategory
Link copied to clipboard
@SerialName(value = "supported_payment_method_types")
val supportedPaymentMethodTypes: List<FinancialConnectionsAccount.SupportedPaymentMethodTypes>

Functions

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