PATH:
home
/
rwabteecom
/
public_html
/
vendor
/
iyzico
/
iyzipay-php
/
src
/
Iyzipay
/
Model
/
Editing: BkmInstallmentPrice.php
<?php namespace Iyzipay\Model; use Iyzipay\BaseModel; use Iyzipay\JsonBuilder; use Iyzipay\RequestStringBuilder; class BkmInstallmentPrice extends BaseModel { private $installmentNumber; private $totalPrice; public function getInstallmentNumber() { return $this->installmentNumber; } public function setInstallmentNumber($installmentNumber) { $this->installmentNumber = $installmentNumber; } public function getTotalPrice() { return $this->totalPrice; } public function setTotalPrice($totalPrice) { $this->totalPrice = $totalPrice; } public function getJsonObject() { return JsonBuilder::create() ->add("installmentNumber", $this->getInstallmentNumber()) ->addPrice("totalPrice", $this->getTotalPrice()) ->getObject(); } public function toPKIRequestString() { return RequestStringBuilder::create() ->append("installmentNumber", $this->getInstallmentNumber()) ->appendPrice("totalPrice", $this->getTotalPrice()) ->getRequestString(); } }
SAVE
CANCEL