Subiendo proyecto completo sin restricciones de git ignore
This commit is contained in:
45
vendor/iyzico/iyzipay-php/src/Iyzipay/Request.php
vendored
Normal file
45
vendor/iyzico/iyzipay-php/src/Iyzipay/Request.php
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
namespace Iyzipay;
|
||||
|
||||
class Request extends BaseModel
|
||||
{
|
||||
private $locale;
|
||||
private $conversationId;
|
||||
|
||||
public function getLocale()
|
||||
{
|
||||
return $this->locale;
|
||||
}
|
||||
|
||||
public function setLocale($locale)
|
||||
{
|
||||
$this->locale = $locale;
|
||||
}
|
||||
|
||||
public function getConversationId()
|
||||
{
|
||||
return $this->conversationId;
|
||||
}
|
||||
|
||||
public function setConversationId($conversationId)
|
||||
{
|
||||
$this->conversationId = $conversationId;
|
||||
}
|
||||
|
||||
public function getJsonObject()
|
||||
{
|
||||
return JsonBuilder::create()
|
||||
->add("locale", $this->getLocale())
|
||||
->add("conversationId", $this->getConversationId())
|
||||
->getObject();
|
||||
}
|
||||
|
||||
public function toPKIRequestString()
|
||||
{
|
||||
return RequestStringBuilder::create()
|
||||
->append("locale", $this->getLocale())
|
||||
->append("conversationId", $this->getConversationId())
|
||||
->getRequestString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user