Наследование: extends IyzipayResourceMapper
Пример #1
0
 public static function create(CreateCancelRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/cancel", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return CancelMapper::create($rawResult)->jsonDecode()->mapCancel(new Cancel());
 }