$this->resource['status'] ?? null, 'total_amount' => (float) ($this->resource['total_amount'] ?? 0), ]; } }