/** * Returns data for create Header * * @param string $rp_id * * @return array */ protected function getData($rp_id) { return ['coverages' => $this->retailerProductRepository->getCoverageByProduct($rp_id), 'currencies' => $this->dataRepository->getCurrency(), 'term_types' => $this->dataRepository->getTermType(), 'credit_products' => $this->retailerProductRepository->getCreditProductByProduct($rp_id), 'movement_types' => $this->dataRepository->getMovementType(), 'policies' => $this->policyRepository->gerPolicyForIssuance($rp_id)]; }