package Ġver ge currency . ver ge wallet . service . model . wallet čĊč Ċ import Ġcom . google . gson . Gson čĊč Ċ import Ġver ge currency . ver ge wallet . Constants čĊč Ċ class ĠWallet Balance Info Ġ{ čĊčĊĠĠĠ Ġvar Ġtotal Amount : ĠDouble Ġ= Ġ 0 . toDouble () čĊĠĠĠ Ġvar Ġlocked Amount : ĠDouble Ġ= Ġ 0 . toDouble () čĊĠĠĠ Ġvar Ġtotal Confirmed Amount : ĠDouble Ġ= Ġ 0 . toDouble () čĊĠĠĠ Ġvar Ġlocked Confirmed Amount : ĠDouble Ġ= Ġ 0 . toDouble () čĊĠĠĠ Ġvar Ġavailable Amount : ĠDouble Ġ= Ġ 0 . toDouble () čĊĠĠĠ Ġvar Ġavailable Confirmed Amount : ĠDouble Ġ= Ġ 0 . toDouble () čĊĠĠĠ Ġvar Ġby Address : ĠArray < Address Balance >? Ġ= Ġnull čĊčĊĠĠĠ Ġfun Ġtotal Amount Value (): ĠDouble Ġ{ čĊĠĠĠĠĠĠĠ Ġreturn Ġtotal Amount Ġ/ ĠConstants . SAT O SH IS _ DI VIDER čĊĠĠĠ Ġ} čĊčĊĠĠĠ Ġfun Ġlocked Amount Value (): ĠDouble Ġ{ čĊĠĠĠĠĠĠĠ Ġreturn Ġlocked Amount Ġ/ ĠConstants . SAT O SH IS _ DI VIDER čĊĠĠĠ Ġ} čĊčĊĠĠĠ Ġfun Ġtotal Confirmed Amount Value (): ĠDouble Ġ{ čĊĠĠĠĠĠĠĠ Ġreturn Ġtotal Confirmed Amount Ġ/ ĠConstants . SAT O SH IS _ DI VIDER čĊĠĠĠ Ġ} čĊčĊĠĠĠ Ġfun Ġlocked Confirmed Amount Value (): ĠDouble Ġ{ čĊĠĠĠĠĠĠĠ Ġreturn Ġlocked Confirmed Amount Ġ/ ĠConstants . SAT O SH IS _ DI VIDER čĊĠĠĠ Ġ} čĊčĊĠĠĠ Ġfun Ġavailable Amount Value (): ĠDouble Ġ{ čĊĠĠĠĠĠĠĠ Ġreturn Ġavailable Amount Ġ/ ĠConstants . SAT O SH IS _ DI VIDER čĊĠĠĠ Ġ} čĊčĊĠĠĠ Ġfun Ġavailable Confirmed Amount Value (): ĠDouble Ġ{ čĊĠĠĠĠĠĠĠ Ġreturn Ġavailable Confirmed Amount Ġ/ ĠConstants . SAT O SH IS _ DI VIDER čĊĠĠĠ Ġ} čĊčĊĠĠĠ Ġcompanion Ġobject Ġ{ čĊčĊĠĠĠĠĠĠĠ Ġfun Ġdecode ( JSON : ĠString ): ĠWallet Balance Info Ġ{ čĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn ĠGson (). fromJson ( JSON , ĠWallet Balance Info :: class . java ) čĊĠĠĠĠĠĠĠ Ġ} čĊĠĠĠ Ġ} č Ċ } čĊ