Class FinancialAccount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.moneymanagement.FinancialAccount
- All Implemented Interfaces:
HasId,StripeObjectInterface
A FinancialAccount represents a balance and can be the source or destination of money movement.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe FinancialAccount's balance, split intoavailable,inbound_pending, andoutbound_pendingbalances.static classIf the FinancialAccount'stypeisother, this hash identifies its actual type.static classIf the FinancialAccount'stypeisstorage, this hash contains details specific to that type. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe FinancialAccount's balance, split intoavailable,inbound_pending, andoutbound_pendingbalances.Open Enum.Time at which the object was created.A descriptive name for the FinancialAccount, up to 50 characters long.getId()Unique identifier for the object.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.Set of key-value pairs that you can attach to an object.String representing the object's type.getOther()If the FinancialAccount'stypeisother, this hash identifies its actual type.Closed Enum.If the FinancialAccount'stypeisstorage, this hash contains details specific to that type.getType()Closed Enum.inthashCode()voidsetBalance(FinancialAccount.Balance balance) The FinancialAccount's balance, split intoavailable,inbound_pending, andoutbound_pendingbalances.voidsetCountry(String country) Open Enum.voidsetCreated(Instant created) Time at which the object was created.voidsetDisplayName(String displayName) A descriptive name for the FinancialAccount, up to 50 characters long.voidUnique identifier for the object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidString representing the object's type.voidsetOther(FinancialAccount.Other other) If the FinancialAccount'stypeisother, this hash identifies its actual type.voidClosed Enum.voidsetStorage(FinancialAccount.Storage storage) If the FinancialAccount'stypeisstorage, this hash contains details specific to that type.voidClosed Enum.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
FinancialAccount
public FinancialAccount()
-
-
Method Details
-
getBalance
The FinancialAccount's balance, split intoavailable,inbound_pending, andoutbound_pendingbalances. Each balance is a hash keyed by lowercase currency codes, with an amount for each currency. -
getCountry
Open Enum. The country where the LegalEntity associated with the FinancialAccount is based, represented as a two-letter country code. -
getCreated
Time at which the object was created. Represented as an RFC 3339 timestamp in UTC with millisecond precision, for example2022-09-18T13:22:18.123Z. -
getDisplayName
A descriptive name for the FinancialAccount, up to 50 characters long. This name appears in the Stripe Dashboard and embedded components. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.money_management.financial_account. -
getOther
If the FinancialAccount'stypeisother, this hash identifies its actual type. Upgrade your API version to see that type intype. -
getStatus
Closed Enum. An enum representing the status of the FinancialAccount. This indicates whether or not the FinancialAccount can be used for any money movement flows.One of
closed,open, orpending. -
getStorage
If the FinancialAccount'stypeisstorage, this hash contains details specific to that type. -
getType
Closed Enum. The type of the FinancialAccount. Details specific to the type appear in the matching hash. For example, astorageFinancialAccount includes astoragehash.One of
other, orstorage. -
setBalance
The FinancialAccount's balance, split intoavailable,inbound_pending, andoutbound_pendingbalances. Each balance is a hash keyed by lowercase currency codes, with an amount for each currency. -
setCountry
Open Enum. The country where the LegalEntity associated with the FinancialAccount is based, represented as a two-letter country code. -
setCreated
Time at which the object was created. Represented as an RFC 3339 timestamp in UTC with millisecond precision, for example2022-09-18T13:22:18.123Z. -
setDisplayName
A descriptive name for the FinancialAccount, up to 50 characters long. This name appears in the Stripe Dashboard and embedded components. -
setId
Unique identifier for the object. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.money_management.financial_account. -
setOther
If the FinancialAccount'stypeisother, this hash identifies its actual type. Upgrade your API version to see that type intype. -
setStatus
Closed Enum. An enum representing the status of the FinancialAccount. This indicates whether or not the FinancialAccount can be used for any money movement flows.One of
closed,open, orpending. -
setStorage
If the FinancialAccount'stypeisstorage, this hash contains details specific to that type. -
setType
Closed Enum. The type of the FinancialAccount. Details specific to the type appear in the matching hash. For example, astorageFinancialAccount includes astoragehash.One of
other, orstorage. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-