total_earning - ($this->total_withdrawn + $this->pending_withdraw + $this->collected_cash); } }