src/Entities/Orders/OrderItemMerchant.php
public function jsonSerialize()
    {
        $json = parent::jsonSerialize();

        $json['address'] = $this->getAddress();
        $json['contactNumber'] = $this->getContactNumber();

        return $json;
    }
public function jsonSerialize()
    {
        $json = parent::jsonSerialize();

        $json['address'] = $this->getAddress();
        $json['contactNumber'] = $this->getContactNumber();

        return $json;
    }
Specify data which should be serialized to JSON