postAtClient = $postAtClient; } /** * Call the SOAP API with the given data. * * @param ParameterInterface $shipmentRow * * @throws PostAtException * * @return array $data */ public function call(ParameterInterface $shipmentRow) { $this->shipmentRow = $shipmentRow->getData(); return $this->postAtClient->call($this); } /** * @return array */ public function getBody(): array { return $this->shipmentRow; } }