FinancialConnectionsAccount

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.

accountholder
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
fun FinancialConnectionsAccount(    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
enum Category : Enum<FinancialConnectionsAccount.Category>

Values: cash,credit,investment,other

Link copied to clipboard
object Companion
Link copied to clipboard
enum Permissions : Enum<FinancialConnectionsAccount.Permissions>

The list of permissions granted by this account.

Link copied to clipboard
enum Status : Enum<FinancialConnectionsAccount.Status>

The status of the link to the account.

Link copied to clipboard
enum Subcategory : Enum<FinancialConnectionsAccount.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.

Link copied to clipboard

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

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 balance: Balance? = null
Link copied to clipboard
val balanceRefresh: BalanceRefresh? = null
Link copied to clipboard
val category: FinancialConnectionsAccount.Category
Link copied to clipboard
val created: Int
Link copied to clipboard
val displayName: String? = null
Link copied to clipboard
val id: String
Link copied to clipboard
val institutionName: String
Link copied to clipboard
val last4: String? = null
Link copied to clipboard
val livemode: Boolean
Link copied to clipboard
val ownership: String? = null
Link copied to clipboard
val ownershipRefresh: OwnershipRefresh? = null
Link copied to clipboard
val permissions: List<FinancialConnectionsAccount.Permissions>? = null
Link copied to clipboard
val status: FinancialConnectionsAccount.Status
Link copied to clipboard