JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "SubscriptionDeleteCustomerMapper.php"

Full Path: /var/www/laravel_filter/vendor/iyzico/iyzipay-php/src/Iyzipay/Model/Mapper/Subscription/SubscriptionDeleteCustomerMapper.php
File size: 960 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Iyzipay\Model\Mapper\Subscription;

use Iyzipay\Model\Mapper\IyzipayResourceMapper;
use Iyzipay\Model\Subscription\SubscriptionDeleteCustomer;

class SubscriptionDeleteCustomerMapper extends IyzipayResourceMapper {
    public static function create($rawResult = null) {
        return new SubscriptionDeleteCustomerMapper($rawResult);
    }

    public function mapSubscriptionDeleteCustomerFrom(SubscriptionDeleteCustomer $customer, object $jsonObject): SubscriptionDeleteCustomer {
        parent::mapResourceFrom($customer, $jsonObject);

        if (isset($jsonObject->customerReferenceCode)) {
            $customer->setCustomerReferenceCode($jsonObject->customerReferenceCode);
        }

        return $customer;
    }

    public function mapSubscriptionDeleteCustomer(SubscriptionDeleteCustomer $customer): SubscriptionDeleteCustomer {
        return $this->mapSubscriptionDeleteCustomerFrom($customer, $this->jsonObject);
    }
}