public function mapResource(IyzipayResource $resource) { return $this->mapResourceFrom($resource, $this->jsonObject); }