ok

Mini Shell

Direktori : /home2/selectio/public_html/limpiar.in.net/vendor/iyzico/iyzipay-php/src/Iyzipay/Model/
Upload File :
Current File : /home2/selectio/public_html/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());
    }
}

Zerion Mini Shell 1.0