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 used as the source or destination for the
money management (
/v2/money_management) APIs.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMulti-currency balance of this FinancialAccount, split by availability state.static classIf this is aotherFinancialAccount, this hash indicates what the actual type is.static classFor more details about StatusDetails, please refer to the API Reference.static classIf this is astorageFinancialAccount, this hash includes details specific tostorageFinancialAccounts. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanMulti-currency balance of this FinancialAccount, split by availability state.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.Metadata associated with the FinancialAccount.String representing the object's type.getOther()If this is aotherFinancialAccount, this hash indicates what the actual type is.Closed Enum.If this is astorageFinancialAccount, this hash includes details specific tostorageFinancialAccounts.getType()Type of the FinancialAccount.inthashCode()voidsetBalance(FinancialAccount.Balance balance) Multi-currency balance of this FinancialAccount, split by availability state.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) Metadata associated with the FinancialAccount.voidString representing the object's type.voidsetOther(FinancialAccount.Other other) If this is aotherFinancialAccount, this hash indicates what the actual type is.voidClosed Enum.voidsetStatusDetails(FinancialAccount.StatusDetails statusDetails) voidsetStorage(FinancialAccount.Storage storage) If this is astorageFinancialAccount, this hash includes details specific tostorageFinancialAccounts.voidType of the FinancialAccount.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
FinancialAccount
public FinancialAccount()
-
-
Method Details
-
getBalance
Multi-currency balance of this FinancialAccount, split by availability state. Each balance is represented as a hash where the key is the three-letter ISO currency code, in lowercase, and the value is the amount for that currency. -
getCountry
Open Enum. Two-letter country code that represents the country where the LegalEntity associated with the FinancialAccount is based in. -
getCreated
Time at which the object was created. -
getDisplayName
A descriptive name for the FinancialAccount, up to 50 characters long. This name will be used 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
Metadata associated with the FinancialAccount. -
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 this is aotherFinancialAccount, this hash indicates what the actual type is. Upgrade your API version to see it reflected 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. -
getStatusDetails
-
getStorage
If this is astorageFinancialAccount, this hash includes details specific tostorageFinancialAccounts. -
getType
Type of the FinancialAccount. An additional hash is included on the FinancialAccount with a name matching this value. It contains additional information specific to the FinancialAccount type.One of
other, orstorage. -
setBalance
Multi-currency balance of this FinancialAccount, split by availability state. Each balance is represented as a hash where the key is the three-letter ISO currency code, in lowercase, and the value is the amount for that currency. -
setCountry
Open Enum. Two-letter country code that represents the country where the LegalEntity associated with the FinancialAccount is based in. -
setCreated
Time at which the object was created. -
setDisplayName
A descriptive name for the FinancialAccount, up to 50 characters long. This name will be used 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
Metadata associated with the FinancialAccount. -
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 this is aotherFinancialAccount, this hash indicates what the actual type is. Upgrade your API version to see it reflected 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. -
setStatusDetails
-
setStorage
If this is astorageFinancialAccount, this hash includes details specific tostorageFinancialAccounts. -
setType
Type of the FinancialAccount. An additional hash is included on the FinancialAccount with a name matching this value. It contains additional information specific to the FinancialAccount type.One of
other, orstorage. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-