File manager - Edit - /var/www/payraty/hris/vendor/iyzico/iyzipay-php/src/Iyzipay/Model/Mapper/SubMerchantPaymentItemResourceMapper.php
Back
<?php namespace Iyzipay\Model\Mapper; use Iyzipay\Model\SubMerchantPaymentItemUpdate; class SubMerchantPaymentItemResourceMapper extends IyzipayResourceMapper { public static function create($rawResult = null) { return new SubMerchantPaymentItemResourceMapper($rawResult); } public function mapSubMerchantPaymentItemResourceFrom(SubMerchantPaymentItemUpdate $create, $jsonObject) { parent::mapResourceFrom($create, $jsonObject); if (isset($jsonObject->subMerchantKey)) { $create->setSubMerchantKey($jsonObject->subMerchantKey); } if (isset($jsonObject->paymentTransactionId)) { $create->setPaymentTransactionId($jsonObject->paymentTransactionId); } if (isset($jsonObject->subMerchantPrice)) { $create->setSubMerchantPrice($jsonObject->subMerchantPrice); } if(isset($jsonObject->withholdingTax)) { $create->setWithholdingTax($jsonObject->withholdingTax); } return $create; } public function mapSubMerchantPaymentItemResource(SubMerchantPaymentItemUpdate $create) { return $this->mapSubMerchantPaymentItemResourceFrom($create, $this->jsonObject); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings