Class FinancialAccount
- All Implemented Interfaces:
HasId
,StripeObjectInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about Balance, please refer to the API Reference.static class
For more details about Other, please refer to the API Reference.static class
For more details about StatusDetails, please refer to the API Reference.static class
For more details about Storage, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Multi-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 valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.Metadata associated with the FinancialAccount.String representing the object's type.getOther()
If this is aother
FinancialAccount, this hash indicates what the actual type is.Closed Enum.If this is astorage
FinancialAccount, this hash includes details specific tostorage
FinancialAccounts.getType()
Type of the FinancialAccount.int
hashCode()
void
setBalance
(FinancialAccount.Balance balance) Multi-currency balance of this FinancialAccount, split by availability state.void
setCountry
(String country) Open Enum.void
setCreated
(Instant created) Time at which the object was created.void
setDisplayName
(String displayName) A descriptive name for the FinancialAccount, up to 50 characters long.void
Unique identifier for the object.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
setMetadata
(Map<String, String> metadata) Metadata associated with the FinancialAccount.void
String representing the object's type.void
setOther
(FinancialAccount.Other other) If this is aother
FinancialAccount, this hash indicates what the actual type is.void
Closed Enum.void
setStatusDetails
(FinancialAccount.StatusDetails statusDetails) void
setStorage
(FinancialAccount.Storage storage) If this is astorage
FinancialAccount, this hash includes details specific tostorage
FinancialAccounts.void
Type 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.One of
ad
,ae
,af
,ag
,ai
,al
,am
,ao
,aq
,ar
,as
,at
,au
,aw
,ax
,az
,ba
,bb
,bd
,be
,bf
,bg
,bh
,bi
,bj
,bl
,bm
,bn
,bo
,bq
,br
,bs
,bt
,bv
,bw
,by
,bz
,ca
,cc
,cd
,cf
,cg
,ch
,ci
,ck
,cl
,cm
,cn
,co
,cr
,cu
,cv
,cw
,cx
,cy
,cz
,de
,dj
,dk
,dm
,do
,dz
,ec
,ee
,eg
,eh
,er
,es
,et
,fi
,fj
,fk
,fm
,fo
,fr
,ga
,gb
,gd
,ge
,gf
,gg
,gh
,gi
,gl
,gm
,gn
,gp
,gq
,gr
,gs
,gt
,gu
,gw
,gy
,hk
,hm
,hn
,hr
,ht
,hu
,id
,ie
,il
,im
,in
,io
,iq
,ir
,is
,it
,je
,jm
,jo
,jp
,ke
,kg
,kh
,ki
,km
,kn
,kp
,kr
,kw
,ky
,kz
,la
,lb
,lc
,li
,lk
,lr
,ls
,lt
,lu
,lv
,ly
,ma
,mc
,md
,me
,mf
,mg
,mh
,mk
,ml
,mm
,mn
,mo
,mp
,mq
,mr
,ms
,mt
,mu
,mv
,mw
,mx
,my
,mz
,na
,nc
,ne
,nf
,ng
,ni
,nl
,no
,np
,nr
,nu
,nz
,om
,pa
,pe
,pf
,pg
,ph
,pk
,pl
,pm
,pn
,pr
,ps
,pt
,pw
,py
,qa
,qz
,re
,ro
,rs
,ru
,rw
,sa
,sb
,sc
,sd
,se
,sg
,sh
,si
,sj
,sk
,sl
,sm
,sn
,so
,sr
,ss
,st
,sv
,sx
,sy
,sz
,tc
,td
,tf
,tg
,th
,tj
,tk
,tl
,tm
,tn
,to
,tr
,tt
,tv
,tw
,tz
,ua
,ug
,um
,us
,uy
,uz
,va
,vc
,ve
,vg
,vi
,vn
,vu
,wf
,ws
,xx
,ye
,yt
,za
,zm
, orzw
. -
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 valuetrue
if the object exists in live mode or the valuefalse
if 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 aother
FinancialAccount, 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 astorage
FinancialAccount, this hash includes details specific tostorage
FinancialAccounts. -
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.One of
ad
,ae
,af
,ag
,ai
,al
,am
,ao
,aq
,ar
,as
,at
,au
,aw
,ax
,az
,ba
,bb
,bd
,be
,bf
,bg
,bh
,bi
,bj
,bl
,bm
,bn
,bo
,bq
,br
,bs
,bt
,bv
,bw
,by
,bz
,ca
,cc
,cd
,cf
,cg
,ch
,ci
,ck
,cl
,cm
,cn
,co
,cr
,cu
,cv
,cw
,cx
,cy
,cz
,de
,dj
,dk
,dm
,do
,dz
,ec
,ee
,eg
,eh
,er
,es
,et
,fi
,fj
,fk
,fm
,fo
,fr
,ga
,gb
,gd
,ge
,gf
,gg
,gh
,gi
,gl
,gm
,gn
,gp
,gq
,gr
,gs
,gt
,gu
,gw
,gy
,hk
,hm
,hn
,hr
,ht
,hu
,id
,ie
,il
,im
,in
,io
,iq
,ir
,is
,it
,je
,jm
,jo
,jp
,ke
,kg
,kh
,ki
,km
,kn
,kp
,kr
,kw
,ky
,kz
,la
,lb
,lc
,li
,lk
,lr
,ls
,lt
,lu
,lv
,ly
,ma
,mc
,md
,me
,mf
,mg
,mh
,mk
,ml
,mm
,mn
,mo
,mp
,mq
,mr
,ms
,mt
,mu
,mv
,mw
,mx
,my
,mz
,na
,nc
,ne
,nf
,ng
,ni
,nl
,no
,np
,nr
,nu
,nz
,om
,pa
,pe
,pf
,pg
,ph
,pk
,pl
,pm
,pn
,pr
,ps
,pt
,pw
,py
,qa
,qz
,re
,ro
,rs
,ru
,rw
,sa
,sb
,sc
,sd
,se
,sg
,sh
,si
,sj
,sk
,sl
,sm
,sn
,so
,sr
,ss
,st
,sv
,sx
,sy
,sz
,tc
,td
,tf
,tg
,th
,tj
,tk
,tl
,tm
,tn
,to
,tr
,tt
,tv
,tw
,tz
,ua
,ug
,um
,us
,uy
,uz
,va
,vc
,ve
,vg
,vi
,vn
,vu
,wf
,ws
,xx
,ye
,yt
,za
,zm
, orzw
. -
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 valuetrue
if the object exists in live mode or the valuefalse
if 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 aother
FinancialAccount, 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 astorage
FinancialAccount, this hash includes details specific tostorage
FinancialAccounts. -
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.
-