public static function retrieve(RetrieveBinNumberRequest $request, Options $options) { $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/bin/check", parent::getHttpHeaders($request, $options), $request->toJsonString()); return BinNumberMapper::create($rawResult)->jsonDecode()->mapBinNumber(new BinNumber()); }