ok
Direktori : /home2/selectio/www/limpiar.in.net/vendor/iyzico/iyzipay-php/src/Iyzipay/Model/ |
Current File : //home2/selectio/www/limpiar.in.net/vendor/iyzico/iyzipay-php/src/Iyzipay/Model/Refund.php |
<?php namespace Iyzipay\Model; use Iyzipay\Model\Mapper\RefundMapper; use Iyzipay\Options; use Iyzipay\Request\CreateRefundRequest; class Refund extends RefundResource { public static function create(CreateRefundRequest $request, Options $options) { $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/refund", parent::getHttpHeaders($request, $options), $request->toJsonString()); return RefundMapper::create($rawResult)->jsonDecode()->mapRefund(new Refund()); } }