(int) ($this->resource['invoice_id'] ?? 0), 'paid_amount' => (float) ($this->resource['paid_amount'] ?? 0), ]; } }