1: <?php declare( strict_types = 1 );
2:
3: namespace Waves\Model;
4:
5: use Waves\Common\JsonBase;
6:
7: class BalanceDetails extends JsonBase
8: {
9: function address(): string { return $this->json->get( 'address' )->asString(); }
10: function available(): int { return $this->json->get( 'available' )->asInt(); }
11: function regular(): int { return $this->json->get( 'regular' )->asInt(); }
12: function generating(): int { return $this->json->get( 'generating' )->asInt(); }
13: function effective(): int { return $this->json->get( 'effective' )->asInt(); }
14: }
15: