Iyzipay\Model\RefundChargedFromMerchant::create PHP Method

create() public static method

public static create ( CreateRefundRequest $request, Options $options )
$request Iyzipay\Request\CreateRefundRequest
$options Iyzipay\Options
    public static function create(CreateRefundRequest $request, Options $options)
    {
        $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/iyzipos/refund/merchant/charge", parent::getHttpHeaders($request, $options), $request->toJsonString());
        return RefundChargedFromMerchantMapper::create($rawResult)->jsonDecode()->mapRefundChargedFromMerchant(new RefundChargedFromMerchant());
    }
RefundChargedFromMerchant