public function getJsonObject() { return JsonBuilder::fromJsonObject(parent::getJsonObject())->add("paymentId", $this->getPaymentId())->add("ip", $this->getIp())->getObject(); }