Iyzipay\Request\CreatePaymentRequest::getJsonObject PHP Method

getJsonObject() public method

public getJsonObject ( )
    public function getJsonObject()
    {
        return JsonBuilder::fromJsonObject(parent::getJsonObject())->addPrice("price", $this->getPrice())->addPrice("paidPrice", $this->getPaidPrice())->add("installment", $this->getInstallment())->add("paymentChannel", $this->getPaymentChannel())->add("basketId", $this->getBasketId())->add("paymentGroup", $this->getPaymentGroup())->add("paymentCard", $this->getPaymentCard())->add("buyer", $this->getBuyer())->add("shippingAddress", $this->getShippingAddress())->add("billingAddress", $this->getBillingAddress())->addArray("basketItems", $this->getBasketItems())->add("paymentSource", $this->getPaymentSource())->add("currency", $this->getCurrency())->add("posOrderId", $this->getPosOrderId())->add("connectorName", $this->getConnectorName())->add("callbackUrl", $this->getCallbackUrl())->getObject();
    }