Iyzipay\Request::getJsonObject PHP Method

getJsonObject() public method

public getJsonObject ( )
    public function getJsonObject()
    {
        return JsonBuilder::create()->add("locale", $this->getLocale())->add("conversationId", $this->getConversationId())->getObject();
    }

Usage Example

 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->addPrice("price", $this->getPrice())->addPrice("paidPrice", $this->getPaidPrice())->add("installment", $this->getInstallment())->add("buyerEmail", $this->getBuyerEmail())->add("buyerId", $this->getBuyerId())->add("buyerIp", $this->getBuyerIp())->add("posOrderId", $this->getPosOrderId())->add("paymentCard", $this->getPaymentCard())->add("currency", $this->getCurrency())->add("connectorName", $this->getConnectorName())->add("callbackUrl", $this->getCallbackUrl())->getObject();
 }
All Usage Examples Of Iyzipay\Request::getJsonObject